Class ObjectDoublePairImpl<T>
- java.lang.Object
-
- org.eclipse.collections.impl.tuple.primitive.ObjectDoublePairImpl<T>
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ObjectDoublePair<T>>
,ObjectDoublePair<T>
public class ObjectDoublePairImpl<T> extends java.lang.Object implements ObjectDoublePair<T>
This file was automatically generated from template file objectPrimitivePairImpl.stg- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private T
one
private static long
serialVersionUID
private double
two
-
Constructor Summary
Constructors Constructor Description ObjectDoublePairImpl(T newOne, double newTwo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ObjectDoublePair<T> that)
boolean
equals(java.lang.Object o)
T
getOne()
double
getTwo()
int
hashCode()
java.lang.String
toString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
one
private final T one
-
two
private final double two
-
-
Constructor Detail
-
ObjectDoublePairImpl
ObjectDoublePairImpl(T newOne, double newTwo)
-
-
Method Detail
-
getOne
public T getOne()
- Specified by:
getOne
in interfaceObjectDoublePair<T>
-
getTwo
public double getTwo()
- Specified by:
getTwo
in interfaceObjectDoublePair<T>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
compareTo
public int compareTo(ObjectDoublePair<T> that)
- Specified by:
compareTo
in interfacejava.lang.Comparable<T>
-
-