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