protected static class AbstractIntList.PListIterator extends Object implements IntListIterator
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractIntList.PListIterator(AbstractIntList list,
int start) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int value)
Adds the specified value to the list underlying the iterator at the
current iteration index (optional operation).
|
void |
add(Integer obj) |
boolean |
hasNext() |
boolean |
hasPrevious() |
boolean |
isModifiable()
Checks whether the iterator can currently be modified.
|
boolean |
isResettable()
Checks whether the iterator can be reset.
|
Integer |
next() |
int |
nextIndex() |
int |
nextInt()
Gets the next value from the iterator
|
Integer |
previous() |
int |
previousIndex() |
int |
previousInt()
Gets the previous value from the iterator.
|
void |
remove() |
void |
reset()
Resets the iterator back to its initial state (optional operation).
|
void |
set(int value)
Sets the last retrieved value from the iterator (optional operation).
|
void |
set(Integer obj) |
protected AbstractIntList.PListIterator(AbstractIntList list, int start)
public boolean hasNext()
public int nextInt()
IntIteratornextInt in interface IntIteratorpublic int nextIndex()
nextIndex in interface ListIterator<Integer>public boolean hasPrevious()
hasPrevious in interface ListIterator<Integer>public int previousInt()
IntListIteratorpreviousInt in interface IntListIteratorpublic Integer previous()
previous in interface ListIterator<Integer>public int previousIndex()
previousIndex in interface ListIterator<Integer>public void remove()
public void add(int value)
IntListIteratoradd in interface IntListIteratorvalue - the value to addpublic void add(Integer obj)
add in interface ListIterator<Integer>public void set(int value)
IntListIteratorset in interface IntListIteratorvalue - the value to setpublic void set(Integer obj)
set in interface ListIterator<Integer>public boolean isModifiable()
PrimitiveIteratorisModifiable in interface PrimitiveIterator<Integer>true if the modification methods of the iterator can be usedpublic boolean isResettable()
PrimitiveIteratorisResettable in interface PrimitiveIterator<Integer>true if the object can be resetpublic void reset()
PrimitiveIteratorreset in interface PrimitiveIterator<Integer>Copyright © 2005-2012 Joda.org. All Rights Reserved.