Class ConcatenateFunction

  • All Implemented Interfaces:
    Expression, Function

    public class ConcatenateFunction
    extends FunctionImpl
    The function concatenates strings.

    It is used to create concatenated strings as arguments of functions.

    Implementation of Concatenate as defined by SE1.1.

    Jody Garnett (Refractions Research, Inc.)
    • Field Detail

      • NAME

        public static final FunctionName NAME
        Make the instance of FunctionName available in a consistent spot.
    • Constructor Detail

      • ConcatenateFunction

        public ConcatenateFunction()
    • Method Detail

      • getName

        public String getName()
        Description copied from class: FunctionImpl
        Gets the name of this function.
        Specified by:
        getName in interface Function
        getName in class FunctionImpl
        the name of the function.
      • getArgCount

        public int getArgCount()
      • evaluate

        public Object evaluate​(Object feature)
        Description copied from class: FunctionImpl
        Default implementation simply returns the fallbackValue.

        Please override this method to produce a value based on the provided arguments.

        Specified by:
        evaluate in interface Expression
        evaluate in class FunctionImpl
        feature - Object being evaluated; often a Feature
        value for the provided object