ELEMENTTYPE - The type of object to iterate.@NotThreadSafe public final class SingleElementIterator<ELEMENTTYPE> extends Object implements Iterator<ELEMENTTYPE>
| Constructor and Description |
|---|
SingleElementIterator(ELEMENTTYPE aElement) |
public SingleElementIterator(@Nullable ELEMENTTYPE aElement)
public boolean hasNext()
hasNext in interface Iterator<ELEMENTTYPE>@Nullable public ELEMENTTYPE next()
next in interface Iterator<ELEMENTTYPE>@UnsupportedOperation public void remove()
remove in interface Iterator<ELEMENTTYPE>Copyright © 2006–2014 phloc systems. All rights reserved.