com.endeca.navigation
Class AssocNavigationRefs
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList
com.endeca.navigation.AssocNavigationRefs
- All Implemented Interfaces:
- Iterable, Collection, List
public class AssocNavigationRefs
- extends AbstractList
- implements List
Class encapsulating a group of value intersection references that all
share a similar set of dimensions. That is, every set of values in this
group are from the same set of dimensions.
Note: AssocNavigationRefs
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 i)
Gets the navigation reference at position i . |
DimValList |
getDimRoots()
Gets the roots of the set of dimensions that
all the intersections in this group share and are from. |
int |
size()
Gets the number of navigation refs there are in this associated
collection of navigation refs. |
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 |
getDimRoots
public DimValList getDimRoots()
- Gets the roots of the set of dimensions that
all the intersections in this group share and are from.
- Returns:
DimValList
containing the roots of the dimensions.
get
public Object get(int i)
- Gets the navigation reference at position
i
. Object
returned of type DimValList
.
- Specified by:
get
in interface List
- Specified by:
get
in class AbstractList
- Parameters:
i
- Position of navigation reference to return.
- Returns:
- Navigation reference at position i.
size
public int size()
- Gets the number of navigation refs there are in this associated
collection of navigation refs.
- Specified by:
size
in interface Collection
- Specified by:
size
in interface List
- Specified by:
size
in class AbstractCollection
- Returns:
- Number of navigation refs in this associated collection.
© 2003, 2012 Oracle and/or its affiliates. All rights reserved.
Oracle and/or its affiliates Confidential