public class CaseFunction<T extends Comparable<? super T>,V> extends Object implements Function<T,V>
Constructor and Description |
---|
CaseFunction() |
CaseFunction(Function<? super T,? extends V> newDefaultFunction) |
Modifier and Type | Method and 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) |
String |
toString() |
V |
valueOf(T argument) |
Copyright © 2004–2016. All rights reserved.