| Package | Description |
|---|---|
| com.gs.collections.impl.block.factory |
This package contains factory implementations for
Function, Predicate, SerializableComparator and Procedure. |
| com.gs.collections.impl.block.function |
This package contains implementations of
Function, Function0 and Function2. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends java.lang.Comparable<? super T>,V> |
Functions.caseDefault(com.gs.collections.api.block.function.Function<? super T,? extends V> defaultFunction) |
static <T extends java.lang.Comparable<? super T>,V> |
Functions.caseDefault(com.gs.collections.api.block.function.Function<? super T,? extends V> defaultFunction,
com.gs.collections.api.block.predicate.Predicate<? super T> predicate,
com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
CaseFunction<T,V> |
CaseFunction.addCase(com.gs.collections.api.block.predicate.Predicate<? super T> predicate,
com.gs.collections.api.block.function.Function<? super T,? extends V> function) |
CaseFunction<T,V> |
CaseFunction.setDefault(com.gs.collections.api.block.function.Function<? super T,? extends V> function) |