protected static class ArrayShortCollection.PIterator extends java.lang.Object implements ShortIterator
| Modifier | Constructor and Description |
|---|---|
protected |
PIterator(ArrayShortCollection coll) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
boolean |
isModifiable()
Checks whether the iterator can currently be modified.
|
boolean |
isResettable()
Checks whether the iterator can be reset.
|
java.lang.Short |
next() |
short |
nextShort()
Gets the next value from the iterator
|
void |
remove() |
void |
reset()
Resets the iterator back to its initial state (optional operation).
|
protected PIterator(ArrayShortCollection coll)
public boolean hasNext()
hasNext in interface java.util.Iterator<java.lang.Short>public short nextShort()
ShortIteratornextShort in interface ShortIteratorpublic java.lang.Short next()
next in interface java.util.Iterator<java.lang.Short>public void remove()
remove in interface java.util.Iterator<java.lang.Short>public boolean isModifiable()
PrimitiveIteratorisModifiable in interface PrimitiveIterator<java.lang.Short>true if the modification methods of the iterator can be usedpublic boolean isResettable()
PrimitiveIteratorisResettable in interface PrimitiveIterator<java.lang.Short>true if the object can be resetpublic void reset()
PrimitiveIteratorreset in interface PrimitiveIterator<java.lang.Short>Copyright © 2005–2018 Joda.org. All rights reserved.