tl.lin.data.pair
Class PairOfObjectShort<L extends Comparable<L>>

java.lang.Object
  extended by tl.lin.data.pair.PairOfObjectShort<L>
All Implemented Interfaces:
Comparable<PairOfObjectShort<L>>

public class PairOfObjectShort<L extends Comparable<L>>
extends Object
implements Comparable<PairOfObjectShort<L>>


Constructor Summary
PairOfObjectShort()
           
PairOfObjectShort(L left, short right)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PairOfObjectShort

public PairOfObjectShort(L left,
                         short right)

PairOfObjectShort

public PairOfObjectShort()
Method Detail

getLeftElement

public L getLeftElement()

getRightElement

public short getRightElement()

set

public void set(L left,
                short right)

setLeftElement

public void setLeftElement(L left)

setRightElement

public void setRightElement(short right)

toString

public String toString()
Generates human-readable String representation of this pair.

Overrides:
toString in class Object

clone

public PairOfObjectInt<L> clone()
Creates a shallow clone of this object; the left element itself is not cloned.

Overrides:
clone in class Object

compareTo

public int compareTo(PairOfObjectShort<L> that)
Specified by:
compareTo in interface Comparable<PairOfObjectShort<L extends Comparable<L>>>


Copyright © 2013. All Rights Reserved.