ELEMENTTYPE - The type of object to iterate.@Immutable public 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 © 2014–2015 Philip Helger. All rights reserved.