Class CaseFunction<T extends Comparable<? super T>,V>
- java.lang.Object
-
- org.eclipse.collections.impl.block.function.CaseFunction<T,V>
-
- All Implemented Interfaces:
Serializable,Function<T,V>,Function<T,V>
public class CaseFunction<T extends Comparable<? super T>,V> extends Object implements Function<T,V>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CaseFunction()CaseFunction(Function<? super T,? extends V> newDefaultFunction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CaseFunction<T,V>addCase(Predicate<? super T> predicate, Function<? super T,? extends V> function)CaseFunction<T,V>setDefault(Function<? super T,? extends V> function)StringtoString()VvalueOf(T argument)
-