com.sleepycat.je.utilint
Class TinyHashSet.SingleElementIterator

java.lang.Object
  extended by com.sleepycat.je.utilint.TinyHashSet.SingleElementIterator
All Implemented Interfaces:
Iterator
Enclosing class:
TinyHashSet

public static class TinyHashSet.SingleElementIterator
extends Object
implements Iterator


Field Summary
(package private)  boolean returnedTheObject
           
(package private)  Object theObject
           
(package private)  TinyHashSet theSet
           
 
Constructor Summary
TinyHashSet.SingleElementIterator(Object o, TinyHashSet theSet)
           
 
Method Summary
 boolean hasNext()
           
 Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

theObject

Object theObject

theSet

TinyHashSet theSet

returnedTheObject

boolean returnedTheObject
Constructor Detail

TinyHashSet.SingleElementIterator

TinyHashSet.SingleElementIterator(Object o,
                                  TinyHashSet theSet)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator

next

public Object next()
Specified by:
next in interface Iterator

remove

public void remove()
Specified by:
remove in interface Iterator


Copyright 2004,2008 Oracle. All rights reserved.