code: protected static NumberPattern[] patterns(String positive, String negative) {
      return new NumberPattern[] { parse(positive), parse(negative) };
    }
docs: Construct a pair of patterns [positive, negative].