public class SingletonIterator<T> extends Object implements Iterator<T>, Iterable<T>
SingletonIterator(T thing)
static <T> SingletonIterator<T>
create(T thing)
boolean
hasNext()
Iterator<T>
iterator()
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
public T next()
next
public void remove()
remove
public Iterator<T> iterator()
iterator
Iterable<T>
Licenced under the Apache License, Version 2.0