public final class org.eclipse.collections.impl.block.procedure.CaseProcedure<T> implements org.eclipse.collections.api.block.procedure.Procedure<T>
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.eclipse.collections.impl.block.procedure.CaseProcedure
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private final java.util.List<org.eclipse.collections.api.tuple.Pair<org.eclipse.collections.api.block.predicate.Predicate<? super T>, org.eclipse.collections.api.block.procedure.Procedure<? super T>>> predicateProcedures;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/eclipse/collections/api/tuple/Pair<Lorg/eclipse/collections/api/block/predicate/Predicate<-TT;>;Lorg/eclipse/collections/api/block/procedure/Procedure<-TT;>;>;>;
private org.eclipse.collections.api.block.procedure.Procedure<? super T> defaultProcedure;
descriptor: Lorg/eclipse/collections/api/block/procedure/Procedure;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/eclipse/collections/api/block/procedure/Procedure<-TT;>;
public void <init>(org.eclipse.collections.api.block.procedure.Procedure<? super T>);
descriptor: (Lorg/eclipse/collections/api/block/procedure/Procedure;)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
getstatic org.eclipse.collections.api.factory.Lists.mutable:Lorg/eclipse/collections/api/factory/list/MutableListFactory;
invokeinterface org.eclipse.collections.api.factory.list.MutableListFactory.empty:()Lorg/eclipse/collections/api/list/MutableList;
putfield org.eclipse.collections.impl.block.procedure.CaseProcedure.predicateProcedures:Ljava/util/List;
2: aload 0
aload 1
putfield org.eclipse.collections.impl.block.procedure.CaseProcedure.defaultProcedure:Lorg/eclipse/collections/api/block/procedure/Procedure;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/collections/impl/block/procedure/CaseProcedure<TT;>;
0 4 1 defaultProcedure Lorg/eclipse/collections/api/block/procedure/Procedure<-TT;>;
Signature: (Lorg/eclipse/collections/api/block/procedure/Procedure<-TT;>;)V
MethodParameters:
Name Flags
defaultProcedure
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
getstatic org.eclipse.collections.api.factory.Lists.mutable:Lorg/eclipse/collections/api/factory/list/MutableListFactory;
invokeinterface org.eclipse.collections.api.factory.list.MutableListFactory.empty:()Lorg/eclipse/collections/api/list/MutableList;
putfield org.eclipse.collections.impl.block.procedure.CaseProcedure.predicateProcedures:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/block/procedure/CaseProcedure<TT;>;
public org.eclipse.collections.impl.block.procedure.CaseProcedure<T> addCase(org.eclipse.collections.api.block.predicate.Predicate<? super T>, org.eclipse.collections.api.block.procedure.Procedure<? super T>);
descriptor: (Lorg/eclipse/collections/api/block/predicate/Predicate;Lorg/eclipse/collections/api/block/procedure/Procedure;)Lorg/eclipse/collections/impl/block/procedure/CaseProcedure;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.eclipse.collections.impl.block.procedure.CaseProcedure.predicateProcedures:Ljava/util/List;
aload 1
aload 2
invokestatic org.eclipse.collections.impl.tuple.Tuples.pair:(Ljava/lang/Object;Ljava/lang/Object;)Lorg/eclipse/collections/api/tuple/Pair;
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/block/procedure/CaseProcedure<TT;>;
0 2 1 predicate Lorg/eclipse/collections/api/block/predicate/Predicate<-TT;>;
0 2 2 procedure Lorg/eclipse/collections/api/block/procedure/Procedure<-TT;>;
Signature: (Lorg/eclipse/collections/api/block/predicate/Predicate<-TT;>;Lorg/eclipse/collections/api/block/procedure/Procedure<-TT;>;)Lorg/eclipse/collections/impl/block/procedure/CaseProcedure<TT;>;
MethodParameters:
Name Flags
predicate
procedure
public org.eclipse.collections.impl.block.procedure.CaseProcedure<T> setDefault(org.eclipse.collections.api.block.procedure.Procedure<? super T>);
descriptor: (Lorg/eclipse/collections/api/block/procedure/Procedure;)Lorg/eclipse/collections/impl/block/procedure/CaseProcedure;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.collections.impl.block.procedure.CaseProcedure.defaultProcedure:Lorg/eclipse/collections/api/block/procedure/Procedure;
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/collections/impl/block/procedure/CaseProcedure<TT;>;
0 2 1 procedure Lorg/eclipse/collections/api/block/procedure/Procedure<-TT;>;
Signature: (Lorg/eclipse/collections/api/block/procedure/Procedure<-TT;>;)Lorg/eclipse/collections/impl/block/procedure/CaseProcedure<TT;>;
MethodParameters:
Name Flags
procedure
public void value();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.collections.impl.block.procedure.CaseProcedure.predicateProcedures:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 2
start local 2 1: iconst_0
istore 3
start local 3 2: goto 8
3: StackMap locals: int int
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.block.procedure.CaseProcedure.predicateProcedures:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.eclipse.collections.api.tuple.Pair
astore 4
start local 4 4: aload 4
invokeinterface org.eclipse.collections.api.tuple.Pair.getOne:()Ljava/lang/Object;
checkcast org.eclipse.collections.api.block.predicate.Predicate
aload 1
invokeinterface org.eclipse.collections.api.block.predicate.Predicate.accept:(Ljava/lang/Object;)Z
ifeq 7
5: aload 4
invokeinterface org.eclipse.collections.api.tuple.Pair.getTwo:()Ljava/lang/Object;
checkcast org.eclipse.collections.api.block.procedure.Procedure
aload 1
invokeinterface org.eclipse.collections.api.block.procedure.Procedure.value:(Ljava/lang/Object;)V
6: return
end local 4 7: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 2
if_icmplt 3
end local 3 9: aload 0
getfield org.eclipse.collections.impl.block.procedure.CaseProcedure.defaultProcedure:Lorg/eclipse/collections/api/block/procedure/Procedure;
ifnull 11
10: aload 0
getfield org.eclipse.collections.impl.block.procedure.CaseProcedure.defaultProcedure:Lorg/eclipse/collections/api/block/procedure/Procedure;
aload 1
invokeinterface org.eclipse.collections.api.block.procedure.Procedure.value:(Ljava/lang/Object;)V
11: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/eclipse/collections/impl/block/procedure/CaseProcedure<TT;>;
0 12 1 argument TT;
1 12 2 localSize I
2 9 3 i I
4 7 4 pair Lorg/eclipse/collections/api/tuple/Pair<Lorg/eclipse/collections/api/block/predicate/Predicate<-TT;>;Lorg/eclipse/collections/api/block/procedure/Procedure<-TT;>;>;
Signature: (TT;)V
MethodParameters:
Name Flags
argument
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "new CaseProcedure("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.eclipse.collections.impl.block.procedure.CaseProcedure.predicateProcedures:Ljava/util/List;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/block/procedure/CaseProcedure<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lorg/eclipse/collections/api/block/procedure/Procedure<TT;>;
SourceFile: "CaseProcedure.java"