public class org.bouncycastle.util.CollectionStore<T> implements org.bouncycastle.util.Store<T>, org.bouncycastle.util.Iterable<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.util.CollectionStore
super_class: java.lang.Object
{
private java.util.Collection<T> _local;
descriptor: Ljava/util/Collection;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Collection<TT;>;
public void <init>(java.util.Collection<T>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield org.bouncycastle.util.CollectionStore._local:Ljava/util/Collection;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/util/CollectionStore<TT;>;
0 3 1 collection Ljava/util/Collection<TT;>;
Signature: (Ljava/util/Collection<TT;>;)V
MethodParameters:
Name Flags
collection
public java.util.Collection<T> getMatches(org.bouncycastle.util.Selector<T>);
descriptor: (Lorg/bouncycastle/util/Selector;)Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: new java.util.ArrayList
dup
aload 0
getfield org.bouncycastle.util.CollectionStore._local:Ljava/util/Collection;
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
areturn
2: StackMap locals:
StackMap stack:
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 3: aload 0
getfield org.bouncycastle.util.CollectionStore._local:Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
start local 3 4: goto 8
5: StackMap locals: java.util.List java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 4
start local 4 6: aload 1
aload 4
invokeinterface org.bouncycastle.util.Selector.match:(Ljava/lang/Object;)Z
ifeq 8
7: aload 2
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
9: aload 2
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bouncycastle/util/CollectionStore<TT;>;
0 10 1 selector Lorg/bouncycastle/util/Selector<TT;>;
3 10 2 col Ljava/util/List<TT;>;
4 10 3 iter Ljava/util/Iterator<TT;>;
6 8 4 obj TT;
Signature: (Lorg/bouncycastle/util/Selector<TT;>;)Ljava/util/Collection<TT;>;
MethodParameters:
Name Flags
selector
public java.util.Iterator<T> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual org.bouncycastle.util.CollectionStore.getMatches:(Lorg/bouncycastle/util/Selector;)Ljava/util/Collection;
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/util/CollectionStore<TT;>;
Signature: ()Ljava/util/Iterator<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lorg/bouncycastle/util/Store<TT;>;Lorg/bouncycastle/util/Iterable<TT;>;
SourceFile: "CollectionStore.java"