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