java.io.Serializable
, java.lang.Comparable<LongShortPair>
, LongShortPair
public class LongShortPairImpl extends java.lang.Object implements LongShortPair
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(LongShortPair that) |
|
boolean |
equals(java.lang.Object o) |
|
long |
getOne() |
|
short |
getTwo() |
|
int |
hashCode() |
|
java.lang.String |
toString() |
public long getOne()
getOne
in interface LongShortPair
public short getTwo()
getTwo
in interface LongShortPair
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public int compareTo(LongShortPair that)
compareTo
in interface java.lang.Comparable<LongShortPair>
Copyright © 2004–2017. All rights reserved.