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

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

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


Constructor Summary
PairOfObjectDouble()
           
PairOfObjectDouble(L left, double right)
           
 
Method Summary
 PairOfObjectDouble<L> clone()
          Creates a shallow clone of this object; the left element itself is not cloned.
 int compareTo(PairOfObjectDouble<L> that)
           
 L getLeftElement()
           
 double getRightElement()
           
 void set(L left, double right)
           
 void setLeftElement(L left)
           
 void setRightElement(double 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

PairOfObjectDouble

public PairOfObjectDouble(L left,
                          double right)

PairOfObjectDouble

public PairOfObjectDouble()
Method Detail

getLeftElement

public L getLeftElement()

getRightElement

public double getRightElement()

set

public void set(L left,
                double right)

setLeftElement

public void setLeftElement(L left)

setRightElement

public void setRightElement(double right)

toString

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

Overrides:
toString in class Object

clone

public PairOfObjectDouble<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(PairOfObjectDouble<L> that)
Specified by:
compareTo in interface Comparable<PairOfObjectDouble<L extends Comparable<L>>>


Copyright © 2013. All Rights Reserved.