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