Enum Constant and Description |
---|
Wells12 |
Wells24 |
Wells384 |
Wells48 |
Wells6 |
Wells96 |
Modifier and Type | Method and Description |
---|---|
Well[][] |
get2DArrayOfWells()
Returns a copy of the 2D-array representing the wells contained in this plate.
|
int[] |
getColumns()
Return the range of column as an array of int.
|
String[] |
getColumnsAsStrings()
Return the range of columns as a String array starting with column 1.
|
int[] |
getIndexesForColumn(int column)
Return a list of positional indexes for the wells belonging to a given column, when wells are stored in a 1D array.
|
int[] |
getIndexesForRow(char row)
Return a list of positional indexes for the wells belonging to the specified row, when wells are stored in a 1D array..
|
String[] |
getListOfWellIds()
Return a list of Strings with the well labels.
|
Well[] |
getListOfWells()
Returns the list of wells as a 1D array.
|
List<String> |
getListOfWellsAsStrings()
Deprecated.
use getListOfWellIds
|
int |
getNumberOfColumns() |
int |
getNumberOfRows() |
int |
getNumberOfWells()
Return the number of wells in this plate.
|
char |
getRowChar(int row)
Return the character for the given row-index (1-based).
|
char[] |
getRows()
Return a char array with the row letters.
|
String |
getRowsAsString()
Return the row letters as a single string.
|
String[] |
getRowsAsStrings()
Return a String array with the row letters.
|
Well |
getWell(int row,
int column)
Return the wellId for the well at position [row][column] with 0-based indexes.
|
String |
getWellId(int row,
int column)
Return the wellId for the well at position [row][column] with 0-based indexes.
|
static Plate |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Plate[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Plate Wells6
public static final Plate Wells12
public static final Plate Wells24
public static final Plate Wells48
public static final Plate Wells96
public static final Plate Wells384
public static Plate[] values()
for (Plate c : Plate.values()) System.out.println(c);
public static Plate valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic char[] getRows()
public String getRowsAsString()
public String[] getRowsAsStrings()
public int[] getColumns()
public int getNumberOfWells()
public int getNumberOfColumns()
public int getNumberOfRows()
public Well[][] get2DArrayOfWells()
public Well[] getListOfWells()
public String[] getColumnsAsStrings()
public char getRowChar(int row)
row
- between 1 and the number of rows in the plateIndexOutOfBoundsException
- if row<1 or row>getNumberOfRows()
.@Deprecated public List<String> getListOfWellsAsStrings()
public Well getWell(int row, int column)
public String getWellId(int row, int column)
public String[] getListOfWellIds()
public int[] getIndexesForRow(char row) throws IllegalArgumentException
row
- The character corresponding to the row of interest ex:'A'IllegalArgumentException
public int[] getIndexesForColumn(int column) throws IllegalArgumentException
column
- index for the column of interest, between 1 and nColumns (columns are 1-based).IllegalArgumentException