Uses of Interface
com.google.common.base.Function

Packages that use Function
com.google.common.base Basic utility libraries and interfaces. 
 

Uses of Function in com.google.common.base
 

Methods in com.google.common.base that return Function
static
<A,B,C> Function<A,C>
Functions.compose(Function<B,C> g, Function<A,? extends B> f)
          Returns the composition of two functions.
static
<E> Function<java.lang.Object,E>
Functions.constant(E value)
          Creates a function that returns value for any input.
static
<K,V> Function<K,V>
Functions.forMap(java.util.Map<K,? extends V> map, V defaultValue)
          Returns a function which performs a map lookup with a default value.
static
<K,V> Function<K,V>
Functions.forMap(java.util.Map<K,V> map)
          Returns a function which performs a map lookup.
static
<T> Function<T,java.lang.Boolean>
Functions.forPredicate(Predicate<T> predicate)
          Creates a function that returns the same boolean output as the given predicate for all inputs.
static
<E> Function<E,E>
Functions.identity()
          Returns the identity function.
static Function<java.lang.Object,java.lang.String> Functions.toStringFunction()
          Returns a function that calls toString() on its argument.
 

Methods in com.google.common.base with parameters of type Function
static
<F,T> Supplier<T>
Suppliers.compose(Function<? super F,T> function, Supplier<F> supplier)
          Returns a new supplier which is the composition of the provided function and supplier.
static
<A,B,C> Function<A,C>
Functions.compose(Function<B,C> g, Function<A,? extends B> f)
          Returns the composition of two functions.
static
<A,B,C> Function<A,C>
Functions.compose(Function<B,C> g, Function<A,? extends B> f)
          Returns the composition of two functions.
static
<A,B> Predicate<A>
Predicates.compose(Predicate<B> predicate, Function<A,? extends B> function)
          Returns the composition of a function and a predicate.
 



Copyright © 2010 Google. All Rights Reserved.