|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplugins.big.bigsnakeutils.icy.gui.pair.Pair
public abstract class Pair
Abstract class describing a pair of numbers.
Nested Class Summary | |
---|---|
static class |
Pair.Double
Double Pair (convenient class) |
static class |
Pair.Float
Float Pair (convenient class) |
static class |
Pair.Integer
Integer Pair (convenient class) |
Constructor Summary | |
---|---|
Pair()
|
Method Summary | |
---|---|
abstract Pair |
clone()
|
boolean |
equals(java.lang.Object o)
|
abstract double |
getFirst()
Returns the first element of the pair. |
abstract double |
getSecond()
Returns the second element of the pair. |
abstract void |
setFirst(double first)
Set the first element of the pair. |
void |
setPair(double first,
double second)
Set the values of the pair. |
void |
setPair(Pair other)
Set the values of the pair. |
abstract 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 |
Constructor Detail |
---|
public Pair()
Method Detail |
---|
public abstract double getFirst()
public abstract double getSecond()
public abstract void setFirst(double first)
public abstract void setSecond(double second)
public void setPair(double first, double second)
public void setPair(Pair other)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public abstract Pair clone()
clone
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |