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