Class Md5Function

All Implemented Interfaces:
Iterable<GroupingExpression>

public class Md5Function extends FunctionNode
This class represents an md5-function in a GroupingExpression. It evaluates to a long that equals the md5 of the result of the argument.
Author:
Simon Thoresen Hult
  • Constructor Details

    • Md5Function

      public Md5Function(GroupingExpression exp, int numBits)
      Constructs a new instance of this class.
      Parameters:
      exp - The expression to evaluate.
      numBits - The number of bits of the md5 to include.
  • Method Details

    • copy

      public Md5Function copy()
      Description copied from class: GroupingExpression
      Returns a deep copy of this
      Specified by:
      copy in class GroupingExpression
    • getNumBits

      public int getNumBits()
      Returns the number of bits of the md5 to include in the evaluated result.
      Returns:
      The bit count.