public class SingletonIterator<T> extends Object implements Iterator<T>
SingletonIterator(T thing)
static <T> SingletonIterator<T>
create(T thing)
boolean
hasNext()
T
next()
void
remove()
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public SingletonIterator(T thing)
public static <T> SingletonIterator<T> create(T thing)
public boolean hasNext()
hasNext
Iterator<T>
public T next()
next
public void remove()
remove
Licenced under the Apache License, Version 2.0