plugins.big.bigsnakeutils.icy.gui.pair
Class Pair.Float
java.lang.Object
plugins.big.bigsnakeutils.icy.gui.pair.Pair
plugins.big.bigsnakeutils.icy.gui.pair.Pair.Float
- Enclosing class:
- Pair
public static class Pair.Float
- extends Pair
Float Pair (convenient class)
- Version:
- October 17, 2013
- Author:
- Julien Jacquemot
Method Summary |
Pair |
clone()
|
double |
getFirst()
Returns the first element of the pair. |
double |
getSecond()
Returns the second element of the pair. |
void |
setFirst(double first)
Set the first element of the pair. |
void |
setSecond(double second)
Set the second element of the pair. |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
first
public float first
second
public float second
Pair.Float
public Pair.Float()
Pair.Float
public Pair.Float(float first,
float second)
Pair.Float
public Pair.Float(Pair.Float other)
getFirst
public double getFirst()
- Description copied from class:
Pair
- Returns the first element of the pair.
- Specified by:
getFirst
in class Pair
getSecond
public double getSecond()
- Description copied from class:
Pair
- Returns the second element of the pair.
- Specified by:
getSecond
in class Pair
setFirst
public void setFirst(double first)
- Description copied from class:
Pair
- Set the first element of the pair.
- Specified by:
setFirst
in class Pair
setSecond
public void setSecond(double second)
- Description copied from class:
Pair
- Set the second element of the pair.
- Specified by:
setSecond
in class Pair
clone
public Pair clone()
- Specified by:
clone
in class Pair