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