public class WellList extends Object implements Iterable<WellIndex>, Comparable<WellList>
| Constructor and Description |
|---|
WellList()
Creates a new well list object;
|
WellList(Collection<WellIndex> collection)
Creates a new well list from a collection of indices.
|
WellList(Collection<WellIndex> collection,
String label)
Creates a new well list from a collection of indices and a label.
|
WellList(String label)
Creates a new well list object with the label.
|
WellList(WellIndex[] array)
Creates a new well list from an array.
|
WellList(WellIndex[] array,
String label)
Creates a new well list from an array of indices and a label.
|
WellList(WellList list)
Creates a new well list from an existing well list.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(WellIndex index)
Adds a well index.
|
int |
compareTo(WellList list)
Plates are ordered using the size, data type, label and number of sets.
|
boolean |
equals(Object object)
Lists are equivalent if they contain the same wells.
|
boolean |
equalsSet(WellSet set)
Returns true if the well set contains the same wells.
|
int |
hashCode()
Hash code uses the label and the indices in the list.
|
Set<WellIndex> |
indices()
Returns the list of indices.
|
Iterator<WellIndex> |
iterator()
Returns a well index iterator.
|
String |
label()
Returns the list name.
|
void |
remove(WellIndex index)
Removes a well index.
|
void |
setLabel(String label)
Sets the list name.
|
int |
size()
Returns the size of the list.
|
String |
toString()
Return a string containing the label and indices.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic WellList()
public WellList(String label)
label - public WellList(Collection<WellIndex> collection)
Collection - collection of well indicespublic WellList(Collection<WellIndex> collection, String label)
Collection - collection of well indicesString - the list labelpublic WellList(WellIndex[] array)
WellIndex[] - array of well indicespublic WellList(WellIndex[] array, String label)
WellIndex[] - array of well indicesString - the list labelpublic WellList(WellList list)
WellList - the well listpublic void add(WellIndex index)
WellIndex - the well indexpublic void remove(WellIndex index)
WellIndex - the well indexpublic void setLabel(String label)
String - list namepublic String label()
public int size()
public boolean equalsSet(WellSet set)
WellSet - the well setpublic String toString()
public boolean equals(Object object)
public int hashCode()
public int compareTo(WellList list) throws ClassCastException
compareTo in interface Comparable<WellList>PlateInteger - the plate for comparisonClassCastExceptionCopyright © 2017. All rights reserved.