docs: private static String toPattern(boolean[] members) {
      StringBuilder buf = new StringBuilder();
      if (members['-']) {
        buf.append('-');
      }
      boolean previous = false;
      char s = 0;
      for (int i = 0; i < members.length; ++i) {
        if (members[i] && !previous) {
          s = (char) i;
        } else if (!members[i] && previous) {
          final char e = (char) (i - 1);
          append(buf, s, e);
        }
        previous = members[i];
      }
      if (previous) {
        final char e = (char) (members.length - 1);
        append(buf, s, e);
      }
      return buf.toString();
    }