abstract class ProxyShortIterator extends java.lang.Object implements ShortIterator
Constructor and Description |
---|
ProxyShortIterator() |
Modifier and Type | Method and Description |
---|---|
protected abstract ShortIterator |
getIterator() |
boolean |
hasNext()
Returns
true iff I have more elements. |
short |
next()
Returns the next element in me.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
remove
public boolean hasNext()
ShortIterator
true
iff I have more elements.
(In other words, returns true
iff
a subsequent call to next
will return
an element rather than throwing an exception.)hasNext
in interface ShortIterator
true
iff I have more elementspublic short next()
ShortIterator
next
in interface ShortIterator
protected abstract ShortIterator getIterator()
Copyright (c) 2002-2003 - Apache Software Foundation