org.apache.commons.collections.primitives
Class RandomAccessBooleanList.RandomAccessBooleanSubList

java.lang.Object
  extended by org.apache.commons.collections.primitives.AbstractBooleanCollection
      extended by org.apache.commons.collections.primitives.RandomAccessBooleanList
          extended by org.apache.commons.collections.primitives.RandomAccessBooleanList.RandomAccessBooleanSubList
All Implemented Interfaces:
BooleanCollection, BooleanList
Enclosing class:
RandomAccessBooleanList

protected static class RandomAccessBooleanList.RandomAccessBooleanSubList
extends RandomAccessBooleanList
implements BooleanList


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.commons.collections.primitives.RandomAccessBooleanList
RandomAccessBooleanList.RandomAccessBooleanListIterator, RandomAccessBooleanList.RandomAccessBooleanSubList
 
Method Summary
 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.
 
Methods inherited from class org.apache.commons.collections.primitives.RandomAccessBooleanList
add, addAll, equals, getModCount, hashCode, incrModCount, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList, toString
 
Methods inherited from class org.apache.commons.collections.primitives.AbstractBooleanCollection
addAll, clear, contains, containsAll, isEmpty, removeAll, removeElement, retainAll, toArray, toArray
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.apache.commons.collections.primitives.BooleanList
add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList
 
Methods inherited from interface org.apache.commons.collections.primitives.BooleanCollection
addAll, clear, contains, containsAll, isEmpty, removeAll, removeElement, retainAll, toArray, toArray
 

Method Detail

get

public boolean get(int index)
Description copied from interface: BooleanList
Returns the value of the element at the specified position within me.

Specified by:
get in interface BooleanList
Specified by:
get in class RandomAccessBooleanList
Parameters:
index - the index of the element to return
Returns:
the value of the element at the specified position

removeElementAt

public boolean removeElementAt(int index)
Description copied from class: RandomAccessBooleanList
Unsupported in this implementation.

Specified by:
removeElementAt in interface BooleanList
Overrides:
removeElementAt in class RandomAccessBooleanList
Parameters:
index - the index of the element to remove
Returns:
the value of the element that was removed

set

public boolean set(int index,
                   boolean element)
Description copied from class: RandomAccessBooleanList
Unsupported in this implementation.

Specified by:
set in interface BooleanList
Overrides:
set in class RandomAccessBooleanList
Parameters:
index - the index of the element to change
element - the value to be stored at the specified position
Returns:
the value previously stored at the specified position

add

public void add(int index,
                boolean element)
Description copied from class: RandomAccessBooleanList
Unsupported in this implementation.

Specified by:
add in interface BooleanList
Overrides:
add in class RandomAccessBooleanList
Parameters:
index - the index at which to insert the element
element - the value to insert

size

public int size()
Description copied from interface: BooleanCollection
Returns the number of elements I contain.

Specified by:
size in interface BooleanCollection
Specified by:
size in class RandomAccessBooleanList
Returns:
the number of elements I contain


Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.