|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection<E> java.util.AbstractList com.endeca.navigation.RangeFilterList
public class RangeFilterList
Class that encapsulates a collection of range filters (RangeFilter
objects).
Field Summary |
---|
Fields inherited from class java.util.AbstractList |
---|
modCount |
Constructor Summary | |
---|---|
RangeFilterList()
Default constructor that creates an empty list. |
Method Summary | |
---|---|
void |
add(int index,
Object elementAt)
Inserts the specified RangeFilter at the specified position in
this list. |
Object |
get(int index)
Gets the RangeFilter at position index . |
Object |
remove(int index)
Removes the RangeFilter at the specified position in this list. |
Object |
set(int index,
Object elementAt)
Replaces the RangeFilter object at the specified
position in this list with the specified RangeFilter . |
int |
size()
Returns the number of elements in this list. |
Methods inherited from class java.util.AbstractList |
---|
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList |
Methods inherited from class java.util.AbstractCollection |
---|
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, removeAll, retainAll, subList, toArray, toArray |
Constructor Detail |
---|
public RangeFilterList()
Method Detail |
---|
public Object set(int index, Object elementAt)
RangeFilter
object at the specified
position in this list with the specified RangeFilter
.
set
in interface List
set
in class AbstractList
index
- Offset of the RangeFilter
to be replaced.elementAt
- RangeFilter
object to be set.
IndexOutOfBoundsException
- If index
is out of range.public void add(int index, Object elementAt)
RangeFilter
at the specified position in
this list. Shifts the element currently at that position (if any)
and any subsequent elements to the right (adds one to their indices).
add
in interface List
add
in class AbstractList
index
- Offset of the element.elementAt
- RangeFilter
object to be inserted.
IndexOutOfBoundsException
- If index
is out of range.public Object remove(int index)
RangeFilter
at the specified position in this list.
Shifts any subsequent elements to the left (subtracts one from
their indices). Returns the element that was removed from the list.
remove
in interface List
remove
in class AbstractList
index
- Offset of element.
RangeFilter
object previously at position index
.
IndexOutOfBoundsException
- If index
is out of range.public Object get(int index)
RangeFilter
at position index
.
get
in interface List
get
in class AbstractList
index
- Offset of element.
RangeFilter
object at position index
.
IndexOutOfBoundsException
- If index
is out of range.public int size()
size
in interface Collection
size
in interface List
size
in class AbstractCollection
RangeFilter
objects) in the list.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |