tl.lin.data.pair
Class PairOfObjectFloat<L extends Comparable<L>>
java.lang.Object
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>>
PairOfObjectFloat
public PairOfObjectFloat(L left,
float right)
PairOfObjectFloat
public PairOfObjectFloat()
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.