javatools.datatypes
Class PeekIterator.ElementaryPeekIterator<T>

java.lang.Object
  extended by javatools.datatypes.PeekIterator<T>
      extended by javatools.datatypes.PeekIterator.ElementaryPeekIterator<T>
All Implemented Interfaces:
java.io.Closeable, java.lang.Iterable<T>, java.util.Iterator<T>
Enclosing class:
PeekIterator<T>

public static class PeekIterator.ElementaryPeekIterator<T>
extends PeekIterator<T>

A Peek iterator with one single element


Nested Class Summary
 
Nested classes/interfaces inherited from class javatools.datatypes.PeekIterator
PeekIterator.ElementaryPeekIterator<T>, PeekIterator.SimplePeekIterator<T>
 
Field Summary
 
Fields inherited from class javatools.datatypes.PeekIterator
closed, initialized, next
 
Constructor Summary
PeekIterator.ElementaryPeekIterator(T element)
           
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class javatools.datatypes.PeekIterator
asList, asList, asSet, asSet, asSet, close, emptyIterator, hasNext, iterator, list, list, main, next, nextOrNull, numElements, numElements, peek, remove, toString, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PeekIterator.ElementaryPeekIterator

public PeekIterator.ElementaryPeekIterator(T element)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class PeekIterator<T>