|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList
com.endeca.navigation.ERecSearchList
public class ERecSearchList
Class that encapsulates a collection of ERecSearch objects,
each of which represents a record search.
ERecSearchList objects are returned from the
MDEX Engine by the ENEQuery.getNavERecSearches() method.
The ENEQuery.setNavERecSearches(ERecSearchList) method will set
an ERecSearchList list of record searches to perform on
the records of a navigation query.
Both methods are also available in the UrlENEQuery class.
If required by an application, an ERecSearchList object
can be created with the default constructor and the list can then
be populated with ERecSearch objects by using
the add(int,Object) method.
| Field Summary |
|---|
| Fields inherited from class java.util.AbstractList |
|---|
modCount |
| Constructor Summary | |
|---|---|
ERecSearchList()
Default constructor that creates an empty ERecSearchList list. |
|
| Method Summary | |
|---|---|
void |
add(int index,
Object elementAt)
Inserts the specified ERecSearch object at the specified position in
this list. |
Object |
get(int index)
Gets the ERecSearch object at position index. |
Object |
remove(int index)
Removes the ERecSearch object at the specified position in this list. |
Object |
set(int index,
Object elementAt)
Replaces the ERecSearch at the specified position in this list with
a new ERecSearch. |
int |
size()
Returns the number of ERecSearch objects in this ERecSearchList. |
| 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 ERecSearchList()
ERecSearchList list.
| Method Detail |
|---|
public Object set(int index,
Object elementAt)
ERecSearch at the specified position in this list with
a new ERecSearch.
set in interface Listset in class AbstractListindex - offset of the ERecSearch object to be set.elementAt - the ERecSearch object to be set.
IndexOutOfBoundsException - if the index is out of range.
public void add(int index,
Object elementAt)
ERecSearch object 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 Listadd in class AbstractListindex - the offset of the ERecSearch object to be inserted.elementAt - the ERecSearch object to be inserted.
IndexOutOfBoundsException - If the index is out of range.public Object remove(int index)
ERecSearch object at the specified position in this list.
Shifts any subsequent elements to the left (subtracts one from
their indices). Returns the ERecSearch object that was removed from the list.
remove in interface Listremove in class AbstractListindex - the offset of the ERecSearch to be removed.
ERecSearch object previously at position index.
IndexOutOfBoundsException - If the index is out of range.public Object get(int index)
ERecSearch object at position index. Object
returned is of type ERecSearch.
get in interface Listget in class AbstractListindex - the offset of the ERecSearch object to be returned.
ERecSearch object that is the element at position index
IndexOutOfBoundsException - if the index is out of range.public int size()
ERecSearch objects in this ERecSearchList.
size in interface Collectionsize in interface Listsize in class AbstractCollectionERecSearch objects in the ERecSearchList.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||