Class CompositeExpression.Helper

  • Enclosing class:
    CompositeExpression

    public static class CompositeExpression.Helper
    extends Object
    A class with static helper methods.
    • Constructor Detail

      • Helper

        public Helper()
    • Method Detail

      • not

        public static CompositeExpression not​(Expression expr)
        Creates a CompositeExpression with an underlying Not expression.
        Parameters:
        expr - an Expression to negate
        Returns:
        a newly created CompositeExpression
      • eq

        public static CompositeExpression eq​(Version version)
        Creates a CompositeExpression with an underlying Equal expression.
        Parameters:
        version - a Version to check for equality
        Returns:
        a newly created CompositeExpression
      • neq

        public static CompositeExpression neq​(Version version)
        Creates a CompositeExpression with an underlying NotEqual expression.
        Parameters:
        version - a Version to check for non-equality
        Returns:
        a newly created CompositeExpression
      • gt

        public static CompositeExpression gt​(Version version)
        Creates a CompositeExpression with an underlying Greater expression.
        Parameters:
        version - a Version to compare with
        Returns:
        a newly created CompositeExpression
      • gte

        public static CompositeExpression gte​(Version version)
        Creates a CompositeExpression with an underlying GreaterOrEqual expression.
        Parameters:
        version - a Version to compare with
        Returns:
        a newly created CompositeExpression
      • lt

        public static CompositeExpression lt​(Version version)
        Creates a CompositeExpression with an underlying Less expression.
        Parameters:
        version - a Version to compare with
        Returns:
        a newly created CompositeExpression
      • lte

        public static CompositeExpression lte​(Version version)
        Creates a CompositeExpression with an underlying LessOrEqual expression.
        Parameters:
        version - a Version to compare with
        Returns:
        a newly created CompositeExpression