org.joda.primitives.listiterator
Interface BooleanListIterator

All Superinterfaces:
BooleanIterator, Iterator<Boolean>, ListIterator<Boolean>, PrimitiveIterator<Boolean>, PrimitiveListIterator<Boolean>
All Known Implementing Classes:
AbstractBooleanList.PListIterator, ArrayBooleanListIterator

public interface BooleanListIterator
extends BooleanIterator, PrimitiveListIterator<Boolean>

Defines a list iterator over primitive boolean values.

Since:
1.0
Version:
CODE GENERATED
Author:
Stephen Colebourne, Jason Tiscione

Method Summary
 void add(boolean value)
          Adds the specified value to the list underlying the iterator at the current iteration index (optional operation).
 boolean previousBoolean()
          Gets the previous value from the iterator.
 void set(boolean value)
          Sets the last retrieved value from the iterator (optional operation).
 
Methods inherited from interface org.joda.primitives.iterator.BooleanIterator
nextBoolean
 
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

previousBoolean

boolean previousBoolean()
Gets the previous value from the iterator.

Returns:
the previous available value
Throws:
NoSuchElementException - if there are no more values available

add

void add(boolean value)
Adds the specified value to the list underlying the iterator at the current iteration index (optional operation).

Parameters:
value - the value to add
Throws:
IllegalStateException - if the iterator cannot be added to at present
UnsupportedOperationException - if not supported by this collection

set

void set(boolean value)
Sets the last retrieved value from the iterator (optional operation).

Parameters:
value - the value to set
Throws:
IllegalStateException - if the iterator cannot be set to at present
UnsupportedOperationException - if not supported by this collection


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