private static boolean containsOnlyDelimiters(String s) {
    for (int i = 0, n = s.length(); i < n; i++) {
      if (DELIMITER_CHARS.indexOf(s.charAt(i)) < 0) {
        return false;
      }
    }
    return true;
  }
private static boolean containsOnlyDelimiters(String s)