|
||||||||||
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 btreeMethod Detail |
---|
public int size()
size
in interface java.util.Collection
size
in class java.util.AbstractCollection
public boolean isEmpty()
isEmpty
in interface java.util.Collection
isEmpty
in class java.util.AbstractCollection
public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Collection
iterator
in class java.util.AbstractCollection
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |