Home | History | Annotate | Download | only in serializers

Lines Matching refs:collection

40 import java.util.Collection;
55 Collection collection;
57 collection = (Collection)c.newInstance();
59 log.log(Level.FINE, "[Serializer][???] Could not determine collection type. Using ArrayList.");
60 collection = new ArrayList(length);
63 if (length == 0) return (T)collection;
71 collection.add(serializer.readObject(data, clazz));
75 collection.add(Serializer.readClassAndObject(data));
78 return (T)collection;
82 Collection collection = (Collection)object;
83 int length = collection.size();
88 Iterator it = collection.iterator();
104 for (Object elem : collection) {
109 for (Object elem : collection) {