net.sourceforge.wurfl.lang.oneparam
Class OneParamOp<V,R>

java.lang.Object
  extended by net.sourceforge.wurfl.lang.twoparam.TwoParamOp<V,Curry,R>
      extended by net.sourceforge.wurfl.lang.oneparam.OneParamOp<V,R>
Direct Known Subclasses:
ChainableOp, Condition, Constant, CustomRecoveryOp, IfOp, IntOp, UserAgentOpAdapter

public abstract class OneParamOp<V,R>
extends TwoParamOp<V,Curry,R>

Generic one-param operation abstraction. Parametrized either for return value, or for the method parameter. V Variable R Return value Date: 14/06/11

Since:
1.3.5
Version:
$Id$

Nested Class Summary
static class OneParamOp.Type
           
 
Field Summary
 
Fields inherited from class net.sourceforge.wurfl.lang.twoparam.TwoParamOp
logger
 
Constructor Summary
OneParamOp()
           
 
Method Summary
abstract  R execute(V variable)
           
 R execute(V variable1, Curry variable2)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OneParamOp

public OneParamOp()
Method Detail

execute

public final R execute(V variable1,
                       Curry variable2)
Specified by:
execute in class TwoParamOp<V,Curry,R>
Parameters:
variable1 -
variable2 - ignored.
Returns:

execute

public abstract R execute(V variable)


Copyright © 2012 ScientiaMobile Inc.. All Rights Reserved.