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