org.biojava.utils
Class ListTools.Doublet

java.lang.Object
  extended byjava.util.AbstractCollection
      extended byjava.util.AbstractList
          extended byorg.biojava.utils.ListTools.Doublet
All Implemented Interfaces:
Collection, List, Serializable
Enclosing class:
ListTools

public static class ListTools.Doublet
extends AbstractList
implements Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
ListTools.Doublet()
           
ListTools.Doublet(Object a, Object b)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, 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
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
 

Constructor Detail

ListTools.Doublet

public ListTools.Doublet()

ListTools.Doublet

public ListTools.Doublet(Object a,
                         Object b)
Method Detail

set

public void set(Object a,
                Object b)

setA

public void setA(Object a)

setB

public void setB(Object b)

getA

public Object getA()

getB

public Object getB()

size

public int size()
Specified by:
size in interface List

get

public Object get(int indx)
Specified by:
get in interface List

getIterator

public Iterator getIterator()

hashCode

public int hashCode()
Specified by:
hashCode in interface List

equals

public boolean equals(Object o)
Specified by:
equals in interface List