code: public static String pluralize(final Number number, final PluralizeParams p)
      {
          Preconditions.checkNotNull(p.many, "Please, specify a format for many elements");
          Preconditions.checkNotNull(p.one, "Please, specify a format for a single element");
  
          String none = p.none == null ? p.many : p.none;
          MessageFormat format = pluralizeFormat("{0}", none, p.one, p.many);
          Object[] fp = p.exts == null ? new Object[] { number } : ObjectArrays.concat(number, p.exts);
          return format.render(fp);
      }
docs: <p>
  Applies the proper format for a given plural state.
  </p>
  Example:
  
  <pre>
  PluralizeParams p = PluralizeParams
  .begin(&quot;There is one file on {1}.&quot;)
  .many(&quot;There are {0} files on {1}.&quot;)
  .none(&quot;There are no files on {1}.&quot;)
  .exts(&quot;disk&quot;);
  
  pluralize(1, p);
  // == There is one file on disk.
  pluralize(2, p);
  // == There are 2 files on disk.
  pluralize(0, p);
  // == There are no files on disk.
  
  // ---
  
  PluralizeParams p = PluralizeParams
  .begin(&quot;one&quot;)
  .many(&quot;{0}&quot;)
  .none(&quot;none&quot;);
  
  pluralize(1, p);
  // = &quot;one&quot;
  pluralize(2, p);
  // = &quot;2&quot;
  </pre>
  
  @param number
  The number that triggers the plural state
  @return formatted text according the right plural state