Klasse MultiDoubleMediator
java.lang.Object
ch.nolix.core.errorcontrol.validator.MultiArgumentMediator<Double>
ch.nolix.core.errorcontrol.validator.MultiDoubleMediator
A multi double mediator is not mutable.
- Version:
- 2017-01-01
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungMultiDoubleMediator(double[] arguments) Creates a new multi double mediator for the given arguments.MultiDoubleMediator(Iterable<Double> arguments) Creates a new multi double mediator for the given arguments. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidareBiggerThan(double value) voidvoidvoidareSmallerThan(double value) Von Klasse geerbte Methoden ch.nolix.core.errorcontrol.validator.MultiArgumentMediator
areNotNull, fulfill, getStoredArguments
-
Konstruktordetails
-
MultiDoubleMediator
Creates a new multi double mediator for the given arguments.- Parameter:
arguments-- Löst aus:
ArgumentIsNullException- if the given arguments is null.
-
MultiDoubleMediator
public MultiDoubleMediator(double[] arguments) Creates a new multi double mediator for the given arguments.- Parameter:
arguments-- Löst aus:
ArgumentIsNullException- if the given arguments is null.
-
-
Methodendetails
-
areBiggerThan
public void areBiggerThan(double value) - Parameter:
value-- Löst aus:
ArgumentIsNullException- if one of the arguments of this multi double mediator is null.InvalidArgumentException- if one of the arguments of this multi double mediator is not bigger than the given value.
-
areNegative
public void areNegative()- Löst aus:
ArgumentIsNullException- if one of the arguments of this multi double mediator is null.NonNegativeArgumentException- if one of the arguments of this multi double mediator is not positive.
-
arePositive
public void arePositive()- Löst aus:
ArgumentIsNullException- if one of the arguments of this multi double mediator is null.NonPositiveArgumentException- if one of the arguments of this multi double mediator is not positive.
-
areSmallerThan
public void areSmallerThan(double value) - Parameter:
value-- Löst aus:
ArgumentIsNullException- if one of the arguments of this multi double mediator is null.InvalidArgumentException- if one of the argument of this multi double mediator is not smaller than the given value.
-