Code example for ChoiceFormat

Methods: format

   * @param parameters the parameters, usually a Number- or Date object. 
   * @return the formatted text. 
  public String format(final Object parameters)
    return choiceFormat.format(parameters);
   * Clones the object. 
   * @return the clone. 
   * @throws CloneNotSupportedException if cloning failed for some reason. 
  public FastChoiceFormat clone() 
      final FastChoiceFormat format = (FastChoiceFormat) super.clone();
      format.choiceFormat = (ChoiceFormat) choiceFormat.clone();
Connect your IDE to all the code out there  Get Codota for Java