tecgraf.javautils.jexpression.util.function
Class JExpressionFunction

java.lang.Object
  extended by tecgraf.javautils.jexpression.util.function.JExpressionFunction
Direct Known Subclasses:
JExpressionDoubleFunction, JExpressionSingleFunction

public abstract class JExpressionFunction
extends Object

Classe que encapsula uma função usada no tratador CalculatorHandler.

Author:
Tecgraf

Constructor Summary
JExpressionFunction(String name)
          Construtor.
 
Method Summary
abstract  Object call(Object... params)
          Executa a chamada da função.
 String getName()
          Nome.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JExpressionFunction

public JExpressionFunction(String name)
Construtor.

Parameters:
name - nome.
Method Detail

getName

public String getName()
Nome.

Returns:
nome.

call

public abstract Object call(Object... params)
Executa a chamada da função.

Parameters:
params - parâmetros.
Returns:
retorno da função.


Copyright © 2007–2014 Tecgraf/PUC-Rio. All rights reserved.