public class java.util.concurrent.CopyOnWriteArraySet<E> extends java.util.AbstractSet<E> implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.util.concurrent.CopyOnWriteArraySet
super_class: java.util.AbstractSet
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5457747651344034263
private final java.util.concurrent.CopyOnWriteArrayList<E> al;
descriptor: Ljava/util/concurrent/CopyOnWriteArrayList;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/CopyOnWriteArrayList<TE;>;
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.util.AbstractSet.<init>:()V
1: aload 0
new java.util.concurrent.CopyOnWriteArrayList
dup
invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
putfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
public void <init>(java.util.Collection<? extends E>);
descriptor: (Ljava/util/Collection;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.util.AbstractSet.<init>:()V
1: aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc Ljava/util/concurrent/CopyOnWriteArraySet;
if_acmpne 6
2: aload 1
checkcast java.util.concurrent.CopyOnWriteArraySet
3: astore 2
start local 2 4: aload 0
new java.util.concurrent.CopyOnWriteArrayList
dup
aload 2
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:(Ljava/util/Collection;)V
putfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
end local 2 5: goto 8
6: StackMap locals: java.util.concurrent.CopyOnWriteArraySet java.util.Collection
StackMap stack:
aload 0
new java.util.concurrent.CopyOnWriteArrayList
dup
invokespecial java.util.concurrent.CopyOnWriteArrayList.<init>:()V
putfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
7: aload 0
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
aload 1
invokevirtual java.util.concurrent.CopyOnWriteArrayList.addAllAbsent:(Ljava/util/Collection;)I
pop
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
0 9 1 c Ljava/util/Collection<+TE;>;
4 5 2 cc Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
Signature: (Ljava/util/Collection<+TE;>;)V
MethodParameters:
Name Flags
c
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
invokevirtual java.util.concurrent.CopyOnWriteArrayList.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
invokevirtual java.util.concurrent.CopyOnWriteArrayList.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
public boolean contains(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
aload 1
invokevirtual java.util.concurrent.CopyOnWriteArrayList.contains:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
0 1 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public java.lang.Object[] toArray();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
invokevirtual java.util.concurrent.CopyOnWriteArrayList.toArray:()[Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
public <T> T[] toArray();
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
aload 1
invokevirtual java.util.concurrent.CopyOnWriteArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
0 1 1 a [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>([TT;)[TT;
MethodParameters:
Name Flags
a
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
invokevirtual java.util.concurrent.CopyOnWriteArrayList.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
public boolean remove(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
aload 1
invokevirtual java.util.concurrent.CopyOnWriteArrayList.remove:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
0 1 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public boolean add();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
aload 1
invokevirtual java.util.concurrent.CopyOnWriteArrayList.addIfAbsent:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
0 1 1 e TE;
Signature: (TE;)Z
MethodParameters:
Name Flags
e
public boolean containsAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.util.Set
ifeq 3
1: aload 0
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
invokevirtual java.util.concurrent.CopyOnWriteArrayList.getArray:()[Ljava/lang/Object;
aload 1
checkcast java.util.Set
invokestatic java.util.concurrent.CopyOnWriteArraySet.compareSets:([Ljava/lang/Object;Ljava/util/Set;)I
iflt 2
iconst_1
goto 4
StackMap locals:
StackMap stack:
2: iconst_0
goto 4
3: StackMap locals:
StackMap stack:
aload 0
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
aload 1
invokevirtual java.util.concurrent.CopyOnWriteArrayList.containsAll:(Ljava/util/Collection;)Z
4: StackMap locals:
StackMap stack: int
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
0 5 1 c Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
c
private static int compareSets([], java.util.Set<?>);
descriptor: ([Ljava/lang/Object;Ljava/util/Set;)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
arraylength
istore 2
start local 2 1: iload 2
newarray 4
astore 3
start local 3 2: iconst_0
istore 4
start local 4 3: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 6
goto 15
StackMap locals: java.lang.Object[] java.util.Set int boolean[] int top java.util.Iterator
StackMap stack:
4: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 5
start local 5 5: iload 4
istore 7
start local 7 6: goto 13
7: StackMap locals: java.lang.Object[] java.util.Set int boolean[] int java.lang.Object java.util.Iterator int
StackMap stack:
aload 3
iload 7
baload
ifne 12
aload 5
aload 0
iload 7
aaload
invokestatic java.util.Objects.equals:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 12
8: aload 3
iload 7
iconst_1
bastore
9: iload 7
iload 4
if_icmpne 15
10: StackMap locals:
StackMap stack:
iinc 4 1
iload 4
iload 2
if_icmpge 15
aload 3
iload 4
baload
ifne 10
11: goto 15
12: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
13: iload 7
iload 2
if_icmplt 7
end local 7 14: iconst_m1
ireturn
end local 5 15: StackMap locals: java.lang.Object[] java.util.Set int boolean[] int top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
16: iload 4
iload 2
if_icmpne 17
iconst_0
goto 18
StackMap locals: java.lang.Object[] java.util.Set int boolean[] int
StackMap stack:
17: iconst_1
StackMap locals:
StackMap stack: int
18: ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 snapshot [Ljava/lang/Object;
0 19 1 set Ljava/util/Set<*>;
1 19 2 len I
2 19 3 matched [Z
3 19 4 j I
5 15 5 x Ljava/lang/Object;
6 14 7 i I
Signature: ([Ljava/lang/Object;Ljava/util/Set<*>;)I
MethodParameters:
Name Flags
snapshot
set
public boolean addAll(java.util.Collection<? extends E>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
aload 1
invokevirtual java.util.concurrent.CopyOnWriteArrayList.addAllAbsent:(Ljava/util/Collection;)I
ifle 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
0 2 1 c Ljava/util/Collection<+TE;>;
Signature: (Ljava/util/Collection<+TE;>;)Z
MethodParameters:
Name Flags
c
public boolean removeAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
aload 1
invokevirtual java.util.concurrent.CopyOnWriteArrayList.removeAll:(Ljava/util/Collection;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
0 1 1 c Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
c
public boolean retainAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
aload 1
invokevirtual java.util.concurrent.CopyOnWriteArrayList.retainAll:(Ljava/util/Collection;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
0 1 1 c Ljava/util/Collection<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
c
public java.util.Iterator<E> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
invokevirtual java.util.concurrent.CopyOnWriteArrayList.iterator:()Ljava/util/Iterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
Signature: ()Ljava/util/Iterator<TE;>;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpeq 4
1: aload 1
instanceof java.util.Set
ifeq 3
2: aload 0
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
invokevirtual java.util.concurrent.CopyOnWriteArrayList.getArray:()[Ljava/lang/Object;
aload 1
checkcast java.util.Set
invokestatic java.util.concurrent.CopyOnWriteArraySet.compareSets:([Ljava/lang/Object;Ljava/util/Set;)I
ifeq 4
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
StackMap locals:
StackMap stack:
4: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
0 5 1 o Ljava/lang/Object;
MethodParameters:
Name Flags
o
public boolean removeIf(java.util.function.Predicate<? super E>);
descriptor: (Ljava/util/function/Predicate;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
aload 1
invokevirtual java.util.concurrent.CopyOnWriteArrayList.removeIf:(Ljava/util/function/Predicate;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
0 1 1 filter Ljava/util/function/Predicate<-TE;>;
Signature: (Ljava/util/function/Predicate<-TE;>;)Z
MethodParameters:
Name Flags
filter
public void forEach(java.util.function.Consumer<? super E>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
aload 1
invokevirtual java.util.concurrent.CopyOnWriteArrayList.forEach:(Ljava/util/function/Consumer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
0 2 1 action Ljava/util/function/Consumer<-TE;>;
Signature: (Ljava/util/function/Consumer<-TE;>;)V
MethodParameters:
Name Flags
action
public java.util.Spliterator<E> spliterator();
descriptor: ()Ljava/util/Spliterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.concurrent.CopyOnWriteArraySet.al:Ljava/util/concurrent/CopyOnWriteArrayList;
invokevirtual java.util.concurrent.CopyOnWriteArrayList.getArray:()[Ljava/lang/Object;
sipush 1025
1: invokestatic java.util.Spliterators.spliterator:([Ljava/lang/Object;I)Ljava/util/Spliterator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/concurrent/CopyOnWriteArraySet<TE;>;
Signature: ()Ljava/util/Spliterator<TE;>;
}
Signature: <E:Ljava/lang/Object;>Ljava/util/AbstractSet<TE;>;Ljava/io/Serializable;
SourceFile: "CopyOnWriteArraySet.java"