endrov.util.collection
Class PersistentGrowingCollection<E>
java.lang.Object
endrov.util.collection.PersistentGrowingCollection<E>
public class PersistentGrowingCollection<E>
- extends java.lang.Object
Persistent growing collection of objects. Unlike a linked list, the elements are not ordered.
This makes is very cheap to implement O(1) addition of other collections.
Elements can exist multiple times.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistentGrowingCollection
public PersistentGrowingCollection(E a)
PersistentGrowingCollection
public PersistentGrowingCollection(E a,
PersistentGrowingCollection<E> b)
PersistentGrowingCollection
public PersistentGrowingCollection(PersistentGrowingCollection<E> a,
PersistentGrowingCollection<E> b)
size
public static <E> int size(PersistentGrowingCollection<E> c)
iterator
public static <E> java.util.Iterator<E> iterator(PersistentGrowingCollection<E> This)