Class WellPosition

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<WellPosition>

    @JsonObject("WellPosition")
    public class WellPosition
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Comparable<WellPosition>
    Identifier of a well on a screening plate, contains row and column number.
    See Also:
    Serialized Form
    • Constructor Detail

      • WellPosition

        public WellPosition​(int wellRow,
                            int wellColumn)
    • Method Detail

      • parseWellPositions

        public static java.util.List<WellPosition> parseWellPositions​(java.lang.String wellPositionDescriptions)
        Parses a white-space separated list of well position descriptions. A well position description is of the form <row number>.<column number>.
        Throws:
        java.lang.IllegalArgumentException - in case of parsing error.
        Since:
        1.4
      • parseWellPosition

        public static WellPosition parseWellPosition​(java.lang.String wellDescription)
        Parses a well position description of the form <row number>.<column number>.
        Throws:
        java.lang.IllegalArgumentException - in case of parsing error.
        Since:
        1.4
      • getWellRow

        public int getWellRow()
        well row, starts from 1
      • getWellColumn

        public int getWellColumn()
        well column, starts from 1
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • compareTo

        public int compareTo​(WellPosition other)
        Specified by:
        compareTo in interface java.lang.Comparable<WellPosition>