Package me.hsgamer.hscore.builder
Class Builder.FunctionElement<R,V>
java.lang.Object
me.hsgamer.hscore.builder.Builder.FunctionElement<R,V>
- Type Parameters:
R
- the type of the raw valueV
- the type of the final value
- All Implemented Interfaces:
Function<AbstractMap.SimpleEntry<String,
R>, Optional<V>>
public static class Builder.FunctionElement<R,V>
extends Object
implements Function<AbstractMap.SimpleEntry<String,R>,Optional<V>>
The function element
-
Constructor Summary
ConstructorDescriptionFunctionElement
(BiFunction<String, R, V> function, String... names) Create a new function element -
Method Summary
-
Constructor Details
-
FunctionElement
Create a new function element- Parameters:
function
- the functionnames
- the names or the aliases of the function
-
-
Method Details