|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NamedList<E>
Extension to List
which allows access to members of the
list by name as well as by ordinal.
Method Summary | |
---|---|
E |
get(String name)
Retrieves a member by name. |
int |
indexOfName(String name)
Returns the position where a member of a given name is found, or -1 if the member is not present. |
Methods inherited from interface java.util.List |
---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
Method Detail |
---|
E get(String name)
name
- name of the element to return
List.get(int)
int indexOfName(String name)
name
- name of the element to return
List.indexOf(Object)
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |