org.glassfish.pfl.basic.func
Class UnaryFunctionBase<S,R>

java.lang.Object
  extended by org.glassfish.pfl.basic.func.FunctionBase
      extended by org.glassfish.pfl.basic.func.UnaryFunctionBase<S,R>
All Implemented Interfaces:
UnaryFunction<S,R>

public abstract class UnaryFunctionBase<S,R>
extends FunctionBase
implements UnaryFunction<S,R>


Constructor Summary
UnaryFunctionBase(String name)
           
 
Method Summary
abstract  R eval(S arg1)
           
 R evaluate(S arg1)
           
 
Methods inherited from class org.glassfish.pfl.basic.func.FunctionBase
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnaryFunctionBase

public UnaryFunctionBase(String name)
Method Detail

eval

public abstract R eval(S arg1)

evaluate

public R evaluate(S arg1)
Specified by:
evaluate in interface UnaryFunction<S,R>


Copyright © 2013 Oracle. All Rights Reserved.