public class PairOfObjectShort<L extends Comparable<L>> extends Object implements Comparable<PairOfObjectShort<L>>
| Constructor and Description |
|---|
PairOfObjectShort() |
PairOfObjectShort(L left,
short right) |
| Modifier and Type | Method and Description |
|---|---|
PairOfObjectInt<L> |
clone()
Creates a shallow clone of this object; the left element itself is not cloned.
|
int |
compareTo(PairOfObjectShort<L> that) |
L |
getLeftElement() |
short |
getRightElement() |
void |
set(L left,
short right) |
void |
setLeftElement(L left) |
void |
setRightElement(short right) |
String |
toString()
Generates human-readable String representation of this pair.
|
public PairOfObjectShort(L left, short right)
public PairOfObjectShort()
public L getLeftElement()
public short getRightElement()
public void set(L left, short right)
public void setLeftElement(L left)
public void setRightElement(short right)
public String toString()
public PairOfObjectInt<L> clone()
public int compareTo(PairOfObjectShort<L> that)
compareTo in interface Comparable<PairOfObjectShort<L extends Comparable<L>>>Copyright © 2014. All rights reserved.