|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.util.iterator.ArrayIterator<T>
public class ArrayIterator<T>
An Iterator for arrays.
Constructor Summary | |
---|---|
ArrayIterator(T[] array)
Constructs an iterator over the members of an array. |
Method Summary | |
---|---|
boolean |
hasNext()
|
T |
next()
|
void |
remove()
Not supported. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArrayIterator(T[] array)
array
- Must be an array.Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<T>
public T next() throws java.util.NoSuchElementException
next
in interface java.util.Iterator<T>
java.util.NoSuchElementException
public void remove()
remove
in interface java.util.Iterator<T>
java.lang.UnsupportedOperationException
- Always.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |