public class org.eclipse.collections.impl.block.procedure.SumOfDoubleProcedure<T> implements org.eclipse.collections.api.block.procedure.Procedure<T>, org.eclipse.collections.impl.block.procedure.DoubleSumResultHolder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.collections.impl.block.procedure.SumOfDoubleProcedure
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private final org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> function;
descriptor: Lorg/eclipse/collections/api/block/function/primitive/DoubleFunction;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/eclipse/collections/api/block/function/primitive/DoubleFunction<-TT;>;
private double result;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private double compensation;
descriptor: D
flags: (0x0002) ACC_PRIVATE
public void <init>(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T>);
descriptor: (Lorg/eclipse/collections/api/block/function/primitive/DoubleFunction;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.eclipse.collections.impl.block.procedure.SumOfDoubleProcedure.function:Lorg/eclipse/collections/api/block/function/primitive/DoubleFunction;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/block/procedure/SumOfDoubleProcedure<TT;>;
0 3 1 function Lorg/eclipse/collections/api/block/function/primitive/DoubleFunction<-TT;>;
Signature: (Lorg/eclipse/collections/api/block/function/primitive/DoubleFunction<-TT;>;)V
MethodParameters:
Name Flags
function
public double getResult();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.block.procedure.SumOfDoubleProcedure.result:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/block/procedure/SumOfDoubleProcedure<TT;>;
public double getCompensation();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.block.procedure.SumOfDoubleProcedure.compensation:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/block/procedure/SumOfDoubleProcedure<TT;>;
public void value();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.collections.impl.block.procedure.SumOfDoubleProcedure.function:Lorg/eclipse/collections/api/block/function/primitive/DoubleFunction;
aload 1
invokeinterface org.eclipse.collections.api.block.function.primitive.DoubleFunction.doubleValueOf:(Ljava/lang/Object;)D
aload 0
getfield org.eclipse.collections.impl.block.procedure.SumOfDoubleProcedure.compensation:D
dsub
dstore 2
start local 2 1: aload 0
getfield org.eclipse.collections.impl.block.procedure.SumOfDoubleProcedure.result:D
dload 2
dadd
dstore 4
start local 4 2: aload 0
dload 4
aload 0
getfield org.eclipse.collections.impl.block.procedure.SumOfDoubleProcedure.result:D
dsub
dload 2
dsub
putfield org.eclipse.collections.impl.block.procedure.SumOfDoubleProcedure.compensation:D
3: aload 0
dload 4
putfield org.eclipse.collections.impl.block.procedure.SumOfDoubleProcedure.result:D
4: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/collections/impl/block/procedure/SumOfDoubleProcedure<TT;>;
0 5 1 each TT;
1 5 2 adjustedValue D
2 5 4 nextSum D
Signature: (TT;)V
MethodParameters:
Name Flags
each
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lorg/eclipse/collections/api/block/procedure/Procedure<TT;>;Lorg/eclipse/collections/impl/block/procedure/DoubleSumResultHolder;
SourceFile: "SumOfDoubleProcedure.java"