|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openjena.atlas.iterator.SingletonIterator<T>
public class SingletonIterator<T>
| Constructor Summary | |
|---|---|
SingletonIterator(T thing)
|
|
| Method Summary | ||
|---|---|---|
static
|
create(T thing)
|
|
boolean |
hasNext()
|
|
java.util.Iterator<T> |
iterator()
|
|
T |
next()
|
|
void |
remove()
|
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SingletonIterator(T thing)
| Method Detail |
|---|
public static <T> SingletonIterator<T> create(T thing)
public boolean hasNext()
hasNext in interface java.util.Iterator<T>public T next()
next in interface java.util.Iterator<T>public void remove()
remove in interface java.util.Iterator<T>public java.util.Iterator<T> iterator()
iterator in interface java.lang.Iterable<T>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||