|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection
org.netbeans.mdr.persistence.btreeimpl.btreeindex.BtreeCollection
public class BtreeCollection
This is the read-only Collection interface to the set of values contained in a SinglevaluedBtree.
| Field Summary | |
|---|---|
protected Btree |
btree
|
| Constructor Summary | |
|---|---|
BtreeCollection(Btree btree)
Construct a Collection view of a btree. |
|
| Method Summary | |
|---|---|
boolean |
isEmpty()
|
java.util.Iterator |
iterator()
Returns an iterator on this BtreeCollection |
int |
size()
Returns the number of items in this btree |
| Methods inherited from class java.util.AbstractCollection |
|---|
add, addAll, clear, contains, containsAll, remove, removeAll, retainAll, 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 |
| Field Detail |
|---|
protected Btree btree
| Constructor Detail |
|---|
public BtreeCollection(Btree btree)
btree - the btree| Method Detail |
|---|
public 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.AbstractCollection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||