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.ImplIdentifiable.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
ith parameter. |
andThen, applyFunction, clone, compose, explainActual, explainOutputExpectation, head, isSquashable, makeTrivial, parameterType, returnType, tail, toString, unwrapargs, creator, equals, hashCode, identityObjectfinalize, getClass, notify, notifyAll, wait, wait, waitreturnTypeacceptapply, applyLast, applyNext, hasNext, isValidArg, requireHasNext, validateArgexplainActual, explainInputActualValue, explainOutputExpectationargsOf, createIdentity, creatorOf, defaultEquals, defaultHashCode, formatObjectNamepublic String name()
MultiFunctionReturns a name of this function.
name in interface MultiFunction<R>public int arity()
MultiFunctionReturns the number of parameters that this function can take.
arity in interface MultiFunction<R>public Class<?> parameterType(int i)
MultiFunctionThe expected type of the ith parameter.
parameterType in interface MultiFunction<R>i - The parameter index.ith parameter.Copyright © 2024. All rights reserved.