protected static class RandomAccessBooleanList.RandomAccessBooleanSubList extends RandomAccessBooleanList implements BooleanList
RandomAccessBooleanList.RandomAccessBooleanListIterator, RandomAccessBooleanList.RandomAccessBooleanSubList
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
boolean element)
Unsupported in this implementation.
|
boolean |
get(int index)
Returns the value of the element at the specified position
within me.
|
boolean |
removeElementAt(int index)
Unsupported in this implementation.
|
boolean |
set(int index,
boolean element)
Unsupported in this implementation.
|
int |
size()
Returns the number of elements I contain.
|
add, addAll, equals, getModCount, hashCode, incrModCount, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList, toString
addAll, clear, contains, containsAll, isEmpty, removeAll, removeElement, retainAll, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList
addAll, clear, contains, containsAll, isEmpty, removeAll, removeElement, retainAll, toArray, toArray
public boolean get(int index)
BooleanList
get
in interface BooleanList
get
in class RandomAccessBooleanList
index
- the index of the element to returnpublic boolean removeElementAt(int index)
RandomAccessBooleanList
removeElementAt
in interface BooleanList
removeElementAt
in class RandomAccessBooleanList
index
- the index of the element to removepublic boolean set(int index, boolean element)
RandomAccessBooleanList
set
in interface BooleanList
set
in class RandomAccessBooleanList
index
- the index of the element to changeelement
- the value to be stored at the specified positionpublic void add(int index, boolean element)
RandomAccessBooleanList
add
in interface BooleanList
add
in class RandomAccessBooleanList
index
- the index at which to insert the elementelement
- the value to insertpublic int size()
BooleanCollection
size
in interface BooleanCollection
size
in class RandomAccessBooleanList
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.