ariba.util.core
Class Function.MethodFunction<T>

java.lang.Object
  extended by ariba.util.core.Function<T>
      extended by ariba.util.core.Function.MethodFunction<T>
Enclosing class:
Function<K>

public static class Function.MethodFunction<T>
extends Function<T>

Convenience nested class that adapts a Method into a Function


Nested Class Summary
 
Nested classes/interfaces inherited from class ariba.util.core.Function
Function.MethodFunction<T>
 
Field Summary
 
Fields inherited from class ariba.util.core.Function
Identity
 
Constructor Summary
Function.MethodFunction(java.lang.reflect.Method method)
           
 
Method Summary
 T evaluate(java.lang.Object... arguments)
          Evaluates the supplied arguments returning an instance of type K.
 
Methods inherited from class ariba.util.core.Function
collect, collect, collectInto, hasSameValue, identity, make, make, map, map, mapInto, reverseMapInto, reverseMapInto, split, splitInto, splitInto, splitInto
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Function.MethodFunction

public Function.MethodFunction(java.lang.reflect.Method method)
Method Detail

evaluate

public T evaluate(java.lang.Object... arguments)
Description copied from class: Function
Evaluates the supplied arguments returning an instance of type K.

Specified by:
evaluate in class Function<T>
Parameters:
arguments - the arguments to be evaulated
Returns:
the instance of K


AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.