| java.lang.Object org.josql.incubator.ObjectIndex
ObjectIndex | public class ObjectIndex implements Comparator(Code) | | This is an experimental class aimed at producing an index across a
collection of homogeneous objects. It should be noted here that it is the "sorting"
of the elements in the List of objects that takes nearly all the time here.
Use the
ObjectIndex.sort() method yourself to only perform sort once. Everytime you
add an object however the sort status of the List of objects will be invalidated and
have to be re-sorted before you have retrieve the objects again.
|
isSyncOnAdd | public boolean isSyncOnAdd()(Code) | | |
setSyncOnAdd | public void setSyncOnAdd(boolean v)(Code) | | |
|
|