我知道,可以通过撰写一份职能来做到这一点,但我很想知道,是否迅速和方便地从驻 Java的代表处装出清单。
我举一个小例子:
List<String> atts = new LinkedList<String>();
atts.add("one"); atts.add("two"); atts.add("three”);
String inString = atts.toString()); //E.g. store string representation to DB
...
//Then we can re-create the list from its string representation?
LinkedLisst<String> atts2 = new LinkedList<String>();
Thnx!