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

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractSet
          extended by org.netbeans.mdr.persistence.btreeimpl.btreeindex.BtreeKeySet
All Implemented Interfaces:
java.lang.Iterable, java.util.Collection, java.util.Set

public class BtreeKeySet
extends java.util.AbstractSet

Read-only Set view of the distinct keys contained in a Btree.

Version:
1.0
Author:
Dana Bergen

Nested Class Summary
 class BtreeKeySet.BtreeKeyIterator
          Iterator over a BtreeKeySet
 
Method Summary
 boolean isEmpty()
           
 java.util.Iterator iterator()
           
 int size()
           
 
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
 
Methods inherited from class java.util.AbstractCollection
add, addAll, clear, contains, containsAll, remove, retainAll, toArray, toArray, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, remove, retainAll, toArray, toArray
 

Method Detail

size

public int size()
Specified by:
size in interface java.util.Collection
Specified by:
size in interface java.util.Set
Specified by:
size in class java.util.AbstractCollection

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface java.util.Collection
Specified by:
isEmpty in interface java.util.Set
Overrides:
isEmpty in class java.util.AbstractCollection

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface java.lang.Iterable
Specified by:
iterator in interface java.util.Collection
Specified by:
iterator in interface java.util.Set
Specified by:
iterator in class java.util.AbstractCollection


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.