public class BtreeCollection
extends java.util.AbstractCollection
| Constructor and Description |
|---|
BtreeCollection(Btree btree)
Construct a Collection view of a btree.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEmpty() |
java.util.Iterator |
iterator()
Returns an iterator on this BtreeCollection
|
int |
size()
Returns the number of items in this btree
|
add, addAll, clear, contains, containsAll, remove, removeAll, retainAll, toArray, toArray, toStringprotected Btree btree
public BtreeCollection(Btree btree)
btree - the btreepublic int size()
size in interface java.util.Collectionsize in class java.util.AbstractCollectionpublic boolean isEmpty()
isEmpty in interface java.util.CollectionisEmpty in class java.util.AbstractCollectionpublic java.util.Iterator iterator()
iterator in interface java.lang.Iterableiterator in interface java.util.Collectioniterator in class java.util.AbstractCollectionCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.