public abstract class java.util.AbstractCollection<E> implements java.util.Collection<E>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: java.util.AbstractCollection
super_class: java.lang.Object
{
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.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/AbstractCollection<TE;>;
public abstract java.util.Iterator<E> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/Iterator<TE;>;
public abstract int size();
descriptor: ()I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.AbstractCollection.size:()I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/AbstractCollection<TE;>;
public boolean contains(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 0
invokevirtual java.util.AbstractCollection.iterator:()Ljava/util/Iterator;
astore 2
start local 2 1: aload 1
ifnonnull 9
2: goto 5
3: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
ifnonnull 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: goto 10
7: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 9
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
10: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/util/AbstractCollection<TE;>;
0 11 1 o Ljava/lang/Object;
1 11 2 e Ljava/util/Iterator<TE;>;
MethodParameters:
Name Flags
o
public java.lang.Object[] toArray();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.util.AbstractCollection.size:()I
anewarray java.lang.Object
astore 1
start local 1 1: aload 0
invokevirtual java.util.AbstractCollection.iterator:()Ljava/util/Iterator;
astore 2
start local 2 2: iconst_0
istore 3
start local 3 3: goto 8
4: StackMap locals: java.lang.Object[] java.util.Iterator int
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 6
5: aload 1
iload 3
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
areturn
6: StackMap locals:
StackMap stack:
aload 1
iload 3
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
aastore
7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
aload 1
arraylength
if_icmplt 4
end local 3 9: aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 10
aload 1
aload 2
invokestatic java.util.AbstractCollection.finishToArray:([Ljava/lang/Object;Ljava/util/Iterator;)[Ljava/lang/Object;
goto 11
StackMap locals:
StackMap stack:
10: aload 1
StackMap locals:
StackMap stack: java.lang.Object[]
11: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/util/AbstractCollection<TE;>;
1 12 1 r [Ljava/lang/Object;
2 12 2 it Ljava/util/Iterator<TE;>;
3 9 3 i I
public <T> T[] toArray();
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual java.util.AbstractCollection.size:()I
istore 2
start local 2 1: aload 1
arraylength
iload 2
if_icmplt 2
aload 1
goto 4
2: StackMap locals: int
StackMap stack:
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getComponentType:()Ljava/lang/Class;
iload 2
invokestatic java.lang.reflect.Array.newInstance:(Ljava/lang/Class;I)Ljava/lang/Object;
3: checkcast java.lang.Object[]
4: StackMap locals:
StackMap stack: java.lang.Object[]
astore 3
start local 3 5: aload 0
invokevirtual java.util.AbstractCollection.iterator:()Ljava/util/Iterator;
astore 4
start local 4 6: iconst_0
istore 5
start local 5 7: goto 15
8: StackMap locals: java.lang.Object[] java.util.Iterator int
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 13
9: aload 1
aload 3
if_acmpeq 11
10: aload 3
iload 5
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
areturn
11: StackMap locals:
StackMap stack:
aload 3
iload 5
aconst_null
aastore
12: aload 3
areturn
13: StackMap locals:
StackMap stack:
aload 3
iload 5
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
aastore
14: iinc 5 1
StackMap locals:
StackMap stack:
15: iload 5
aload 3
arraylength
if_icmplt 8
end local 5 16: aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 17
aload 3
aload 4
invokestatic java.util.AbstractCollection.finishToArray:([Ljava/lang/Object;Ljava/util/Iterator;)[Ljava/lang/Object;
goto 18
StackMap locals:
StackMap stack:
17: aload 3
StackMap locals:
StackMap stack: java.lang.Object[]
18: areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljava/util/AbstractCollection<TE;>;
0 19 1 a [Ljava/lang/Object;
1 19 2 size I
5 19 3 r [Ljava/lang/Object;
6 19 4 it Ljava/util/Iterator<TE;>;
7 16 5 i I
Signature: <T:Ljava/lang/Object;>([TT;)[TT;
MethodParameters:
Name Flags
a
private static <T> T[] finishToArray(T[], java.util.Iterator<?>);
descriptor: ([Ljava/lang/Object;Ljava/util/Iterator;)[Ljava/lang/Object;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
arraylength
istore 2
start local 2 1: goto 13
2: StackMap locals: int
StackMap stack:
aload 0
arraylength
istore 3
start local 3 3: iload 2
iload 3
if_icmpne 12
4: iload 3
iconst_2
idiv
iconst_1
iadd
iconst_3
imul
istore 4
start local 4 5: iload 4
iload 3
if_icmpgt 11
6: iload 3
ldc 2147483647
if_icmpne 10
7: new java.lang.OutOfMemoryError
dup
8: ldc "Required array size too large"
9: invokespecial java.lang.OutOfMemoryError.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals: int int
StackMap stack:
ldc 2147483647
istore 4
11: StackMap locals:
StackMap stack:
aload 0
iload 4
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
astore 0
end local 4 12: StackMap locals:
StackMap stack:
aload 0
iload 2
iinc 2 1
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
aastore
end local 3 13: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
14: iload 2
aload 0
arraylength
if_icmpne 15
aload 0
goto 16
StackMap locals:
StackMap stack:
15: aload 0
iload 2
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object[]
16: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 r [Ljava/lang/Object;
0 17 1 it Ljava/util/Iterator<*>;
1 17 2 i I
3 13 3 cap I
5 12 4 newCap I
Signature: <T:Ljava/lang/Object;>([TT;Ljava/util/Iterator<*>;)[TT;
MethodParameters:
Name Flags
r
it
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: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/AbstractCollection<TE;>;
0 1 1 e TE;
Signature: (TE;)Z
MethodParameters:
Name Flags
e
public boolean remove(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 0
invokevirtual java.util.AbstractCollection.iterator:()Ljava/util/Iterator;
astore 2
start local 2 1: aload 1
ifnonnull 11
2: goto 6
3: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
ifnonnull 6
4: aload 2
invokeinterface java.util.Iterator.remove:()V
5: iconst_1
ireturn
6: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: goto 12
8: StackMap locals:
StackMap stack:
aload 1
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 11
9: aload 2
invokeinterface java.util.Iterator.remove:()V
10: iconst_1
ireturn
11: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
12: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/util/AbstractCollection<TE;>;
0 13 1 o Ljava/lang/Object;
1 13 2 e Ljava/util/Iterator<TE;>;
MethodParameters:
Name Flags
o
public boolean containsAll(java.util.Collection<?>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 4
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 0
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual java.util.AbstractCollection.contains:(Ljava/lang/Object;)Z
ifne 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/util/AbstractCollection<TE;>;
0 6 1 c Ljava/util/Collection<*>;
1 6 2 e Ljava/util/Iterator<*>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
c
public boolean addAll(java.util.Collection<? extends E>);
descriptor: (Ljava/util/Collection;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 5
3: StackMap locals: int java.util.Iterator
StackMap stack:
aload 0
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual java.util.AbstractCollection.add:(Ljava/lang/Object;)Z
ifeq 5
4: iconst_1
istore 2
5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/util/AbstractCollection<TE;>;
0 7 1 c Ljava/util/Collection<+TE;>;
1 7 2 modified Z
2 7 3 e Ljava/util/Iterator<+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=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
invokevirtual java.util.AbstractCollection.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 6
3: StackMap locals: int 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 6
4: aload 3
invokeinterface java.util.Iterator.remove:()V
5: iconst_1
istore 2
6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/util/AbstractCollection<TE;>;
0 8 1 c Ljava/util/Collection<*>;
1 8 2 modified Z
2 8 3 e Ljava/util/Iterator<*>;
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=4, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 0
invokevirtual java.util.AbstractCollection.iterator:()Ljava/util/Iterator;
astore 3
start local 3 2: goto 6
3: StackMap locals: int 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
ifne 6
4: aload 3
invokeinterface java.util.Iterator.remove:()V
5: iconst_1
istore 2
6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: iload 2
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Ljava/util/AbstractCollection<TE;>;
0 8 1 c Ljava/util/Collection<*>;
1 8 2 modified Z
2 8 3 e Ljava/util/Iterator<TE;>;
Signature: (Ljava/util/Collection<*>;)Z
MethodParameters:
Name Flags
c
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual java.util.AbstractCollection.iterator:()Ljava/util/Iterator;
astore 1
start local 1 1: goto 4
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
pop
3: aload 1
invokeinterface java.util.Iterator.remove:()V
4: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/util/AbstractCollection<TE;>;
1 6 1 e Ljava/util/Iterator<TE;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual java.util.AbstractCollection.iterator:()Ljava/util/Iterator;
astore 1
start local 1 1: aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
2: ldc "[]"
areturn
3: StackMap locals: java.util.Iterator
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 4: aload 2
bipush 91
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
5: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
start local 3 6: aload 2
aload 3
aload 0
if_acmpne 7
ldc "(this Collection)"
goto 8
StackMap locals: java.util.AbstractCollection java.util.Iterator java.lang.StringBuilder java.lang.Object
StackMap stack: java.lang.StringBuilder
7: aload 3
StackMap locals: java.util.AbstractCollection java.util.Iterator java.lang.StringBuilder java.lang.Object
StackMap stack: java.lang.StringBuilder java.lang.Object
8: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
9: aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 11
10: aload 2
bipush 93
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
11: StackMap locals:
StackMap stack:
aload 2
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 3 12: goto 5
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/util/AbstractCollection<TE;>;
1 13 1 i Ljava/util/Iterator<TE;>;
4 13 2 sb Ljava/lang/StringBuilder;
6 12 3 e TE;
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Collection<TE;>;
SourceFile: "AbstractCollection.java"