org.netbeans.mdr.persistence.btreeimpl.btreeindex
Class BtreeCollection

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byorg.netbeans.mdr.persistence.btreeimpl.btreeindex.BtreeCollection
All Implemented Interfaces:
java.util.Collection

public class BtreeCollection
extends java.util.AbstractCollection

This is the read-only Collection interface to the set of values contained in a SinglevaluedBtree.

Version:
1.0
Author:
Dana Bergen

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

btree

protected Btree btree
Constructor Detail

BtreeCollection

public BtreeCollection(Btree btree)
Construct a Collection view of a btree.

Parameters:
btree - the btree
Method Detail

size

public int size()
Returns the number of items in this btree


isEmpty

public boolean isEmpty()

iterator

public java.util.Iterator iterator()
Returns an iterator on this BtreeCollection



Copyright © 2005 Apache Software Foundation. All Rights Reserved.