Class TypeSwitch3.FunctionBuilder<I0,I1,I2,O>
- java.lang.Object
-
- com.g2forge.alexandria.java.type.function.TypeSwitch3.FunctionBuilder<I0,I1,I2,O>
-
-
Field Summary
Fields Modifier and Type Field Description protected IFunction3<? super I0,? super I1,? super I2,? extends O>
fallback
protected Collection<com.g2forge.alexandria.java.type.function.TypedFunction3<?,?,?,O>>
functions
-
Constructor Summary
Constructors Constructor Description FunctionBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T0,T1,T2>
TypeSwitch3.FunctionBuilder<I0,I1,I2,O>add(Class<T0> type0, Class<T1> type1, Class<T2> type2, IConsumer3<? super T0,? super T1,? super T2> consumer, O output)
<T0,T1,T2>
TypeSwitch3.FunctionBuilder<I0,I1,I2,O>add(Class<T0> type0, Class<T1> type1, Class<T2> type2, IFunction3<? super T0,? super T1,? super T2,? extends O> function)
IFunction3<I0,I1,I2,O>
build()
TypeSwitch3.FunctionBuilder<I0,I1,I2,O>
fallback(IFunction3<? super I0,? super I1,? super I2,? extends O> function)
TypeSwitch3.FunctionBuilder<I0,I1,I2,O>
with(IConsumer1<? super TypeSwitch3.FunctionBuilder<I0,I1,I2,O>> consumer)
-
-
-
Field Detail
-
functions
protected final Collection<com.g2forge.alexandria.java.type.function.TypedFunction3<?,?,?,O>> functions
-
fallback
protected IFunction3<? super I0,? super I1,? super I2,? extends O> fallback
-
-
Method Detail
-
add
public <T0,T1,T2> TypeSwitch3.FunctionBuilder<I0,I1,I2,O> add(Class<T0> type0, Class<T1> type1, Class<T2> type2, IConsumer3<? super T0,? super T1,? super T2> consumer, O output)
-
add
public <T0,T1,T2> TypeSwitch3.FunctionBuilder<I0,I1,I2,O> add(Class<T0> type0, Class<T1> type1, Class<T2> type2, IFunction3<? super T0,? super T1,? super T2,? extends O> function)
-
build
public IFunction3<I0,I1,I2,O> build()
-
fallback
public TypeSwitch3.FunctionBuilder<I0,I1,I2,O> fallback(IFunction3<? super I0,? super I1,? super I2,? extends O> function)
-
with
public TypeSwitch3.FunctionBuilder<I0,I1,I2,O> with(IConsumer1<? super TypeSwitch3.FunctionBuilder<I0,I1,I2,O>> consumer)
-
-