kodo.util
Interface ProxyCollection
- All Superinterfaces:
- Collection, Proxy
- public interface ProxyCollection
- extends Proxy, Collection
Interface implemented by all built-in proxies on Collection
types.
Methods inherited from interface java.util.Collection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
newInstance
public ProxyCollection newInstance(Class elementType,
Comparator compare,
boolean trackChanges)
- This method should return a new proxy of the same concrete type as the
implementing class. Used by the
ProxyManager
factories: one
template instance of each type is created for the purpose of producing
new instances via this method. Overcomes the performance penalties of
reflection.
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.