public class OrderedPair extends AbstractList implements RandomAccess, Serializable
modCount| Constructor and Description |
|---|
OrderedPair() |
OrderedPair(Object first,
Object second) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(Object object) |
Object |
get(int index) |
Object |
getFirst() |
Object |
getSecond() |
boolean |
isEmpty() |
Object |
set(int index,
Object object) |
void |
setFirst(Object first) |
void |
setSecond(Object second) |
int |
size() |
Object[] |
toArray() |
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, subListaddAll, containsAll, remove, removeAll, retainAll, toArray, toStringpublic Object getFirst()
public void setFirst(Object first)
public Object getSecond()
public void setSecond(Object second)
public int size()
size in interface Collectionsize in interface Listsize in class AbstractCollectionpublic boolean isEmpty()
isEmpty in interface CollectionisEmpty in interface ListisEmpty in class AbstractCollectionpublic boolean contains(Object object)
contains in interface Collectioncontains in interface Listcontains in class AbstractCollectionpublic Object get(int index)
get in interface Listget in class AbstractListpublic Object set(int index, Object object)
set in interface Listset in class AbstractListpublic Object[] toArray()
toArray in interface CollectiontoArray in interface ListtoArray in class AbstractCollectionSee the Plexus project home, hosted by SourceForge.
Copyright ? 1994-2006, by Phoenix Software Technologists, Inc. and others. All Rights Reserved. Use is subject to license terms.