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