Klasse MultiDoubleMediator

java.lang.Object
ch.nolix.core.errorcontrol.validator.MultiArgumentMediator<Double>
ch.nolix.core.errorcontrol.validator.MultiDoubleMediator

public final class MultiDoubleMediator extends MultiArgumentMediator<Double>
A multi double mediator is not mutable.
Autor:
Silvan Wyss
  • Konstruktordetails

    • MultiDoubleMediator

      public MultiDoubleMediator(Iterable<Double> arguments)
      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.