|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.collections.primitives.decorators.ProxyIntIterator
org.apache.commons.collections.primitives.decorators.UnmodifiableIntIterator
| Field Summary | |
private IntIterator |
proxied
|
| Constructor Summary | |
(package private) |
UnmodifiableIntIterator(IntIterator iterator)
|
| Method Summary | |
protected IntIterator |
getIterator()
|
boolean |
hasNext()
Returns true iff I have more elements. |
int |
next()
Returns the next element in me. |
void |
remove()
Removes from my underlying collection the last element returned by me
(optional operation). |
static IntIterator |
wrap(IntIterator iterator)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private IntIterator proxied
| Constructor Detail |
UnmodifiableIntIterator(IntIterator iterator)
| Method Detail |
public void remove()
IntIteratorreturned by me
(optional operation).
protected IntIterator getIterator()
getIterator in class ProxyIntIteratorpublic static final IntIterator wrap(IntIterator iterator)
public boolean hasNext()
IntIteratortrue 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 IntIteratortrue iff I have more elementspublic int next()
IntIterator
next in interface IntIterator
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||