com.google.wave.api
Interface Function<K,V>

Type Parameters:
K - the type of the function input.
V - the type of the function output.
All Known Subinterfaces:
Function.BlipContentFunction, Function.MapFunction

public interface Function<K,V>

A function that computes a result object of type V from an input of type K.


Nested Class Summary
static interface Function.BlipContentFunction
          A Function that computes a BlipContent from another BlipContent.
static interface Function.MapFunction
          A Function that computes a Map from a BlipContent.
 
Method Summary
 V call(K source)
          Computes V from the given K.
 

Method Detail

call

V call(K source)
Computes V from the given K.

Parameters:
source - the source object.
Returns:
an instance of V, based on source.