Klasse MultiArgumentMediator<A>

java.lang.Object
ch.nolix.core.errorcontrol.validator.MultiArgumentMediator<A>
Typparameter:
A - is the type of the arguments of a multi argument mediator.
Bekannte direkte Unterklassen:
MultiDoubleMediator, MultiLongMediator, MultiStringMediator

public class MultiArgumentMediator<A> extends Object
A multi argument mediator is an mediator for several arguments of the same type. A multi argument mediator is not mutable.
Version:
2017-01-01
Autor:
Silvan Wyss
  • Methodendetails

    • areNotNull

      public final void areNotNull()
      Löst aus:
      ArgumentIsNullException - if one of the arguments of this multi argument mediator is null.
    • fulfill

      public final void fulfill(Predicate<A> condition)
      Parameter:
      condition -
      Löst aus:
      ArgumentIsNullException - if the given condition is null.
      InvalidArgumentException - if an argument of this argument container does not fulfill the given condition.
    • getStoredArguments

      protected final Iterable<A> getStoredArguments()
      Gibt zurück:
      the arguments of this multi argument mediator.