public abstract class java.text.NumberFormat extends java.text.Format
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: java.text.NumberFormat
super_class: java.text.Format
{
public static final int INTEGER_FIELD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int FRACTION_FIELD;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int NUMBERSTYLE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
private static final int CURRENCYSTYLE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private static final int PERCENTSTYLE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int SCIENTIFICSTYLE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
private static final int INTEGERSTYLE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
private static final int COMPACTSTYLE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private boolean groupingUsed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private byte maxIntegerDigits;
descriptor: B
flags: (0x0002) ACC_PRIVATE
private byte minIntegerDigits;
descriptor: B
flags: (0x0002) ACC_PRIVATE
private byte maxFractionDigits;
descriptor: B
flags: (0x0002) ACC_PRIVATE
private byte minFractionDigits;
descriptor: B
flags: (0x0002) ACC_PRIVATE
private boolean parseIntegerOnly;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int maximumIntegerDigits;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int minimumIntegerDigits;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int maximumFractionDigits;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int minimumFractionDigits;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static final int currentSerialVersion;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
private int serialVersionOnStream;
descriptor: I
flags: (0x0002) ACC_PRIVATE
static final long serialVersionUID;
descriptor: J
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -2308460125733713944
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.text.Format.<init>:()V
1: aload 0
iconst_1
putfield java.text.NumberFormat.groupingUsed:Z
2: aload 0
bipush 40
putfield java.text.NumberFormat.maxIntegerDigits:B
3: aload 0
iconst_1
putfield java.text.NumberFormat.minIntegerDigits:B
4: aload 0
iconst_3
putfield java.text.NumberFormat.maxFractionDigits:B
5: aload 0
iconst_0
putfield java.text.NumberFormat.minFractionDigits:B
6: aload 0
iconst_0
putfield java.text.NumberFormat.parseIntegerOnly:Z
7: aload 0
bipush 40
putfield java.text.NumberFormat.maximumIntegerDigits:I
8: aload 0
iconst_1
putfield java.text.NumberFormat.minimumIntegerDigits:I
9: aload 0
iconst_3
putfield java.text.NumberFormat.maximumFractionDigits:I
10: aload 0
iconst_0
putfield java.text.NumberFormat.minimumFractionDigits:I
11: aload 0
iconst_1
putfield java.text.NumberFormat.serialVersionOnStream:I
12: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/text/NumberFormat;
public java.lang.StringBuffer format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition);
descriptor: (Ljava/lang/Object;Ljava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
instanceof java.lang.Long
ifne 5
aload 1
instanceof java.lang.Integer
ifne 5
1: aload 1
instanceof java.lang.Short
ifne 5
aload 1
instanceof java.lang.Byte
ifne 5
2: aload 1
instanceof java.util.concurrent.atomic.AtomicInteger
ifne 5
aload 1
instanceof java.util.concurrent.atomic.AtomicLong
ifne 5
3: aload 1
instanceof java.math.BigInteger
ifeq 6
4: aload 1
checkcast java.math.BigInteger
invokevirtual java.math.BigInteger.bitLength:()I
bipush 64
if_icmpge 6
5: StackMap locals:
StackMap stack:
aload 0
aload 1
checkcast java.lang.Number
invokevirtual java.lang.Number.longValue:()J
aload 2
aload 3
invokevirtual java.text.NumberFormat.format:(JLjava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;
areturn
6: StackMap locals:
StackMap stack:
aload 1
instanceof java.lang.Number
ifeq 8
7: aload 0
aload 1
checkcast java.lang.Number
invokevirtual java.lang.Number.doubleValue:()D
aload 2
aload 3
invokevirtual java.text.NumberFormat.format:(DLjava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;
areturn
8: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Cannot format given Object as a Number"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/text/NumberFormat;
0 9 1 number Ljava/lang/Object;
0 9 2 toAppendTo Ljava/lang/StringBuffer;
0 9 3 pos Ljava/text/FieldPosition;
MethodParameters:
Name Flags
number
toAppendTo
pos
public final java.lang.Object parseObject(java.lang.String, java.text.ParsePosition);
descriptor: (Ljava/lang/String;Ljava/text/ParsePosition;)Ljava/lang/Object;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual java.text.NumberFormat.parse:(Ljava/lang/String;Ljava/text/ParsePosition;)Ljava/lang/Number;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/text/NumberFormat;
0 1 1 source Ljava/lang/String;
0 1 2 pos Ljava/text/ParsePosition;
MethodParameters:
Name Flags
source
pos
public final java.lang.String format(double);
descriptor: (D)Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
dload 1
invokevirtual java.text.NumberFormat.fastFormat:(D)Ljava/lang/String;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
areturn
3: StackMap locals: java.lang.String
StackMap stack:
aload 0
dload 1
new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
4: getstatic java.text.DontCareFieldPosition.INSTANCE:Ljava/text/FieldPosition;
5: invokevirtual java.text.NumberFormat.format:(DLjava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;
6: invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
7: areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/text/NumberFormat;
0 8 1 number D
1 8 3 result Ljava/lang/String;
MethodParameters:
Name Flags
number
java.lang.String fastFormat(double);
descriptor: (D)Ljava/lang/String;
flags: (0x0000)
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/text/NumberFormat;
0 1 1 number D
MethodParameters:
Name Flags
number
public final java.lang.String format(long);
descriptor: (J)Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
lload 1
new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
1: getstatic java.text.DontCareFieldPosition.INSTANCE:Ljava/text/FieldPosition;
2: invokevirtual java.text.NumberFormat.format:(JLjava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;
3: invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
4: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/text/NumberFormat;
0 5 1 number J
MethodParameters:
Name Flags
number
public abstract java.lang.StringBuffer format(double, java.lang.StringBuffer, java.text.FieldPosition);
descriptor: (DLjava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
number
toAppendTo
pos
public abstract java.lang.StringBuffer format(long, java.lang.StringBuffer, java.text.FieldPosition);
descriptor: (JLjava/lang/StringBuffer;Ljava/text/FieldPosition;)Ljava/lang/StringBuffer;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
number
toAppendTo
pos
public abstract java.lang.Number parse(java.lang.String, java.text.ParsePosition);
descriptor: (Ljava/lang/String;Ljava/text/ParsePosition;)Ljava/lang/Number;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
source
parsePosition
public java.lang.Number parse(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Number;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: new java.text.ParsePosition
dup
iconst_0
invokespecial java.text.ParsePosition.<init>:(I)V
astore 2
start local 2 1: aload 0
aload 1
aload 2
invokevirtual java.text.NumberFormat.parse:(Ljava/lang/String;Ljava/text/ParsePosition;)Ljava/lang/Number;
astore 3
start local 3 2: aload 2
getfield java.text.ParsePosition.index:I
ifne 6
3: new java.text.ParseException
dup
new java.lang.StringBuilder
dup
ldc "Unparseable number: \""
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "\""
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: aload 2
getfield java.text.ParsePosition.errorIndex:I
5: invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
athrow
6: StackMap locals: java.text.ParsePosition java.lang.Number
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/text/NumberFormat;
0 7 1 source Ljava/lang/String;
1 7 2 parsePosition Ljava/text/ParsePosition;
2 7 3 result Ljava/lang/Number;
Exceptions:
throws java.text.ParseException
MethodParameters:
Name Flags
source
public boolean isParseIntegerOnly();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.text.NumberFormat.parseIntegerOnly:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/text/NumberFormat;
public void setParseIntegerOnly(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield java.text.NumberFormat.parseIntegerOnly:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/text/NumberFormat;
0 2 1 value Z
MethodParameters:
Name Flags
value
public static final java.text.NumberFormat getInstance();
descriptor: ()Ljava/text/NumberFormat;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=0, args_size=0
0: getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
aconst_null
iconst_0
invokestatic java.text.NumberFormat.getInstance:(Ljava/util/Locale;Ljava/text/NumberFormat$Style;I)Ljava/text/NumberFormat;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.text.NumberFormat getInstance(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/text/NumberFormat;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
iconst_0
invokestatic java.text.NumberFormat.getInstance:(Ljava/util/Locale;Ljava/text/NumberFormat$Style;I)Ljava/text/NumberFormat;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 inLocale Ljava/util/Locale;
MethodParameters:
Name Flags
inLocale
public static final java.text.NumberFormat getNumberInstance();
descriptor: ()Ljava/text/NumberFormat;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=0, args_size=0
0: getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
aconst_null
iconst_0
invokestatic java.text.NumberFormat.getInstance:(Ljava/util/Locale;Ljava/text/NumberFormat$Style;I)Ljava/text/NumberFormat;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.text.NumberFormat getNumberInstance(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/text/NumberFormat;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
iconst_0
invokestatic java.text.NumberFormat.getInstance:(Ljava/util/Locale;Ljava/text/NumberFormat$Style;I)Ljava/text/NumberFormat;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 inLocale Ljava/util/Locale;
MethodParameters:
Name Flags
inLocale
public static final java.text.NumberFormat getIntegerInstance();
descriptor: ()Ljava/text/NumberFormat;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=0, args_size=0
0: getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
aconst_null
iconst_4
invokestatic java.text.NumberFormat.getInstance:(Ljava/util/Locale;Ljava/text/NumberFormat$Style;I)Ljava/text/NumberFormat;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.text.NumberFormat getIntegerInstance(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/text/NumberFormat;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
iconst_4
invokestatic java.text.NumberFormat.getInstance:(Ljava/util/Locale;Ljava/text/NumberFormat$Style;I)Ljava/text/NumberFormat;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 inLocale Ljava/util/Locale;
MethodParameters:
Name Flags
inLocale
public static final java.text.NumberFormat getCurrencyInstance();
descriptor: ()Ljava/text/NumberFormat;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=0, args_size=0
0: getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
aconst_null
iconst_1
invokestatic java.text.NumberFormat.getInstance:(Ljava/util/Locale;Ljava/text/NumberFormat$Style;I)Ljava/text/NumberFormat;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.text.NumberFormat getCurrencyInstance(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/text/NumberFormat;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
iconst_1
invokestatic java.text.NumberFormat.getInstance:(Ljava/util/Locale;Ljava/text/NumberFormat$Style;I)Ljava/text/NumberFormat;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 inLocale Ljava/util/Locale;
MethodParameters:
Name Flags
inLocale
public static final java.text.NumberFormat getPercentInstance();
descriptor: ()Ljava/text/NumberFormat;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=0, args_size=0
0: getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
aconst_null
iconst_2
invokestatic java.text.NumberFormat.getInstance:(Ljava/util/Locale;Ljava/text/NumberFormat$Style;I)Ljava/text/NumberFormat;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.text.NumberFormat getPercentInstance(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/text/NumberFormat;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
iconst_2
invokestatic java.text.NumberFormat.getInstance:(Ljava/util/Locale;Ljava/text/NumberFormat$Style;I)Ljava/text/NumberFormat;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 inLocale Ljava/util/Locale;
MethodParameters:
Name Flags
inLocale
static final java.text.NumberFormat getScientificInstance();
descriptor: ()Ljava/text/NumberFormat;
flags: (0x0018) ACC_STATIC, ACC_FINAL
Code:
stack=3, locals=0, args_size=0
0: getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
aconst_null
iconst_3
invokestatic java.text.NumberFormat.getInstance:(Ljava/util/Locale;Ljava/text/NumberFormat$Style;I)Ljava/text/NumberFormat;
areturn
LocalVariableTable:
Start End Slot Name Signature
static java.text.NumberFormat getScientificInstance(java.util.Locale);
descriptor: (Ljava/util/Locale;)Ljava/text/NumberFormat;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
iconst_3
invokestatic java.text.NumberFormat.getInstance:(Ljava/util/Locale;Ljava/text/NumberFormat$Style;I)Ljava/text/NumberFormat;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 inLocale Ljava/util/Locale;
MethodParameters:
Name Flags
inLocale
public static java.text.NumberFormat getCompactNumberInstance();
descriptor: ()Ljava/text/NumberFormat;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: getstatic java.util.Locale$Category.FORMAT:Ljava/util/Locale$Category;
1: invokestatic java.util.Locale.getDefault:(Ljava/util/Locale$Category;)Ljava/util/Locale;
2: getstatic java.text.NumberFormat$Style.SHORT:Ljava/text/NumberFormat$Style;
iconst_5
3: invokestatic java.text.NumberFormat.getInstance:(Ljava/util/Locale;Ljava/text/NumberFormat$Style;I)Ljava/text/NumberFormat;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.text.NumberFormat getCompactNumberInstance(java.util.Locale, java.text.NumberFormat$Style);
descriptor: (Ljava/util/Locale;Ljava/text/NumberFormat$Style;)Ljava/text/NumberFormat;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 0
aload 1
iconst_5
invokestatic java.text.NumberFormat.getInstance:(Ljava/util/Locale;Ljava/text/NumberFormat$Style;I)Ljava/text/NumberFormat;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 locale Ljava/util/Locale;
0 3 1 formatStyle Ljava/text/NumberFormat$Style;
MethodParameters:
Name Flags
locale
formatStyle
public static java.util.Locale[] getAvailableLocales();
descriptor: ()[Ljava/util/Locale;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=0
0: ldc Ljava/text/spi/NumberFormatProvider;
invokestatic sun.util.locale.provider.LocaleServiceProviderPool.getPool:(Ljava/lang/Class;)Lsun/util/locale/provider/LocaleServiceProviderPool;
1: astore 0
start local 0 2: aload 0
invokevirtual sun.util.locale.provider.LocaleServiceProviderPool.getAvailableLocales:()[Ljava/util/Locale;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
2 3 0 pool Lsun/util/locale/provider/LocaleServiceProviderPool;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.text.NumberFormat.maximumIntegerDigits:I
bipush 37
imul
aload 0
getfield java.text.NumberFormat.maxFractionDigits:B
iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/text/NumberFormat;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
aload 1
if_acmpne 4
3: iconst_1
ireturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
aload 1
checkcast java.text.NumberFormat
astore 2
start local 2 7: aload 0
getfield java.text.NumberFormat.maximumIntegerDigits:I
aload 2
getfield java.text.NumberFormat.maximumIntegerDigits:I
if_icmpne 14
8: aload 0
getfield java.text.NumberFormat.minimumIntegerDigits:I
aload 2
getfield java.text.NumberFormat.minimumIntegerDigits:I
if_icmpne 14
9: aload 0
getfield java.text.NumberFormat.maximumFractionDigits:I
aload 2
getfield java.text.NumberFormat.maximumFractionDigits:I
if_icmpne 14
10: aload 0
getfield java.text.NumberFormat.minimumFractionDigits:I
aload 2
getfield java.text.NumberFormat.minimumFractionDigits:I
if_icmpne 14
11: aload 0
getfield java.text.NumberFormat.groupingUsed:Z
aload 2
getfield java.text.NumberFormat.groupingUsed:Z
if_icmpne 14
12: aload 0
getfield java.text.NumberFormat.parseIntegerOnly:Z
aload 2
getfield java.text.NumberFormat.parseIntegerOnly:Z
if_icmpne 14
13: iconst_1
ireturn
StackMap locals: java.text.NumberFormat
StackMap stack:
14: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljava/text/NumberFormat;
0 15 1 obj Ljava/lang/Object;
7 15 2 other Ljava/text/NumberFormat;
MethodParameters:
Name Flags
obj
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.text.Format.clone:()Ljava/lang/Object;
checkcast java.text.NumberFormat
astore 1
start local 1 1: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/text/NumberFormat;
1 2 1 other Ljava/text/NumberFormat;
public boolean isGroupingUsed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.text.NumberFormat.groupingUsed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/text/NumberFormat;
public void setGroupingUsed(boolean);
descriptor: (Z)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield java.text.NumberFormat.groupingUsed:Z
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/text/NumberFormat;
0 2 1 newValue Z
MethodParameters:
Name Flags
newValue
public int getMaximumIntegerDigits();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.text.NumberFormat.maximumIntegerDigits:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/text/NumberFormat;
public void setMaximumIntegerDigits(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
iload 1
invokestatic java.lang.Math.max:(II)I
putfield java.text.NumberFormat.maximumIntegerDigits:I
1: aload 0
getfield java.text.NumberFormat.minimumIntegerDigits:I
aload 0
getfield java.text.NumberFormat.maximumIntegerDigits:I
if_icmple 3
2: aload 0
aload 0
getfield java.text.NumberFormat.maximumIntegerDigits:I
putfield java.text.NumberFormat.minimumIntegerDigits:I
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/text/NumberFormat;
0 4 1 newValue I
MethodParameters:
Name Flags
newValue
public int getMinimumIntegerDigits();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.text.NumberFormat.minimumIntegerDigits:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/text/NumberFormat;
public void setMinimumIntegerDigits(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
iload 1
invokestatic java.lang.Math.max:(II)I
putfield java.text.NumberFormat.minimumIntegerDigits:I
1: aload 0
getfield java.text.NumberFormat.minimumIntegerDigits:I
aload 0
getfield java.text.NumberFormat.maximumIntegerDigits:I
if_icmple 3
2: aload 0
aload 0
getfield java.text.NumberFormat.minimumIntegerDigits:I
putfield java.text.NumberFormat.maximumIntegerDigits:I
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/text/NumberFormat;
0 4 1 newValue I
MethodParameters:
Name Flags
newValue
public int getMaximumFractionDigits();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.text.NumberFormat.maximumFractionDigits:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/text/NumberFormat;
public void setMaximumFractionDigits(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
iload 1
invokestatic java.lang.Math.max:(II)I
putfield java.text.NumberFormat.maximumFractionDigits:I
1: aload 0
getfield java.text.NumberFormat.maximumFractionDigits:I
aload 0
getfield java.text.NumberFormat.minimumFractionDigits:I
if_icmpge 3
2: aload 0
aload 0
getfield java.text.NumberFormat.maximumFractionDigits:I
putfield java.text.NumberFormat.minimumFractionDigits:I
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/text/NumberFormat;
0 4 1 newValue I
MethodParameters:
Name Flags
newValue
public int getMinimumFractionDigits();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.text.NumberFormat.minimumFractionDigits:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/text/NumberFormat;
public void setMinimumFractionDigits(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
iload 1
invokestatic java.lang.Math.max:(II)I
putfield java.text.NumberFormat.minimumFractionDigits:I
1: aload 0
getfield java.text.NumberFormat.maximumFractionDigits:I
aload 0
getfield java.text.NumberFormat.minimumFractionDigits:I
if_icmpge 3
2: aload 0
aload 0
getfield java.text.NumberFormat.minimumFractionDigits:I
putfield java.text.NumberFormat.maximumFractionDigits:I
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/text/NumberFormat;
0 4 1 newValue I
MethodParameters:
Name Flags
newValue
public java.util.Currency getCurrency();
descriptor: ()Ljava/util/Currency;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/text/NumberFormat;
public void setCurrency(java.util.Currency);
descriptor: (Ljava/util/Currency;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/text/NumberFormat;
0 1 1 currency Ljava/util/Currency;
MethodParameters:
Name Flags
currency
public java.math.RoundingMode getRoundingMode();
descriptor: ()Ljava/math/RoundingMode;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/text/NumberFormat;
public void setRoundingMode(java.math.RoundingMode);
descriptor: (Ljava/math/RoundingMode;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/text/NumberFormat;
0 1 1 roundingMode Ljava/math/RoundingMode;
MethodParameters:
Name Flags
roundingMode
private static java.text.NumberFormat getInstance(java.util.Locale, java.text.NumberFormat$Style, int);
descriptor: (Ljava/util/Locale;Ljava/text/NumberFormat$Style;I)Ljava/text/NumberFormat;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: ldc Ljava/text/spi/NumberFormatProvider;
1: aload 0
2: invokestatic sun.util.locale.provider.LocaleProviderAdapter.getAdapter:(Ljava/lang/Class;Ljava/util/Locale;)Lsun/util/locale/provider/LocaleProviderAdapter;
astore 3
start local 3 3: aload 3
aload 0
4: aload 1
iload 2
5: invokestatic java.text.NumberFormat.getInstance:(Lsun/util/locale/provider/LocaleProviderAdapter;Ljava/util/Locale;Ljava/text/NumberFormat$Style;I)Ljava/text/NumberFormat;
astore 4
start local 4 6: aload 4
ifnonnull 10
7: invokestatic sun.util.locale.provider.LocaleProviderAdapter.forJRE:()Lsun/util/locale/provider/LocaleProviderAdapter;
8: aload 0
aload 1
iload 2
9: invokestatic java.text.NumberFormat.getInstance:(Lsun/util/locale/provider/LocaleProviderAdapter;Ljava/util/Locale;Ljava/text/NumberFormat$Style;I)Ljava/text/NumberFormat;
astore 4
10: StackMap locals: sun.util.locale.provider.LocaleProviderAdapter java.text.NumberFormat
StackMap stack:
aload 4
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 desiredLocale Ljava/util/Locale;
0 11 1 formatStyle Ljava/text/NumberFormat$Style;
0 11 2 choice I
3 11 3 adapter Lsun/util/locale/provider/LocaleProviderAdapter;
6 11 4 numberFormat Ljava/text/NumberFormat;
MethodParameters:
Name Flags
desiredLocale
formatStyle
choice
private static java.text.NumberFormat getInstance(sun.util.locale.provider.LocaleProviderAdapter, java.util.Locale, java.text.NumberFormat$Style, int);
descriptor: (Lsun/util/locale/provider/LocaleProviderAdapter;Ljava/util/Locale;Ljava/text/NumberFormat$Style;I)Ljava/text/NumberFormat;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual sun.util.locale.provider.LocaleProviderAdapter.getNumberFormatProvider:()Ljava/text/spi/NumberFormatProvider;
astore 4
start local 4 1: aconst_null
astore 5
start local 5 2: iload 3
tableswitch { // 0 - 5
0: 3
1: 7
2: 5
3: 12
4: 9
5: 11
default: 12
}
3: StackMap locals: java.text.spi.NumberFormatProvider java.text.NumberFormat
StackMap stack:
aload 4
aload 1
invokevirtual java.text.spi.NumberFormatProvider.getNumberInstance:(Ljava/util/Locale;)Ljava/text/NumberFormat;
astore 5
4: goto 12
5: StackMap locals:
StackMap stack:
aload 4
aload 1
invokevirtual java.text.spi.NumberFormatProvider.getPercentInstance:(Ljava/util/Locale;)Ljava/text/NumberFormat;
astore 5
6: goto 12
7: StackMap locals:
StackMap stack:
aload 4
aload 1
invokevirtual java.text.spi.NumberFormatProvider.getCurrencyInstance:(Ljava/util/Locale;)Ljava/text/NumberFormat;
astore 5
8: goto 12
9: StackMap locals:
StackMap stack:
aload 4
aload 1
invokevirtual java.text.spi.NumberFormatProvider.getIntegerInstance:(Ljava/util/Locale;)Ljava/text/NumberFormat;
astore 5
10: goto 12
11: StackMap locals:
StackMap stack:
aload 4
aload 1
aload 2
invokevirtual java.text.spi.NumberFormatProvider.getCompactNumberInstance:(Ljava/util/Locale;Ljava/text/NumberFormat$Style;)Ljava/text/NumberFormat;
astore 5
12: StackMap locals:
StackMap stack:
aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 adapter Lsun/util/locale/provider/LocaleProviderAdapter;
0 13 1 locale Ljava/util/Locale;
0 13 2 formatStyle Ljava/text/NumberFormat$Style;
0 13 3 choice I
1 13 4 provider Ljava/text/spi/NumberFormatProvider;
2 13 5 numberFormat Ljava/text/NumberFormat;
MethodParameters:
Name Flags
adapter
locale
formatStyle
choice
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 0
getfield java.text.NumberFormat.serialVersionOnStream:I
iconst_1
if_icmpge 6
2: aload 0
aload 0
getfield java.text.NumberFormat.maxIntegerDigits:B
putfield java.text.NumberFormat.maximumIntegerDigits:I
3: aload 0
aload 0
getfield java.text.NumberFormat.minIntegerDigits:B
putfield java.text.NumberFormat.minimumIntegerDigits:I
4: aload 0
aload 0
getfield java.text.NumberFormat.maxFractionDigits:B
putfield java.text.NumberFormat.maximumFractionDigits:I
5: aload 0
aload 0
getfield java.text.NumberFormat.minFractionDigits:B
putfield java.text.NumberFormat.minimumFractionDigits:I
6: StackMap locals:
StackMap stack:
aload 0
getfield java.text.NumberFormat.minimumIntegerDigits:I
aload 0
getfield java.text.NumberFormat.maximumIntegerDigits:I
if_icmpgt 9
7: aload 0
getfield java.text.NumberFormat.minimumFractionDigits:I
aload 0
getfield java.text.NumberFormat.maximumFractionDigits:I
if_icmpgt 9
8: aload 0
getfield java.text.NumberFormat.minimumIntegerDigits:I
iflt 9
aload 0
getfield java.text.NumberFormat.minimumFractionDigits:I
ifge 10
9: StackMap locals:
StackMap stack:
new java.io.InvalidObjectException
dup
ldc "Digit count range invalid"
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield java.text.NumberFormat.serialVersionOnStream:I
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/text/NumberFormat;
0 12 1 stream Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
stream
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield java.text.NumberFormat.maximumIntegerDigits:I
bipush 127
if_icmple 2
1: bipush 127
goto 3
StackMap locals:
StackMap stack: java.text.NumberFormat
2: aload 0
getfield java.text.NumberFormat.maximumIntegerDigits:I
i2b
3: StackMap locals: java.text.NumberFormat java.io.ObjectOutputStream
StackMap stack: java.text.NumberFormat int
putfield java.text.NumberFormat.maxIntegerDigits:B
4: aload 0
aload 0
getfield java.text.NumberFormat.minimumIntegerDigits:I
bipush 127
if_icmple 6
5: bipush 127
goto 7
StackMap locals:
StackMap stack: java.text.NumberFormat
6: aload 0
getfield java.text.NumberFormat.minimumIntegerDigits:I
i2b
7: StackMap locals: java.text.NumberFormat java.io.ObjectOutputStream
StackMap stack: java.text.NumberFormat int
putfield java.text.NumberFormat.minIntegerDigits:B
8: aload 0
aload 0
getfield java.text.NumberFormat.maximumFractionDigits:I
bipush 127
if_icmple 10
9: bipush 127
goto 11
StackMap locals:
StackMap stack: java.text.NumberFormat
10: aload 0
getfield java.text.NumberFormat.maximumFractionDigits:I
i2b
11: StackMap locals: java.text.NumberFormat java.io.ObjectOutputStream
StackMap stack: java.text.NumberFormat int
putfield java.text.NumberFormat.maxFractionDigits:B
12: aload 0
aload 0
getfield java.text.NumberFormat.minimumFractionDigits:I
bipush 127
if_icmple 14
13: bipush 127
goto 15
StackMap locals:
StackMap stack: java.text.NumberFormat
14: aload 0
getfield java.text.NumberFormat.minimumFractionDigits:I
i2b
15: StackMap locals: java.text.NumberFormat java.io.ObjectOutputStream
StackMap stack: java.text.NumberFormat int
putfield java.text.NumberFormat.minFractionDigits:B
16: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
17: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Ljava/text/NumberFormat;
0 18 1 stream Ljava/io/ObjectOutputStream;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
stream
}
SourceFile: "NumberFormat.java"
NestMembers:
java.text.NumberFormat$Field java.text.NumberFormat$Style
InnerClasses:
public Field = java.text.NumberFormat$Field of java.text.NumberFormat
public final Style = java.text.NumberFormat$Style of java.text.NumberFormat
public final Category = java.util.Locale$Category of java.util.Locale