public static class ListTools.Doublet extends AbstractList implements Serializable
modCount
Constructor and Description |
---|
ListTools.Doublet() |
ListTools.Doublet(Object a,
Object b) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Object |
get(int indx) |
Object |
getA() |
Object |
getB() |
Iterator |
getIterator() |
int |
hashCode() |
void |
set(Object a,
Object b) |
void |
setA(Object a) |
void |
setB(Object b) |
int |
size() |
add, add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
public void setA(Object a)
public void setB(Object b)
public Object getA()
public Object getB()
public int size()
size
in interface Collection
size
in interface List
size
in class AbstractCollection
public Object get(int indx)
get
in interface List
get
in class AbstractList
public Iterator getIterator()
public int hashCode()
hashCode
in interface Collection
hashCode
in interface List
hashCode
in class AbstractList
public boolean equals(Object o)
equals
in interface Collection
equals
in interface List
equals
in class AbstractList