@Beta public static class IfFunctions.IfFunctionBuilder<I,O> extends IfFunctions.IfFunction<I,O>
Modifier and Type | Method and Description |
---|---|
IfFunctions.IfFunction<I,O> |
build() |
IfFunctions.IfFunctionBuilder<I,O> |
defaultApply(com.google.common.base.Function<? super I,? extends O> defaultFunction) |
IfFunctions.IfFunctionBuilder<I,O> |
defaultGet(com.google.common.base.Supplier<? extends O> defaultSupplier) |
IfFunctions.IfFunctionBuilder<I,O> |
defaultValue(O defaultValue) |
IfFunctions.IfFunctionBuilderApplying<I,O> |
ifEquals(I test) |
IfFunctions.IfFunctionBuilderApplying<I,O> |
ifNotEquals(I test) |
IfFunctions.IfFunctionBuilderApplying<I,O> |
ifPredicate(com.google.common.base.Predicate<I> test) |
apply, toString
public IfFunctions.IfFunction<I,O> build()
public IfFunctions.IfFunctionBuilderApplying<I,O> ifPredicate(com.google.common.base.Predicate<I> test)
public IfFunctions.IfFunctionBuilderApplying<I,O> ifEquals(I test)
public IfFunctions.IfFunctionBuilderApplying<I,O> ifNotEquals(I test)
public IfFunctions.IfFunctionBuilder<I,O> defaultValue(O defaultValue)
public IfFunctions.IfFunctionBuilder<I,O> defaultGet(com.google.common.base.Supplier<? extends O> defaultSupplier)
public IfFunctions.IfFunctionBuilder<I,O> defaultApply(com.google.common.base.Function<? super I,? extends O> defaultFunction)