public class sun.java2d.marlin.stats.StatLong
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: sun.java2d.marlin.stats.StatLong
super_class: java.lang.Object
{
public final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public long count;
descriptor: J
flags: (0x0001) ACC_PUBLIC
public long sum;
descriptor: J
flags: (0x0001) ACC_PUBLIC
public long min;
descriptor: J
flags: (0x0001) ACC_PUBLIC
public long max;
descriptor: J
flags: (0x0001) ACC_PUBLIC
public void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lconst_0
putfield sun.java2d.marlin.stats.StatLong.count:J
2: aload 0
lconst_0
putfield sun.java2d.marlin.stats.StatLong.sum:J
3: aload 0
ldc 2147483647
putfield sun.java2d.marlin.stats.StatLong.min:J
4: aload 0
ldc -2147483648
putfield sun.java2d.marlin.stats.StatLong.max:J
5: aload 0
aload 1
putfield sun.java2d.marlin.stats.StatLong.name:Ljava/lang/String;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/java2d/marlin/stats/StatLong;
0 7 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name final
public void reset();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
lconst_0
putfield sun.java2d.marlin.stats.StatLong.count:J
1: aload 0
lconst_0
putfield sun.java2d.marlin.stats.StatLong.sum:J
2: aload 0
ldc 2147483647
putfield sun.java2d.marlin.stats.StatLong.min:J
3: aload 0
ldc -2147483648
putfield sun.java2d.marlin.stats.StatLong.max:J
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/java2d/marlin/stats/StatLong;
public void add(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield sun.java2d.marlin.stats.StatLong.count:J
lconst_1
ladd
putfield sun.java2d.marlin.stats.StatLong.count:J
1: aload 0
dup
getfield sun.java2d.marlin.stats.StatLong.sum:J
iload 1
i2l
ladd
putfield sun.java2d.marlin.stats.StatLong.sum:J
2: iload 1
i2l
aload 0
getfield sun.java2d.marlin.stats.StatLong.min:J
lcmp
ifge 4
3: aload 0
iload 1
i2l
putfield sun.java2d.marlin.stats.StatLong.min:J
4: StackMap locals:
StackMap stack:
iload 1
i2l
aload 0
getfield sun.java2d.marlin.stats.StatLong.max:J
lcmp
ifle 6
5: aload 0
iload 1
i2l
putfield sun.java2d.marlin.stats.StatLong.max:J
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/java2d/marlin/stats/StatLong;
0 7 1 val I
MethodParameters:
Name Flags
val final
public void add(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield sun.java2d.marlin.stats.StatLong.count:J
lconst_1
ladd
putfield sun.java2d.marlin.stats.StatLong.count:J
1: aload 0
dup
getfield sun.java2d.marlin.stats.StatLong.sum:J
lload 1
ladd
putfield sun.java2d.marlin.stats.StatLong.sum:J
2: lload 1
aload 0
getfield sun.java2d.marlin.stats.StatLong.min:J
lcmp
ifge 4
3: aload 0
lload 1
putfield sun.java2d.marlin.stats.StatLong.min:J
4: StackMap locals:
StackMap stack:
lload 1
aload 0
getfield sun.java2d.marlin.stats.StatLong.max:J
lcmp
ifle 6
5: aload 0
lload 1
putfield sun.java2d.marlin.stats.StatLong.max:J
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/java2d/marlin/stats/StatLong;
0 7 1 val J
MethodParameters:
Name Flags
val final
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
sipush 128
invokespecial java.lang.StringBuilder.<init>:(I)V
astore 1
start local 1 1: aload 0
aload 1
invokevirtual sun.java2d.marlin.stats.StatLong.toString:(Ljava/lang/StringBuilder;)Ljava/lang/StringBuilder;
pop
2: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/java2d/marlin/stats/StatLong;
1 3 1 sb Ljava/lang/StringBuilder;
public final java.lang.StringBuilder toString(java.lang.StringBuilder);
descriptor: (Ljava/lang/StringBuilder;)Ljava/lang/StringBuilder;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield sun.java2d.marlin.stats.StatLong.name:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 0
getfield sun.java2d.marlin.stats.StatLong.count:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
1: aload 1
ldc "] sum: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.java2d.marlin.stats.StatLong.sum:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " avg: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
aload 0
getfield sun.java2d.marlin.stats.StatLong.sum:J
l2d
aload 0
getfield sun.java2d.marlin.stats.StatLong.count:J
l2d
ddiv
invokestatic sun.java2d.marlin.stats.StatLong.trimTo3Digits:(D)D
invokevirtual java.lang.StringBuilder.append:(D)Ljava/lang/StringBuilder;
pop
3: aload 1
ldc " ["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.java2d.marlin.stats.StatLong.min:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc " | "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
getfield sun.java2d.marlin.stats.StatLong.max:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/java2d/marlin/stats/StatLong;
0 5 1 sb Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
sb final
public static double trimTo3Digits(double);
descriptor: (D)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: ldc 1000.0
dload 0
dmul
d2l
l2d
ldc 1000.0
ddiv
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 value D
MethodParameters:
Name Flags
value final
}
SourceFile: "StatLong.java"