org.neodatis.odb.impl.core.query.list.objects
Class InMemoryBTreeCollection<T>

java.lang.Object
  extended by org.neodatis.odb.impl.core.query.list.objects.AbstractBTreeCollection<T>
      extended by org.neodatis.odb.impl.core.query.list.objects.InMemoryBTreeCollection<T>
All Implemented Interfaces:
java.io.Serializable, java.lang.Iterable<T>, java.util.Collection<T>, Objects<T>

public class InMemoryBTreeCollection<T>
extends AbstractBTreeCollection<T>

An implementation of an ordered Collection based on a BTree implementation that holds all objects in memory

Author:
osmadja
See Also:
Serialized Form

Constructor Summary
InMemoryBTreeCollection()
           
InMemoryBTreeCollection(int size)
           
InMemoryBTreeCollection(int size, OrderByConstants orderByType)
           
 
Method Summary
 IBTree buildTree(int degree)
           
 
Methods inherited from class org.neodatis.odb.impl.core.query.list.objects.AbstractBTreeCollection
add, addAll, addWithKey, addWithKey, clear, contains, containsAll, getFirst, getOrderByType, getTree, hasNext, isEmpty, iterator, iterator, next, remove, removeAll, removeByKey, reset, retainAll, size, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Collection
equals, hashCode
 

Constructor Detail

InMemoryBTreeCollection

public InMemoryBTreeCollection(int size)

InMemoryBTreeCollection

public InMemoryBTreeCollection(int size,
                               OrderByConstants orderByType)

InMemoryBTreeCollection

public InMemoryBTreeCollection()
Method Detail

buildTree

public IBTree buildTree(int degree)
Specified by:
buildTree in class AbstractBTreeCollection<T>