org.joda.primitives.list.impl
Class AbstractFloatList.PListIterator

java.lang.Object
  extended by org.joda.primitives.list.impl.AbstractFloatList.PListIterator
All Implemented Interfaces:
Iterator<Float>, ListIterator<Float>, FloatIterator, PrimitiveIterator<Float>, FloatListIterator, PrimitiveListIterator<Float>
Enclosing class:
AbstractFloatList

protected static class AbstractFloatList.PListIterator
extends Object
implements FloatListIterator

List iterator.


Constructor Summary
protected AbstractFloatList.PListIterator(AbstractFloatList list, int start)
           
 
Method Summary
 void add(float value)
          Adds the specified value to the list underlying the iterator at the current iteration index (optional operation).
 void add(Float obj)
           
 boolean hasNext()
           
 boolean hasPrevious()
           
 boolean isModifiable()
          Checks whether the iterator can currently be modified.
 boolean isResettable()
          Checks whether the iterator can be reset.
 Float next()
           
 float nextFloat()
          Gets the next value from the iterator
 int nextIndex()
           
 Float previous()
           
 float previousFloat()
          Gets the previous value from the iterator.
 int previousIndex()
           
 void remove()
           
 void reset()
          Resets the iterator back to its initial state (optional operation).
 void set(float value)
          Sets the last retrieved value from the iterator (optional operation).
 void set(Float obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFloatList.PListIterator

protected AbstractFloatList.PListIterator(AbstractFloatList list,
                                          int start)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<Float>
Specified by:
hasNext in interface ListIterator<Float>

nextFloat

public float nextFloat()
Description copied from interface: FloatIterator
Gets the next value from the iterator

Specified by:
nextFloat in interface FloatIterator
Returns:
the next available value

next

public Float next()
Specified by:
next in interface Iterator<Float>
Specified by:
next in interface ListIterator<Float>

nextIndex

public int nextIndex()
Specified by:
nextIndex in interface ListIterator<Float>

hasPrevious

public boolean hasPrevious()
Specified by:
hasPrevious in interface ListIterator<Float>

previousFloat

public float previousFloat()
Description copied from interface: FloatListIterator
Gets the previous value from the iterator.

Specified by:
previousFloat in interface FloatListIterator
Returns:
the previous available value

previous

public Float previous()
Specified by:
previous in interface ListIterator<Float>

previousIndex

public int previousIndex()
Specified by:
previousIndex in interface ListIterator<Float>

remove

public void remove()
Specified by:
remove in interface Iterator<Float>
Specified by:
remove in interface ListIterator<Float>

add

public void add(float value)
Description copied from interface: FloatListIterator
Adds the specified value to the list underlying the iterator at the current iteration index (optional operation).

Specified by:
add in interface FloatListIterator
Parameters:
value - the value to add

add

public void add(Float obj)
Specified by:
add in interface ListIterator<Float>

set

public void set(float value)
Description copied from interface: FloatListIterator
Sets the last retrieved value from the iterator (optional operation).

Specified by:
set in interface FloatListIterator
Parameters:
value - the value to set

set

public void set(Float obj)
Specified by:
set in interface ListIterator<Float>

isModifiable

public boolean isModifiable()
Description copied from interface: PrimitiveIterator
Checks whether the iterator can currently be modified.

Specified by:
isModifiable in interface PrimitiveIterator<Float>
Returns:
true if the modification methods of the iterator can be used

isResettable

public boolean isResettable()
Description copied from interface: PrimitiveIterator
Checks whether the iterator can be reset.

Specified by:
isResettable in interface PrimitiveIterator<Float>
Returns:
true if the object can be reset

reset

public void reset()
Description copied from interface: PrimitiveIterator
Resets the iterator back to its initial state (optional operation).

Specified by:
reset in interface PrimitiveIterator<Float>


Copyright © 2005-2010 Joda.org. All Rights Reserved.