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

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

public abstract class BinaryFunctionBase<S,T,R>
extends FunctionBase
implements BinaryFunction<S,T,R>


Constructor Summary
BinaryFunctionBase(String name)
           
 
Method Summary
abstract  R eval(S arg1, T arg2)
           
 R evaluate(S arg1, T arg2)
           
 
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

BinaryFunctionBase

public BinaryFunctionBase(String name)
Method Detail

eval

public abstract R eval(S arg1,
                       T arg2)

evaluate

public R evaluate(S arg1,
                  T arg2)
Specified by:
evaluate in interface BinaryFunction<S,T,R>


Copyright © 2013 Oracle. All Rights Reserved.