code: public static Function<String, String> first(int n) {
      return new FirstLimiter(Math.min(n, MAX_LIMIT));
    }
docs: Restrict the cardinality of the input to the first {@code n} values that are seen.
  
  @param n
  Number of values to select.
  @return
  The input value if it is within the bounds or is selected. Otherwise map to
  {@link #OTHERS}.