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, subList
addAll, containsAll, remove, removeAll, retainAll, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addAll, containsAll, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray
parallelStream, removeIf, stream
public Object getFirst()
public void setFirst(Object first)
public Object getSecond()
public void setSecond(Object second)
public int size()
size
in interface Collection
size
in interface List
size
in class AbstractCollection
public boolean isEmpty()
isEmpty
in interface Collection
isEmpty
in interface List
isEmpty
in class AbstractCollection
public boolean contains(Object object)
contains
in interface Collection
contains
in interface List
contains
in class AbstractCollection
public Object get(int index)
get
in interface List
get
in class AbstractList
public Object set(int index, Object object)
set
in interface List
set
in class AbstractList
public Object[] toArray()
toArray
in interface Collection
toArray
in interface List
toArray
in class AbstractCollection
See 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.