Class MultiRowFirstValue<E>

  • Type Parameters:
    E - The value type

    public class MultiRowFirstValue<E>
    extends MultiRowValue<E>
    An object representing an entry in a MultiRow - the first instance of this value in a rowspan.
    Author:
    Matthew Wakeling
    • Constructor Detail

      • MultiRowFirstValue

        public MultiRowFirstValue​(E value,
                                  int rowspan)
        Constructor.
        Parameters:
        value - the value in the results
        rowspan - the number of rows that this value spans
    • Method Detail

      • getValue

        public E getValue()
        Returns the value of the entry.
        Specified by:
        getValue in class MultiRowValue<E>
        Returns:
        an object
      • getRowspan

        public int getRowspan()
        Returns the rowspan.
        Returns:
        an integer
      • getMrlv

        public MultiRowLaterValue getMrlv()
        Returns the MultiRowLaterValue corresponding to this object.
        Returns:
        a MultiRowLaterValue object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

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