public class CaseFunction<T extends Comparable<? super T>,V> extends Object implements org.eclipse.collections.api.block.function.Function<T,V>
| Constructor and Description |
|---|
CaseFunction() |
CaseFunction(org.eclipse.collections.api.block.function.Function<? super T,? extends V> newDefaultFunction) |
| Modifier and Type | Method and Description |
|---|---|
CaseFunction<T,V> |
addCase(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate,
org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
CaseFunction<T,V> |
setDefault(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
String |
toString() |
V |
valueOf(T argument) |
public CaseFunction<T,V> addCase(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate, org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
public CaseFunction<T,V> setDefault(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
public V valueOf(T argument)
valueOf in interface org.eclipse.collections.api.block.function.Function<T extends Comparable<? super T>,V>Copyright © 2004–2017. All rights reserved.