abstract class com.google.common.util.concurrent.CollectionFuture<V, C> extends com.google.common.util.concurrent.AggregateFuture<V, C>
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: com.google.common.util.concurrent.CollectionFuture
super_class: com.google.common.util.concurrent.AggregateFuture
{
private java.util.List<com.google.common.util.concurrent.CollectionFuture$Present<V>> values;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/List<Lcom/google/common/util/concurrent/CollectionFuture$Present<TV;>;>;
void <init>(com.google.common.collect.ImmutableCollection<? extends com.google.common.util.concurrent.ListenableFuture<? extends V>>, );
descriptor: (Lcom/google/common/collect/ImmutableCollection;Z)V
flags: (0x0000)
Code:
stack=4, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
iload 2
iconst_1
invokespecial com.google.common.util.concurrent.AggregateFuture.<init>:(Lcom/google/common/collect/ImmutableCollection;ZZ)V
1: aload 1
invokevirtual com.google.common.collect.ImmutableCollection.isEmpty:()Z
ifeq 3
2: invokestatic com.google.common.collect.ImmutableList.of:()Lcom/google/common/collect/ImmutableList;
goto 4
3: StackMap locals: com.google.common.util.concurrent.CollectionFuture com.google.common.collect.ImmutableCollection int
StackMap stack:
aload 1
invokevirtual com.google.common.collect.ImmutableCollection.size:()I
invokestatic com.google.common.collect.Lists.newArrayListWithCapacity:(I)Ljava/util/ArrayList;
4: StackMap locals:
StackMap stack: java.util.AbstractCollection
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: goto 9
7: StackMap locals: java.util.List int
StackMap stack:
aload 3
aconst_null
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
8: iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
aload 1
invokevirtual com.google.common.collect.ImmutableCollection.size:()I
if_icmplt 7
end local 4 10: aload 0
aload 3
putfield com.google.common.util.concurrent.CollectionFuture.values:Ljava/util/List;
11: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/google/common/util/concurrent/CollectionFuture<TV;TC;>;
0 12 1 futures Lcom/google/common/collect/ImmutableCollection<+Lcom/google/common/util/concurrent/ListenableFuture<+TV;>;>;
0 12 2 allMustSucceed Z
5 12 3 values Ljava/util/List<Lcom/google/common/util/concurrent/CollectionFuture$Present<TV;>;>;
6 10 4 i I
Signature: (Lcom/google/common/collect/ImmutableCollection<+Lcom/google/common/util/concurrent/ListenableFuture<+TV;>;>;Z)V
MethodParameters:
Name Flags
futures
allMustSucceed
final void collectOneValue(int, );
descriptor: (ILjava/lang/Object;)V
flags: (0x0010) ACC_FINAL
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.google.common.util.concurrent.CollectionFuture.values:Ljava/util/List;
astore 3
start local 3 1: aload 3
ifnull 3
2: aload 3
iload 1
new com.google.common.util.concurrent.CollectionFuture$Present
dup
aload 2
invokespecial com.google.common.util.concurrent.CollectionFuture$Present.<init>:(Ljava/lang/Object;)V
invokeinterface java.util.List.set:(ILjava/lang/Object;)Ljava/lang/Object;
pop
3: StackMap locals: java.util.List
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/util/concurrent/CollectionFuture<TV;TC;>;
0 4 1 index I
0 4 2 returnValue TV;
1 4 3 localValues Ljava/util/List<Lcom/google/common/util/concurrent/CollectionFuture$Present<TV;>;>;
Signature: (ITV;)V
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
index
returnValue
final void handleAllCompleted();
descriptor: ()V
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.CollectionFuture.values:Ljava/util/List;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 0
aload 0
aload 1
invokevirtual com.google.common.util.concurrent.CollectionFuture.combine:(Ljava/util/List;)Ljava/lang/Object;
invokevirtual com.google.common.util.concurrent.CollectionFuture.set:(Ljava/lang/Object;)Z
pop
3: StackMap locals: java.util.List
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/util/concurrent/CollectionFuture<TV;TC;>;
1 4 1 localValues Ljava/util/List<Lcom/google/common/util/concurrent/CollectionFuture$Present<TV;>;>;
void releaseResources(com.google.common.util.concurrent.AggregateFuture$ReleaseResourcesReason);
descriptor: (Lcom/google/common/util/concurrent/AggregateFuture$ReleaseResourcesReason;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial com.google.common.util.concurrent.AggregateFuture.releaseResources:(Lcom/google/common/util/concurrent/AggregateFuture$ReleaseResourcesReason;)V
1: aload 0
aconst_null
putfield com.google.common.util.concurrent.CollectionFuture.values:Ljava/util/List;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/util/concurrent/CollectionFuture<TV;TC;>;
0 3 1 reason Lcom/google/common/util/concurrent/AggregateFuture$ReleaseResourcesReason;
Signature: (Lcom/google/common/util/concurrent/AggregateFuture$ReleaseResourcesReason;)V
MethodParameters:
Name Flags
reason
abstract C combine(java.util.List<com.google.common.util.concurrent.CollectionFuture$Present<V>>);
descriptor: (Ljava/util/List;)Ljava/lang/Object;
flags: (0x0400) ACC_ABSTRACT
Signature: (Ljava/util/List<Lcom/google/common/util/concurrent/CollectionFuture$Present<TV;>;>;)TC;
MethodParameters:
Name Flags
values
}
Signature: <V:Ljava/lang/Object;C:Ljava/lang/Object;>Lcom/google/common/util/concurrent/AggregateFuture<TV;TC;>;
SourceFile: "CollectionFuture.java"
NestMembers:
com.google.common.util.concurrent.CollectionFuture$ListFuture com.google.common.util.concurrent.CollectionFuture$Present
InnerClasses:
final ReleaseResourcesReason = com.google.common.util.concurrent.AggregateFuture$ReleaseResourcesReason of com.google.common.util.concurrent.AggregateFuture
final ListFuture = com.google.common.util.concurrent.CollectionFuture$ListFuture of com.google.common.util.concurrent.CollectionFuture
private final Present = com.google.common.util.concurrent.CollectionFuture$Present of com.google.common.util.concurrent.CollectionFuture
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(emulated = true)