Class DoubleFloatPairImpl
- java.lang.Object
-
- org.eclipse.collections.impl.tuple.primitive.DoubleFloatPairImpl
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DoubleFloatPair>,DoubleFloatPair
public class DoubleFloatPairImpl extends java.lang.Object implements DoubleFloatPair
This file was automatically generated from template file primitivePrimitivePairImpl.stg- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private doubleoneprivate static longserialVersionUIDprivate floattwo
-
Constructor Summary
Constructors Constructor Description DoubleFloatPairImpl(double newOne, float newTwo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(DoubleFloatPair that)booleanequals(java.lang.Object o)doublegetOne()floatgetTwo()inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
one
private final double one
-
two
private final float two
-
-
Method Detail
-
getOne
public double getOne()
- Specified by:
getOnein interfaceDoubleFloatPair
-
getTwo
public float getTwo()
- Specified by:
getTwoin interfaceDoubleFloatPair
-
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(DoubleFloatPair that)
- Specified by:
compareToin interfacejava.lang.Comparable<DoubleFloatPair>
-
-