Class ReverseFunction

All Implemented Interfaces:
Iterable<GroupingExpression>

public class ReverseFunction extends FunctionNode
This class represents a reverse-function in a GroupingExpression. It evaluates to a list that equals the list result of the argument, sorted in descending order.
Author:
baldersheim, bratseth
  • Constructor Details

    • ReverseFunction

      public ReverseFunction(GroupingExpression exp)
      Constructs a new instance of this class.
      Parameters:
      exp - The expression to evaluate, must evaluate to a list.
  • Method Details