Class ObjectLongPairImpl<T>

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

    public class ObjectLongPairImpl<T>
    extends java.lang.Object
    implements ObjectLongPair<T>
    This file was automatically generated from template file objectPrimitivePairImpl.stg
    See Also:
    Serialized Form
    • Field Detail

      • one

        private final T one
      • two

        private final long two
    • Constructor Detail

      • ObjectLongPairImpl

        ObjectLongPairImpl​(T newOne,
                           long newTwo)
    • Method Detail

      • 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
      • compareTo

        public int compareTo​(ObjectLongPair<T> that)
        Specified by:
        compareTo in interface java.lang.Comparable<T>