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