org.apache.commons.collections.primitives.decorators
abstract class ProxyIntIterator extends java.lang.Object implements IntIterator
Constructor and Description |
---|
ProxyIntIterator() |
Modifier and Type | Method and Description |
---|---|
protected abstract IntIterator |
getIterator() |
boolean |
hasNext()
Returns
true iff I have more elements. |
int |
next()
Returns the next element in me.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
remove
public boolean hasNext()
IntIterator
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 IntIterator
true
iff I have more elementspublic int next()
IntIterator
next
in interface IntIterator
protected abstract IntIterator getIterator()
Copyright (c) 2002-2003 - Apache Software Foundation