Class Tuple1<T1>

    • Constructor Detail

      • Tuple1

        public Tuple1​(T1 element1)
        Constructs a new Tuple with the supplied elements.
    • Method Detail

      • getElement1

        public T1 getElement1()
        Returns the 1st element of this tuple.
        Returns:
        the 1st element of this tuple
      • setElement1

        public void setElement1​(T1 element1)
        Sets the 1st element of this tuple.
      • size

        public int size()
        Description copied from interface: Tuple
        Returns the number of elements of this tuple.
        Specified by:
        size in interface Tuple
        Returns:
        the number of elements of this tuple
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object