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