code: public static Matcher<MultiResult> times(final int number, final Matcher<?> matcher) {
          Matcher<?>[] matchers = new Matcher[number];
          Arrays.fill(matchers, matcher);
          return sequence(matchers);
      }
docs: Creates a matcher that matches if the given {@code matcher} matches the {@code number} of
  times.
  <p/>
  The match result represents a combination of all the performed match operations. If
  succeeded, the result
  with the greatest end position is returned.
  <p/>
  
  @param number  the number of times which the given {@code matcher} must match the input
  @param matcher the matcher
  @return the result