Class MultiArgumentMediator<A>
java.lang.Object
ch.nolix.base.validation.multi.AbstractMultiArgumentMediator<A>
ch.nolix.base.validation.multi.MultiArgumentMediator<A>
- Type Parameters:
A- is the type of the arguments of a multi argument mediator.
A
MultiArgumentMediator is not mutable.- Author:
- Silvan Wyss
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> MultiArgumentMediator<T> forArguments(Iterable<T> arguments) static <T> MultiArgumentMediator<T> forArguments(T[] arguments) Methods inherited from class AbstractMultiArgumentMediator
areNotNull
-
Method Details
-
forArguments
- Type Parameters:
T- is the type of the arguments of the createdMultiArgumentMediator.- Parameters:
arguments-- Returns:
- a new
MultiArgumentMediatorfor the given arguments. - Throws:
RuntimeException- if the given arguments is null.
-
forArguments
- Type Parameters:
T- is the type of the arguments of the createdMultiArgumentMediator.- Parameters:
arguments-- Returns:
- a new
MultiArgumentMediatorfor the given arguments. - Throws:
RuntimeException- if the given arguments is null.
-