com.sleepycat.je.utilint
Class TinyHashSet.SingleElementIterator<T>

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

public static class TinyHashSet.SingleElementIterator<T>
extends Object
implements Iterator<T>


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

Field Detail

theObject

T theObject

theSet

TinyHashSet<T> theSet

returnedTheObject

boolean returnedTheObject
Constructor Detail

TinyHashSet.SingleElementIterator

TinyHashSet.SingleElementIterator(T o,
                                  TinyHashSet<T> theSet)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<T>

next

public T next()
Specified by:
next in interface Iterator<T>

remove

public void remove()
Specified by:
remove in interface Iterator<T>


Copyright (c) 2004-2010 Oracle. All rights reserved.