Class Expression.Function

java.lang.Object
org.apache.felix.gogo.runtime.Expression.Function
All Implemented Interfaces:
Expression.Token
Enclosing class:
Expression

public abstract class Expression.Function extends Object implements Expression.Token
Abstract definition of a supported expression function. A function is defined by a name, the number of parameters and the actual processing implementation.
  • Field Details

    • name

      private String name
      Name of this function.
    • numParams

      private int numParams
      Number of parameters expected for this function.
  • Constructor Details

    • Function

      public Function(String name, int numParams)
      Creates a new function with given name and parameter count.
      Parameters:
      name - The name of the function.
      numParams - The number of parameters for this function.
  • Method Details