org.neodatis.odb.impl.core.query.list.values
Class InMemoryBTreeCollectionForValues

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

public class InMemoryBTreeCollectionForValues
extends AbstractBTreeCollection<ObjectValues>
implements Values

An ordered Collection to hold values (not objects) based on a BTree implementation. It holds all values in memory.

Author:
osmadja
See Also:
Serialized Form

Constructor Summary
InMemoryBTreeCollectionForValues()
           
InMemoryBTreeCollectionForValues(int size)
           
InMemoryBTreeCollectionForValues(int size, OrderByConstants orderByType)
           
 
Method Summary
 IBTree buildTree(int degree)
           
 ObjectValues nextValues()
           
 
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 org.neodatis.odb.Values
addWithKey, addWithKey, getFirst, hasNext, iterator, reset
 
Methods inherited from interface org.neodatis.odb.Objects
next, removeByKey
 
Methods inherited from interface java.util.Collection
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
 

Constructor Detail

InMemoryBTreeCollectionForValues

public InMemoryBTreeCollectionForValues(int size)

InMemoryBTreeCollectionForValues

public InMemoryBTreeCollectionForValues(int size,
                                        OrderByConstants orderByType)

InMemoryBTreeCollectionForValues

public InMemoryBTreeCollectionForValues()
Method Detail

buildTree

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

nextValues

public ObjectValues nextValues()
Specified by:
nextValues in interface Values