public class java.util.LongSummaryStatistics implements java.util.function.LongConsumer, java.util.function.IntConsumer
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.util.LongSummaryStatistics
super_class: java.lang.Object
{
private long count;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long sum;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long min;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private long max;
descriptor: J
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc 9223372036854775807
putfield java.util.LongSummaryStatistics.min:J
2: aload 0
ldc -9223372036854775808
putfield java.util.LongSummaryStatistics.max:J
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/LongSummaryStatistics;
public void <init>(long, long, long, long);
descriptor: (JJJJ)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=5
start local 0 start local 1 start local 3 start local 5 start local 7 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc 9223372036854775807
putfield java.util.LongSummaryStatistics.min:J
2: aload 0
ldc -9223372036854775808
putfield java.util.LongSummaryStatistics.max:J
3: lload 1
lconst_0
lcmp
ifge 5
4: new java.lang.IllegalArgumentException
dup
ldc "Negative count value"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
5: StackMap locals: java.util.LongSummaryStatistics long long long long
StackMap stack:
lload 1
lconst_0
lcmp
ifle 11
6: lload 3
lload 5
lcmp
ifle 7
new java.lang.IllegalArgumentException
dup
ldc "Minimum greater than maximum"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
7: StackMap locals:
StackMap stack:
aload 0
lload 1
putfield java.util.LongSummaryStatistics.count:J
8: aload 0
lload 7
putfield java.util.LongSummaryStatistics.sum:J
9: aload 0
lload 3
putfield java.util.LongSummaryStatistics.min:J
10: aload 0
lload 5
putfield java.util.LongSummaryStatistics.max:J
11: StackMap locals:
StackMap stack:
return
end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/util/LongSummaryStatistics;
0 12 1 count J
0 12 3 min J
0 12 5 max J
0 12 7 sum J
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
count
min
max
sum
public void accept(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
iload 1
i2l
invokevirtual java.util.LongSummaryStatistics.accept:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/LongSummaryStatistics;
0 2 1 value I
MethodParameters:
Name Flags
value
public void accept(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 java.util.LongSummaryStatistics.count:J
lconst_1
ladd
putfield java.util.LongSummaryStatistics.count:J
1: aload 0
dup
getfield java.util.LongSummaryStatistics.sum:J
lload 1
ladd
putfield java.util.LongSummaryStatistics.sum:J
2: aload 0
aload 0
getfield java.util.LongSummaryStatistics.min:J
lload 1
invokestatic java.lang.Math.min:(JJ)J
putfield java.util.LongSummaryStatistics.min:J
3: aload 0
aload 0
getfield java.util.LongSummaryStatistics.max:J
lload 1
invokestatic java.lang.Math.max:(JJ)J
putfield java.util.LongSummaryStatistics.max:J
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/LongSummaryStatistics;
0 5 1 value J
MethodParameters:
Name Flags
value
public void combine(java.util.LongSummaryStatistics);
descriptor: (Ljava/util/LongSummaryStatistics;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield java.util.LongSummaryStatistics.count:J
aload 1
getfield java.util.LongSummaryStatistics.count:J
ladd
putfield java.util.LongSummaryStatistics.count:J
1: aload 0
dup
getfield java.util.LongSummaryStatistics.sum:J
aload 1
getfield java.util.LongSummaryStatistics.sum:J
ladd
putfield java.util.LongSummaryStatistics.sum:J
2: aload 0
aload 0
getfield java.util.LongSummaryStatistics.min:J
aload 1
getfield java.util.LongSummaryStatistics.min:J
invokestatic java.lang.Math.min:(JJ)J
putfield java.util.LongSummaryStatistics.min:J
3: aload 0
aload 0
getfield java.util.LongSummaryStatistics.max:J
aload 1
getfield java.util.LongSummaryStatistics.max:J
invokestatic java.lang.Math.max:(JJ)J
putfield java.util.LongSummaryStatistics.max:J
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/LongSummaryStatistics;
0 5 1 other Ljava/util/LongSummaryStatistics;
MethodParameters:
Name Flags
other
public final long getCount();
descriptor: ()J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.LongSummaryStatistics.count:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/LongSummaryStatistics;
public final long getSum();
descriptor: ()J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.LongSummaryStatistics.sum:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/LongSummaryStatistics;
public final long getMin();
descriptor: ()J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.LongSummaryStatistics.min:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/LongSummaryStatistics;
public final long getMax();
descriptor: ()J
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.LongSummaryStatistics.max:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/LongSummaryStatistics;
public final double getAverage();
descriptor: ()D
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.LongSummaryStatistics.getCount:()J
lconst_0
lcmp
ifle 1
aload 0
invokevirtual java.util.LongSummaryStatistics.getSum:()J
l2d
aload 0
invokevirtual java.util.LongSummaryStatistics.getCount:()J
l2d
ddiv
goto 2
StackMap locals:
StackMap stack:
1: dconst_0
StackMap locals:
StackMap stack: double
2: dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/LongSummaryStatistics;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: ldc "%s{count=%d, sum=%d, min=%d, average=%f, max=%d}"
bipush 6
anewarray java.lang.Object
dup
iconst_0
1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_1
2: aload 0
invokevirtual java.util.LongSummaryStatistics.getCount:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_2
3: aload 0
invokevirtual java.util.LongSummaryStatistics.getSum:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_3
4: aload 0
invokevirtual java.util.LongSummaryStatistics.getMin:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_4
5: aload 0
invokevirtual java.util.LongSummaryStatistics.getAverage:()D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_5
6: aload 0
invokevirtual java.util.LongSummaryStatistics.getMax:()J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
7: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/util/LongSummaryStatistics;
}
SourceFile: "LongSummaryStatistics.java"