Class ObjectLongPairImpl<T>
- java.lang.Object
-
- org.eclipse.collections.impl.tuple.primitive.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 Summary
Fields Modifier and Type Field Description private Toneprivate static longserialVersionUIDprivate longtwo
-
Constructor Summary
Constructors Constructor Description ObjectLongPairImpl(T newOne, long newTwo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(ObjectLongPair<T> that)booleanequals(java.lang.Object o)TgetOne()longgetTwo()inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
one
private final T one
-
two
private final long two
-
-
Constructor Detail
-
ObjectLongPairImpl
ObjectLongPairImpl(T newOne, long newTwo)
-
-
Method Detail
-
getOne
public T getOne()
- Specified by:
getOnein interfaceObjectLongPair<T>
-
getTwo
public long getTwo()
- Specified by:
getTwoin interfaceObjectLongPair<T>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
compareTo
public int compareTo(ObjectLongPair<T> that)
- Specified by:
compareToin interfacejava.lang.Comparable<T>
-
-