Module java.base
Package java.text

# Class NumberFormat

=
public abstract class NumberFormat
extends java.text.Format

## Nested Types

- = Field
- = Style

## Fields

- =
  public static final int FRACTION_FIELD = 1
- =
  public static final int INTEGER_FIELD = 0

## Constructors

- =
  protected NumberFormat()

## Methods

- =
  public java.lang.Object clone()
- =
  public boolean equals(java.lang.Object arg0)
- =
  public final java.lang.String format(long arg0)
- =
  public abstract java.lang.StringBuffer format(long arg0, java.lang.StringBuffer arg1, java.text.FieldPosition arg2)
- =
  public final java.lang.String format(double arg0)
- =
  public abstract java.lang.StringBuffer format(double arg0, java.lang.StringBuffer arg1, java.text.FieldPosition arg2)
- =
  public java.lang.StringBuffer format(java.lang.Object arg0, java.lang.StringBuffer arg1, java.text.FieldPosition arg2)
- =
  public static java.util.Locale[] getAvailableLocales()
- =
  public static java.text.NumberFormat getCompactNumberInstance()
- =
  public static java.text.NumberFormat getCompactNumberInstance(java.util.Locale arg0, java.text.NumberFormat.Style arg1)
- =
  public java.util.Currency getCurrency()
- =
  public static final java.text.NumberFormat getCurrencyInstance()
- =
  public static java.text.NumberFormat getCurrencyInstance(java.util.Locale arg0)
- =
  public static final java.text.NumberFormat getInstance()
- =
  public static java.text.NumberFormat getInstance(java.util.Locale arg0)
- =
  public static final java.text.NumberFormat getIntegerInstance()
- =
  public static java.text.NumberFormat getIntegerInstance(java.util.Locale arg0)
- =
  public int getMaximumFractionDigits()
- =
  public int getMaximumIntegerDigits()
- =
  public int getMinimumFractionDigits()
- =
  public int getMinimumIntegerDigits()
- =
  public static final java.text.NumberFormat getNumberInstance()
- =
  public static java.text.NumberFormat getNumberInstance(java.util.Locale arg0)
- =
  public static final java.text.NumberFormat getPercentInstance()
- =
  public static java.text.NumberFormat getPercentInstance(java.util.Locale arg0)
- =
  public java.math.RoundingMode getRoundingMode()
- =
  public int hashCode()
- =
  public boolean isGroupingUsed()
- =
  public boolean isParseIntegerOnly()
- =
  public boolean isStrict()
- =
  public java.lang.Number parse(java.lang.String arg0) throws java.text.ParseException
- =
  public abstract java.lang.Number parse(java.lang.String arg0, java.text.ParsePosition arg1)
- =
  public final java.lang.Object parseObject(java.lang.String arg0, java.text.ParsePosition arg1)
- =
  public void setCurrency(java.util.Currency arg0)
- =
  public void setGroupingUsed(boolean arg0)
- =
  public void setMaximumFractionDigits(int arg0)
- =
  public void setMaximumIntegerDigits(int arg0)
- =
  public void setMinimumFractionDigits(int arg0)
- =
  public void setMinimumIntegerDigits(int arg0)
- =
  public void setParseIntegerOnly(boolean arg0)
- =
  public void setRoundingMode(java.math.RoundingMode arg0)
- =
  public void setStrict(boolean arg0)

## Serialized Form

=

### serialVersionUID

=-2308460125733713944

### Serialized Fields

- =
  boolean groupingUsed
- =
  byte maxFractionDigits
- =
  byte maxIntegerDigits
- =
  int maximumFractionDigits
- =
  int maximumIntegerDigits
- =
  byte minFractionDigits
- =
  byte minIntegerDigits
- =
  int minimumFractionDigits
- =
  int minimumIntegerDigits
- =
  boolean parseIntegerOnly
- =
  int serialVersionOnStream

### Serialization Methods

- =
  private void readObject(java.io.ObjectInputStream arg0) throws java.io.IOException, java.lang.ClassNotFoundException
- =
  private void writeObject(java.io.ObjectOutputStream arg0) throws java.io.IOException

## Summary

No differences.