public class Functions extends Object
| Modifier and Type | Field and Description |
|---|---|
static Function<Boolean,Boolean> |
NOT
Implements boolean not.
|
| Constructor and Description |
|---|
Functions() |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> Function<K,V> |
forMap(Map<K,? extends V> map,
V defaultValue)
Returns a function which performs a map lookup with a default value.
|
static <T> Function<T,Boolean> |
forPredicate(Predicate<T> predicate)
Returns a function that returns the same boolean output as the given predicate for all
inputs.
|
Copyright © 2013. All Rights Reserved.