|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.joda.primitives.list.impl.AbstractLongList.PListIterator
protected static class AbstractLongList.PListIterator
List iterator.
Constructor Summary | |
---|---|
protected |
AbstractLongList.PListIterator(AbstractLongList list,
int start)
|
Method Summary | |
---|---|
void |
add(long value)
Adds the specified value to the list underlying the iterator at the current iteration index (optional operation). |
void |
add(Long obj)
|
boolean |
hasNext()
|
boolean |
hasPrevious()
|
boolean |
isModifiable()
Checks whether the iterator can currently be modified. |
boolean |
isResettable()
Checks whether the iterator can be reset. |
Long |
next()
|
int |
nextIndex()
|
long |
nextLong()
Gets the next value from the iterator |
Long |
previous()
|
int |
previousIndex()
|
long |
previousLong()
Gets the previous value from the iterator. |
void |
remove()
|
void |
reset()
Resets the iterator back to its initial state (optional operation). |
void |
set(long value)
Sets the last retrieved value from the iterator (optional operation). |
void |
set(Long obj)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractLongList.PListIterator(AbstractLongList list, int start)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface Iterator<Long>
hasNext
in interface ListIterator<Long>
public long nextLong()
LongIterator
nextLong
in interface LongIterator
public Long next()
next
in interface Iterator<Long>
next
in interface ListIterator<Long>
public int nextIndex()
nextIndex
in interface ListIterator<Long>
public boolean hasPrevious()
hasPrevious
in interface ListIterator<Long>
public long previousLong()
LongListIterator
previousLong
in interface LongListIterator
public Long previous()
previous
in interface ListIterator<Long>
public int previousIndex()
previousIndex
in interface ListIterator<Long>
public void remove()
remove
in interface Iterator<Long>
remove
in interface ListIterator<Long>
public void add(long value)
LongListIterator
add
in interface LongListIterator
value
- the value to addpublic void add(Long obj)
add
in interface ListIterator<Long>
public void set(long value)
LongListIterator
set
in interface LongListIterator
value
- the value to setpublic void set(Long obj)
set
in interface ListIterator<Long>
public boolean isModifiable()
PrimitiveIterator
isModifiable
in interface PrimitiveIterator<Long>
true
if the modification methods of the iterator can be usedpublic boolean isResettable()
PrimitiveIterator
isResettable
in interface PrimitiveIterator<Long>
true
if the object can be resetpublic void reset()
PrimitiveIterator
reset
in interface PrimitiveIterator<Long>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |