public static class MultiFunction.Impl<R> extends PrintableFunction<List<? super Object>,R> implements MultiFunction<R>
MultiFunction.Builder<R>, MultiFunction.Impl<R>
Evaluable.Composite<T>, Evaluable.Conjunction<T>, Evaluable.CurriedContextPred, Evaluable.Disjunction<T>, Evaluable.Func<T>, Evaluable.LeafPred<T>, Evaluable.Negation<T>, Evaluable.Pred<T>, Evaluable.StreamPred<E>, Evaluable.Transformation<T,R>
CurriedFunction.Impl
Identifiable.Base
Modifier | Constructor and Description |
---|---|
protected |
Impl(Object creator,
List<Object> args,
Supplier<String> formatter,
String name,
Function<? super List<? super Object>,? extends R> function,
List<Class<?>> parameterTypes) |
Modifier and Type | Method and Description |
---|---|
int |
arity()
Returns the number of parameters that this function can take.
|
String |
name()
Returns a name of this function.
|
Class<?> |
parameterType(int i)
The expected type of the
i th parameter. |
andThen, applyFunction, clone, compose, explainActual, explainOutputExpectation, head, isSquashable, makeTrivial, parameterType, returnType, tail, toString, unwrap
args, creator, equals, hashCode, identityObject
finalize, getClass, notify, notifyAll, wait, wait, wait
returnType
accept
apply, applyLast, applyNext, hasNext, isValidArg, requireHasNext, validateArg
explainActual, explainInputActualValue, explainOutputExpectation
argsOf, createIdentity, creatorOf, defaultEquals, defaultHashCode, formatObjectName
public String name()
MultiFunction
Returns a name of this function.
name
in interface MultiFunction<R>
public int arity()
MultiFunction
Returns the number of parameters that this function can take.
arity
in interface MultiFunction<R>
public Class<?> parameterType(int i)
MultiFunction
The expected type of the i
th parameter.
parameterType
in interface MultiFunction<R>
i
- The parameter index.i
th parameter.Copyright © 2024. All rights reserved.