|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ShortListIterator
Defines a list iterator over primitive short values.
| Method Summary | |
|---|---|
void |
add(short value)
Adds the specified value to the list underlying the iterator at the current iteration index (optional operation). |
short |
previousShort()
Gets the previous value from the iterator. |
void |
set(short value)
Sets the last retrieved value from the iterator (optional operation). |
| Methods inherited from interface org.joda.primitives.iterator.ShortIterator |
|---|
nextShort |
| Methods inherited from interface org.joda.primitives.iterator.PrimitiveIterator |
|---|
isModifiable, isResettable, reset |
| Methods inherited from interface org.joda.primitives.iterator.PrimitiveIterator |
|---|
isModifiable, isResettable, reset |
| Methods inherited from interface java.util.ListIterator |
|---|
add, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, set |
| Method Detail |
|---|
short previousShort()
NoSuchElementException - if there are no more values availablevoid add(short value)
value - the value to add
IllegalStateException - if the iterator cannot be added to at present
UnsupportedOperationException - if not supported by this collectionvoid set(short value)
value - the value to set
IllegalStateException - if the iterator cannot be set to at present
UnsupportedOperationException - if not supported by this collection
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||