Interface ValuePredicates


  • public interface ValuePredicates
    Collection of value based predicates
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.function.Predicate<java.lang.String> ARE_PARENTHESES_BALANCED_AND_CLOSED
      Tests if the String contains '(' and ')' that are balanced and closed.
    • Field Detail

      • ARE_PARENTHESES_BALANCED_AND_CLOSED

        static final java.util.function.Predicate<java.lang.String> ARE_PARENTHESES_BALANCED_AND_CLOSED
        Tests if the String contains '(' and ')' that are balanced and closed. Balanced meaning there are the same number of open parentheses as closed. Closed meaning that every open parentheses is followed by a closed parentheses.