Class ParenthesizedCondition


  • @Beta
    public final class ParenthesizedCondition
    extends Condition
    An explicitly parenthesized condition, ie '(' condition ')', used in building condition expressions.

    This object is as immutable (or unmodifiable) as the underlying condition.

    • Method Detail

      • getInstance

        public static ParenthesizedCondition getInstance​(Condition condition)
        Returns a parenthesized condition for the given condition if the given condition is not already a parenthesized condition; or the original condition otherwise.