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

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

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


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

PairOfObjectFloat

public PairOfObjectFloat(L left,
                         float right)

PairOfObjectFloat

public PairOfObjectFloat()
Method Detail

getLeftElement

public L getLeftElement()

getRightElement

public float getRightElement()

set

public void set(L left,
                float right)

setLeftElement

public void setLeftElement(L left)

setRightElement

public void setRightElement(float right)

toString

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

Overrides:
toString in class Object

clone

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


Copyright © 2013. All Rights Reserved.