plugins.big.bigsnakeutils.icy.gui.pair
Class Pair.Double
java.lang.Object
plugins.big.bigsnakeutils.icy.gui.pair.Pair
plugins.big.bigsnakeutils.icy.gui.pair.Pair.Double
- Enclosing class:
- Pair
public static class Pair.Double
- extends Pair
Double 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 double first
second
public double second
Pair.Double
public Pair.Double()
Pair.Double
public Pair.Double(double first,
double second)
Pair.Double
public Pair.Double(Pair.Double 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