public class org.eclipse.collections.impl.block.procedure.CountProcedure<T> implements org.eclipse.collections.api.block.procedure.Procedure<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.collections.impl.block.procedure.CountProcedure
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private final org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate;
descriptor: Lorg/eclipse/collections/api/block/predicate/Predicate;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/eclipse/collections/api/block/predicate/Predicate<-TT;>;
private int count;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(org.eclipse.collections.api.block.predicate.Predicate<? super T>);
descriptor: (Lorg/eclipse/collections/api/block/predicate/Predicate;)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.CountProcedure.predicate:Lorg/eclipse/collections/api/block/predicate/Predicate;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/block/procedure/CountProcedure<TT;>;
0 3 1 newPredicate Lorg/eclipse/collections/api/block/predicate/Predicate<-TT;>;
Signature: (Lorg/eclipse/collections/api/block/predicate/Predicate<-TT;>;)V
MethodParameters:
Name Flags
newPredicate
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.eclipse.collections.impl.block.factory.Predicates.alwaysTrue:()Lorg/eclipse/collections/impl/block/factory/Predicates;
invokespecial org.eclipse.collections.impl.block.procedure.CountProcedure.<init>:(Lorg/eclipse/collections/api/block/predicate/Predicate;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/block/procedure/CountProcedure<TT;>;
public void value();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.collections.impl.block.procedure.CountProcedure.predicate:Lorg/eclipse/collections/api/block/predicate/Predicate;
aload 1
invokeinterface org.eclipse.collections.api.block.predicate.Predicate.accept:(Ljava/lang/Object;)Z
ifeq 2
1: aload 0
dup
getfield org.eclipse.collections.impl.block.procedure.CountProcedure.count:I
iconst_1
iadd
putfield org.eclipse.collections.impl.block.procedure.CountProcedure.count:I
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/block/procedure/CountProcedure<TT;>;
0 3 1 object TT;
Signature: (TT;)V
MethodParameters:
Name Flags
object
public int getCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.block.procedure.CountProcedure.count:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/block/procedure/CountProcedure<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lorg/eclipse/collections/api/block/procedure/Procedure<TT;>;
SourceFile: "CountProcedure.java"