public final class io.reactivex.internal.disposables.ListCompositeDisposable implements io.reactivex.disposables.Disposable, io.reactivex.internal.disposables.DisposableContainer
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: io.reactivex.internal.disposables.ListCompositeDisposable
super_class: java.lang.Object
{
java.util.List<io.reactivex.disposables.Disposable> resources;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<Lio/reactivex/disposables/Disposable;>;
volatile boolean disposed;
descriptor: Z
flags: (0x0040) ACC_VOLATILE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
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 Lio/reactivex/internal/disposables/ListCompositeDisposable;
public void <init>(io.reactivex.disposables.Disposable[]);
descriptor: ([Lio/reactivex/disposables/Disposable;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "resources is null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield io.reactivex.internal.disposables.ListCompositeDisposable.resources:Ljava/util/List;
3: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 8
StackMap locals: io.reactivex.internal.disposables.ListCompositeDisposable io.reactivex.disposables.Disposable[] top int int io.reactivex.disposables.Disposable[]
StackMap stack:
4: aload 5
iload 3
aaload
astore 2
start local 2 5: aload 2
ldc "Disposable item is null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
6: aload 0
getfield io.reactivex.internal.disposables.ListCompositeDisposable.resources:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 7: iinc 3 1
StackMap locals:
StackMap stack:
8: iload 3
iload 4
if_icmplt 4
9: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lio/reactivex/internal/disposables/ListCompositeDisposable;
0 10 1 resources [Lio/reactivex/disposables/Disposable;
5 7 2 d Lio/reactivex/disposables/Disposable;
MethodParameters:
Name Flags
resources
public void <init>(java.lang.Iterable<? extends io.reactivex.disposables.Disposable>);
descriptor: (Ljava/lang/Iterable;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
ldc "resources is null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
2: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield io.reactivex.internal.disposables.ListCompositeDisposable.resources:Ljava/util/List;
3: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: io.reactivex.internal.disposables.ListCompositeDisposable java.lang.Iterable top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.reactivex.disposables.Disposable
astore 2
start local 2 5: aload 2
ldc "Disposable item is null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
6: aload 0
getfield io.reactivex.internal.disposables.ListCompositeDisposable.resources:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 7: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lio/reactivex/internal/disposables/ListCompositeDisposable;
0 9 1 resources Ljava/lang/Iterable<+Lio/reactivex/disposables/Disposable;>;
5 7 2 d Lio/reactivex/disposables/Disposable;
Signature: (Ljava/lang/Iterable<+Lio/reactivex/disposables/Disposable;>;)V
MethodParameters:
Name Flags
resources
public void dispose();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.disposables.ListCompositeDisposable.disposed:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
dup
astore 2
monitorenter
3: aload 0
getfield io.reactivex.internal.disposables.ListCompositeDisposable.disposed:Z
ifeq 6
4: aload 2
monitorexit
5: return
6: StackMap locals: io.reactivex.internal.disposables.ListCompositeDisposable top io.reactivex.internal.disposables.ListCompositeDisposable
StackMap stack:
aload 0
iconst_1
putfield io.reactivex.internal.disposables.ListCompositeDisposable.disposed:Z
7: aload 0
getfield io.reactivex.internal.disposables.ListCompositeDisposable.resources:Ljava/util/List;
astore 1
start local 1 8: aload 0
aconst_null
putfield io.reactivex.internal.disposables.ListCompositeDisposable.resources:Ljava/util/List;
9: aload 2
monitorexit
10: goto 13
end local 1 StackMap locals:
StackMap stack: java.lang.Throwable
11: aload 2
monitorexit
12: athrow
start local 1 13: StackMap locals: io.reactivex.internal.disposables.ListCompositeDisposable java.util.List
StackMap stack:
aload 0
aload 1
invokevirtual io.reactivex.internal.disposables.ListCompositeDisposable.dispose:(Ljava/util/List;)V
14: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lio/reactivex/internal/disposables/ListCompositeDisposable;
8 11 1 set Ljava/util/List<Lio/reactivex/disposables/Disposable;>;
13 15 1 set Ljava/util/List<Lio/reactivex/disposables/Disposable;>;
Exception table:
from to target type
3 5 11 any
6 10 11 any
11 12 11 any
public boolean isDisposed();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.disposables.ListCompositeDisposable.disposed:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/reactivex/internal/disposables/ListCompositeDisposable;
public boolean add(io.reactivex.disposables.Disposable);
descriptor: (Lio/reactivex/disposables/Disposable;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ldc "d is null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield io.reactivex.internal.disposables.ListCompositeDisposable.disposed:Z
ifne 15
2: aload 0
dup
astore 2
monitorenter
3: aload 0
getfield io.reactivex.internal.disposables.ListCompositeDisposable.disposed:Z
ifne 11
4: aload 0
getfield io.reactivex.internal.disposables.ListCompositeDisposable.resources:Ljava/util/List;
astore 3
start local 3 5: aload 3
ifnonnull 8
6: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 3
7: aload 0
aload 3
putfield io.reactivex.internal.disposables.ListCompositeDisposable.resources:Ljava/util/List;
8: StackMap locals: io.reactivex.internal.disposables.ListCompositeDisposable java.util.List
StackMap stack:
aload 3
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
9: aload 2
monitorexit
10: iconst_1
ireturn
end local 3 11: StackMap locals:
StackMap stack:
aload 2
monitorexit
12: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
13: aload 2
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
aload 1
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
16: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lio/reactivex/internal/disposables/ListCompositeDisposable;
0 17 1 d Lio/reactivex/disposables/Disposable;
5 11 3 set Ljava/util/List<Lio/reactivex/disposables/Disposable;>;
Exception table:
from to target type
3 10 13 any
11 12 13 any
13 14 13 any
MethodParameters:
Name Flags
d
public boolean addAll(io.reactivex.disposables.Disposable[]);
descriptor: ([Lio/reactivex/disposables/Disposable;)Z
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ldc "ds is null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield io.reactivex.internal.disposables.ListCompositeDisposable.disposed:Z
ifne 20
2: aload 0
dup
astore 2
monitorenter
3: aload 0
getfield io.reactivex.internal.disposables.ListCompositeDisposable.disposed:Z
ifne 16
4: aload 0
getfield io.reactivex.internal.disposables.ListCompositeDisposable.resources:Ljava/util/List;
astore 3
start local 3 5: aload 3
ifnonnull 8
6: new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
astore 3
7: aload 0
aload 3
putfield io.reactivex.internal.disposables.ListCompositeDisposable.resources:Ljava/util/List;
8: StackMap locals: io.reactivex.internal.disposables.ListCompositeDisposable java.util.List
StackMap stack:
aload 1
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 13
StackMap locals: io.reactivex.internal.disposables.ListCompositeDisposable io.reactivex.disposables.Disposable[] io.reactivex.internal.disposables.ListCompositeDisposable java.util.List top int int io.reactivex.disposables.Disposable[]
StackMap stack:
9: aload 7
iload 5
aaload
astore 4
start local 4 10: aload 4
ldc "d is null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
11: aload 3
aload 4
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 4 12: iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
iload 6
if_icmplt 9
14: aload 2
monitorexit
15: iconst_1
ireturn
end local 3 16: StackMap locals: io.reactivex.internal.disposables.ListCompositeDisposable io.reactivex.disposables.Disposable[] io.reactivex.internal.disposables.ListCompositeDisposable
StackMap stack:
aload 2
monitorexit
17: goto 20
StackMap locals:
StackMap stack: java.lang.Throwable
18: aload 2
monitorexit
19: athrow
20: StackMap locals:
StackMap stack:
aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 24
StackMap locals: io.reactivex.internal.disposables.ListCompositeDisposable io.reactivex.disposables.Disposable[] top int int io.reactivex.disposables.Disposable[]
StackMap stack:
21: aload 5
iload 3
aaload
astore 2
start local 2 22: aload 2
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
end local 2 23: iinc 3 1
StackMap locals:
StackMap stack:
24: iload 3
iload 4
if_icmplt 21
25: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lio/reactivex/internal/disposables/ListCompositeDisposable;
0 26 1 ds [Lio/reactivex/disposables/Disposable;
5 16 3 set Ljava/util/List<Lio/reactivex/disposables/Disposable;>;
10 12 4 d Lio/reactivex/disposables/Disposable;
22 23 2 d Lio/reactivex/disposables/Disposable;
Exception table:
from to target type
3 15 18 any
16 17 18 any
18 19 18 any
MethodParameters:
Name Flags
ds
public boolean remove(io.reactivex.disposables.Disposable);
descriptor: (Lio/reactivex/disposables/Disposable;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual io.reactivex.internal.disposables.ListCompositeDisposable.delete:(Lio/reactivex/disposables/Disposable;)Z
ifeq 3
1: aload 1
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
2: iconst_1
ireturn
3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lio/reactivex/internal/disposables/ListCompositeDisposable;
0 4 1 d Lio/reactivex/disposables/Disposable;
MethodParameters:
Name Flags
d
public boolean delete(io.reactivex.disposables.Disposable);
descriptor: (Lio/reactivex/disposables/Disposable;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ldc "Disposable item is null"
invokestatic io.reactivex.internal.functions.ObjectHelper.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
1: aload 0
getfield io.reactivex.internal.disposables.ListCompositeDisposable.disposed:Z
ifeq 3
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
dup
astore 2
monitorenter
4: aload 0
getfield io.reactivex.internal.disposables.ListCompositeDisposable.disposed:Z
ifeq 7
5: aload 2
monitorexit
6: iconst_0
ireturn
7: StackMap locals: io.reactivex.internal.disposables.ListCompositeDisposable
StackMap stack:
aload 0
getfield io.reactivex.internal.disposables.ListCompositeDisposable.resources:Ljava/util/List;
astore 3
start local 3 8: aload 3
ifnull 9
aload 3
aload 1
invokeinterface java.util.List.remove:(Ljava/lang/Object;)Z
ifne 11
9: StackMap locals: java.util.List
StackMap stack:
aload 2
monitorexit
10: iconst_0
ireturn
end local 3 11: StackMap locals:
StackMap stack:
aload 2
monitorexit
12: goto 15
StackMap locals:
StackMap stack: java.lang.Throwable
13: aload 2
monitorexit
14: athrow
15: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lio/reactivex/internal/disposables/ListCompositeDisposable;
0 16 1 d Lio/reactivex/disposables/Disposable;
8 11 3 set Ljava/util/List<Lio/reactivex/disposables/Disposable;>;
Exception table:
from to target type
4 6 13 any
7 10 13 any
11 12 13 any
13 14 13 any
MethodParameters:
Name Flags
d
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
getfield io.reactivex.internal.disposables.ListCompositeDisposable.disposed:Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
dup
astore 2
monitorenter
3: aload 0
getfield io.reactivex.internal.disposables.ListCompositeDisposable.disposed:Z
ifeq 6
4: aload 2
monitorexit
5: return
6: StackMap locals: io.reactivex.internal.disposables.ListCompositeDisposable top io.reactivex.internal.disposables.ListCompositeDisposable
StackMap stack:
aload 0
getfield io.reactivex.internal.disposables.ListCompositeDisposable.resources:Ljava/util/List;
astore 1
start local 1 7: aload 0
aconst_null
putfield io.reactivex.internal.disposables.ListCompositeDisposable.resources:Ljava/util/List;
8: aload 2
monitorexit
9: goto 12
end local 1 StackMap locals:
StackMap stack: java.lang.Throwable
10: aload 2
monitorexit
11: athrow
start local 1 12: StackMap locals: io.reactivex.internal.disposables.ListCompositeDisposable java.util.List
StackMap stack:
aload 0
aload 1
invokevirtual io.reactivex.internal.disposables.ListCompositeDisposable.dispose:(Ljava/util/List;)V
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lio/reactivex/internal/disposables/ListCompositeDisposable;
7 10 1 set Ljava/util/List<Lio/reactivex/disposables/Disposable;>;
12 14 1 set Ljava/util/List<Lio/reactivex/disposables/Disposable;>;
Exception table:
from to target type
3 5 10 any
6 9 10 any
10 11 10 any
void dispose(java.util.List<io.reactivex.disposables.Disposable>);
descriptor: (Ljava/util/List;)V
flags: (0x0000)
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: return
2: StackMap locals:
StackMap stack:
aconst_null
astore 2
start local 2 3: aload 1
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
goto 12
StackMap locals: io.reactivex.internal.disposables.ListCompositeDisposable java.util.List java.util.List top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast io.reactivex.disposables.Disposable
astore 3
start local 3 5: aload 3
invokeinterface io.reactivex.disposables.Disposable.dispose:()V
6: goto 12
StackMap locals: io.reactivex.internal.disposables.ListCompositeDisposable java.util.List java.util.List io.reactivex.disposables.Disposable java.util.Iterator
StackMap stack: java.lang.Throwable
7: astore 5
start local 5 8: aload 5
invokestatic io.reactivex.exceptions.Exceptions.throwIfFatal:(Ljava/lang/Throwable;)V
9: aload 2
ifnonnull 11
10: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
11: StackMap locals: java.lang.Throwable
StackMap stack:
aload 2
aload 5
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 5 end local 3 12: StackMap locals: io.reactivex.internal.disposables.ListCompositeDisposable java.util.List java.util.List top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
13: aload 2
ifnull 17
14: aload 2
invokeinterface java.util.List.size:()I
iconst_1
if_icmpne 16
15: aload 2
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast java.lang.Throwable
invokestatic io.reactivex.internal.util.ExceptionHelper.wrapOrThrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
athrow
16: StackMap locals: io.reactivex.internal.disposables.ListCompositeDisposable java.util.List java.util.List
StackMap stack:
new io.reactivex.exceptions.CompositeException
dup
aload 2
invokespecial io.reactivex.exceptions.CompositeException.<init>:(Ljava/lang/Iterable;)V
athrow
17: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lio/reactivex/internal/disposables/ListCompositeDisposable;
0 18 1 set Ljava/util/List<Lio/reactivex/disposables/Disposable;>;
3 18 2 errors Ljava/util/List<Ljava/lang/Throwable;>;
5 12 3 o Lio/reactivex/disposables/Disposable;
8 12 5 ex Ljava/lang/Throwable;
Exception table:
from to target type
5 6 7 Class java.lang.Throwable
Signature: (Ljava/util/List<Lio/reactivex/disposables/Disposable;>;)V
MethodParameters:
Name Flags
set
}
SourceFile: "ListCompositeDisposable.java"