Serializable
, Comparable<T>
, ShortObjectPair<T>
public class ShortObjectPairImpl<T> extends Object implements ShortObjectPair<T>
Modifier and Type | Method | Description |
---|---|---|
int |
compareTo(ShortObjectPair<T> that) |
|
boolean |
equals(Object o) |
|
short |
getOne() |
|
T |
getTwo() |
|
int |
hashCode() |
|
String |
toString() |
public short getOne()
getOne
in interface ShortObjectPair<T>
public T getTwo()
getTwo
in interface ShortObjectPair<T>
public int compareTo(ShortObjectPair<T> that)
compareTo
in interface Comparable<T>
Copyright © 2004–2019. All rights reserved.