java.io.Serializable
, BooleanToObjectFunction<V>
public class BooleanCaseFunction<V> extends java.lang.Object implements BooleanToObjectFunction<V>
Constructor | Description |
---|---|
BooleanCaseFunction() |
|
BooleanCaseFunction(BooleanToObjectFunction<? extends V> newDefaultFunction) |
Modifier and Type | Method | Description |
---|---|---|
BooleanCaseFunction<V> |
addCase(BooleanPredicate predicate,
BooleanToObjectFunction<? extends V> function) |
|
BooleanCaseFunction<V> |
setDefault(BooleanToObjectFunction<? extends V> function) |
|
java.lang.String |
toString() |
|
V |
valueOf(boolean argument) |
public BooleanCaseFunction()
public BooleanCaseFunction(BooleanToObjectFunction<? extends V> newDefaultFunction)
public BooleanCaseFunction<V> addCase(BooleanPredicate predicate, BooleanToObjectFunction<? extends V> function)
public BooleanCaseFunction<V> setDefault(BooleanToObjectFunction<? extends V> function)
public V valueOf(boolean argument)
valueOf
in interface BooleanToObjectFunction<V>
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2004–2018. All rights reserved.