- All Implemented Interfaces:
Iterator<T>
public class SingletonIterator<T>
extends Object
implements Iterator<T>
Simple read-only iterator that iterators over one specific item, passed
in as constructor argument.
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
SingletonIterator
Deprecated.
-