public interface BooleanListIterator extends BooleanIterator, PrimitiveListIterator<Boolean>
boolean
values.Modifier and Type | Method and Description |
---|---|
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).
|
nextBoolean
isModifiable, isResettable, reset
add, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, set
boolean previousBoolean()
NoSuchElementException
- if there are no more values availablevoid add(boolean value)
value
- the value to addIllegalStateException
- if the iterator cannot be added to at presentUnsupportedOperationException
- if not supported by this collectionvoid set(boolean value)
value
- the value to setIllegalStateException
- if the iterator cannot be set to at presentUnsupportedOperationException
- if not supported by this collectionCopyright © 2005-2012 Joda.org. All Rights Reserved.