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