org.openjena.atlas.iterator
Class NullIterator<T>
java.lang.Object
org.openjena.atlas.iterator.NullIterator<T>
- All Implemented Interfaces:
- Iterable<T>, Iterator<T>
public class NullIterator<T>
- extends Object
- implements Iterator<T>, Iterable<T>
Null Iterator - also guaranteed sharable and immutable
NullIterator
public NullIterator()
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<T>
next
public T next()
- Specified by:
next
in interface Iterator<T>
remove
public void remove()
- Specified by:
remove
in interface Iterator<T>
iterator
public Iterator<T> iterator()
- Specified by:
iterator
in interface Iterable<T>
Licenced under the Apache License, Version 2.0