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