com.endeca.navigation
Class NavigationRefsList
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList
com.endeca.navigation.NavigationRefsList
- All Implemented Interfaces:
- Iterable, Collection, List
public class NavigationRefsList
- extends AbstractList
- implements List
List of navigation refinement values exposed as a java.util.List. Each
element of the list is a dimension value list (DimValList object) referencing
a navigation state.
Note: NavigationRefsList objects are unmodifiable and therefore do not support
any modification operations (such as add, remove, and clear) that are inherited.
Attempting to modify the object may result in a runtime exception
(UnsupportedOperationException).
|
Method Summary |
Object |
get(int index)
Gets the dimension value list at position index. |
int |
size()
Returns the number of dimension value lists in this NavigationRefsList. |
| Methods inherited from class java.util.AbstractList |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList |
| Methods inherited from interface java.util.List |
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, subList, toArray, toArray |
size
public int size()
- Returns the number of dimension value lists in this
NavigationRefsList.
- Specified by:
size in interface Collection- Specified by:
size in interface List- Specified by:
size in class AbstractCollection
- Returns:
- Number of encapsulated dimension value lists (
DimValList objects).
get
public Object get(int index)
- Gets the dimension value list at position
index.
- Specified by:
get in interface List- Specified by:
get in class AbstractList
- Returns:
- Dimension value list (
DimValList object) at
position index.
- Throws:
IndexOutOfBoundsException - If index is out of range.
© 2008 Endeca Technologies, Inc.
Endeca Confidential