Package ch.nolix.core.container.pair
Klasse FloatingPointNumberPair
java.lang.Object
ch.nolix.core.container.pair.FloatingPointNumberPair
A
FloatingPointNumberPair
contains two floating point numbers. FPN =
floating pointer number. A FloatingPointNumberPair
is not mutable.- Version:
- 2016-08-01
- Autor:
- Silvan Wyss
-
Feldübersicht
-
Konstruktorübersicht
KonstruktorBeschreibungCreates a newFloatingPointNumberPair
with default values.FloatingPointNumberPair
(double value1, double value2) Creates a newFloatingPointNumberPair
with the given values. -
Methodenübersicht
-
Felddetails
-
DEFAULT_VALUE
public static final double DEFAULT_VALUE- Siehe auch:
-
-
Konstruktordetails
-
FloatingPointNumberPair
public FloatingPointNumberPair()Creates a newFloatingPointNumberPair
with default values. -
FloatingPointNumberPair
public FloatingPointNumberPair(double value1, double value2) Creates a newFloatingPointNumberPair
with the given values.- Parameter:
value1
-value2
-
-
-
Methodendetails
-
equals
} -
getValue1
public double getValue1()- Gibt zurück:
- value 1 of the current
FloatingPointNumberPair
.
-
getValue2
public double getValue2()- Gibt zurück:
- value 2 of the current
FloatingPointNumberPair
.
-
hashCode
public int hashCode()} -
toString
}
-