public abstract class java.util.AbstractSet<E> extends java.util.AbstractCollection<E> implements java.util.Set<E>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: java.util.AbstractSet
super_class: java.util.AbstractCollection
{
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.AbstractCollection.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/AbstractSet<TE;>;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof java.util.Set
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast java.util.Collection
astore 2
start local 2 5: aload 2
invokeinterface java.util.Collection.size:()I
aload 0
invokevirtual java.util.AbstractSet.size:()I
if_icmpeq 7
6: iconst_0
ireturn
7: StackMap locals: java.util.Collection
StackMap stack:
aload 0
aload 2
invokevirtual java.util.AbstractSet.containsAll:(Ljava/util/Collection;)Z
8: ireturn
9: StackMap locals:
StackMap stack: java.lang.ClassCastException
pop
10: iconst_0
ireturn
11: StackMap locals:
StackMap stack: java.lang.NullPointerException
pop
12: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/util/AbstractSet<TE;>;
0 13 1 o Ljava/lang/Object;
5 13 2 c Ljava/util/Collection;
Exception table:
from to target type
7 8 9 Class java.lang.ClassCastException
7 8 11 Class java.lang.NullPointerException
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
invokevirtual java.util.AbstractSet.iterator:()Ljava/util/Iterator;
astore 2
start local 2 2: goto 6
3: StackMap locals: int java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
start local 3 4: aload 3
ifnull 6
5: iload 1
aload 3
invokevirtual java.lang.Object.hashCode:()I
iadd
istore 1
end local 3 6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/util/AbstractSet<TE;>;
1 8 1 h I
2 8 2 i Ljava/util/Iterator<TE;>;
4 6 3 obj TE;
public boolean removeAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
invokevirtual java.util.AbstractSet.size:()I
aload 1
invokeinterface java.util.Collection.size:()I
if_icmple 7
2: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
start local 3 3: goto 5
4: StackMap locals: int java.util.Iterator
StackMap stack:
iload 2
aload 0
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual java.util.AbstractSet.remove:(Ljava/lang/Object;)Z
ior
istore 2
5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 3 6: goto 13
7: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.util.AbstractSet.iterator:()Ljava/util/Iterator;
astore 3
start local 3 8: goto 12
9: StackMap locals: java.util.Iterator
StackMap stack:
aload 1
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokeinterface java.util.Collection.contains:(Ljava/lang/Object;)Z
ifeq 12
10: aload 3
invokeinterface java.util.Iterator.remove:()V
11: iconst_1
istore 2
12: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
end local 3 13: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljava/util/AbstractSet<TE;>;
0 14 1 c Ljava/util/Collection<*>;
1 14 2 modified Z
3 6 3 i Ljava/util/Iterator<*>;
8 13 3 i Ljava/util/Iterator<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
c
}
Signature: <E:Ljava/lang/Object;>Ljava/util/AbstractCollection<TE;>;Ljava/util/Set<TE;>;
SourceFile: "AbstractSet.java"