P1 - the type of parameter the function applied toR - the type of return value of the functionpublic static interface Lang.MultiplicableFunction<P1,R> extends Lang.Function<P1,R>
A Lang.Function function that support times(int) operation
| Modifier and Type | Method and Description |
|---|---|
Lang.MultiplicableFunction<P1,R> |
times(int n)
Returns a function with
n times factor specified. |
applyLang.MultiplicableFunction<P1,R> times(int n)
Returns a function with n times factor specified. When the function returned applied to a param, the effect is the same as apply this function n times to the same param
n - specify the times factorCopyright © 2014–2019 OSGL (Open Source General Library). All rights reserved.