final class com.google.common.collect.Collections2$OrderedPermutationIterator<E> extends com.google.common.collect.AbstractIterator<java.util.List<E>>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.Collections2$OrderedPermutationIterator
super_class: com.google.common.collect.AbstractIterator
{
java.util.List<E> nextPermutation;
descriptor: Ljava/util/List;
flags: (0x0000)
Signature: Ljava/util/List<TE;>;
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.Nullable()
final java.util.Comparator<? super E> comparator;
descriptor: Ljava/util/Comparator;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Comparator<-TE;>;
void <init>(java.util.List<E>, java.util.Comparator<? super E>);
descriptor: (Ljava/util/List;Ljava/util/Comparator;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.google.common.collect.AbstractIterator.<init>:()V
1: aload 0
aload 1
invokestatic com.google.common.collect.Lists.newArrayList:(Ljava/lang/Iterable;)Ljava/util/ArrayList;
putfield com.google.common.collect.Collections2$OrderedPermutationIterator.nextPermutation:Ljava/util/List;
2: aload 0
aload 2
putfield com.google.common.collect.Collections2$OrderedPermutationIterator.comparator:Ljava/util/Comparator;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/Collections2$OrderedPermutationIterator<TE;>;
0 4 1 list Ljava/util/List<TE;>;
0 4 2 comparator Ljava/util/Comparator<-TE;>;
Signature: (Ljava/util/List<TE;>;Ljava/util/Comparator<-TE;>;)V
MethodParameters:
Name Flags
list
comparator
protected java.util.List<E> computeNext();
descriptor: ()Ljava/util/List;
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.Collections2$OrderedPermutationIterator.nextPermutation:Ljava/util/List;
ifnonnull 2
1: aload 0
invokevirtual com.google.common.collect.Collections2$OrderedPermutationIterator.endOfData:()Ljava/lang/Object;
checkcast java.util.List
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.Collections2$OrderedPermutationIterator.nextPermutation:Ljava/util/List;
invokestatic com.google.common.collect.ImmutableList.copyOf:(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;
astore 1
start local 1 3: aload 0
invokevirtual com.google.common.collect.Collections2$OrderedPermutationIterator.calculateNextPermutation:()V
4: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/Collections2$OrderedPermutationIterator<TE;>;
3 5 1 next Lcom/google/common/collect/ImmutableList<TE;>;
Signature: ()Ljava/util/List<TE;>;
void calculateNextPermutation();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.collect.Collections2$OrderedPermutationIterator.findNextJ:()I
istore 1
start local 1 1: iload 1
iconst_m1
if_icmpne 4
2: aload 0
aconst_null
putfield com.google.common.collect.Collections2$OrderedPermutationIterator.nextPermutation:Ljava/util/List;
3: return
4: StackMap locals: int
StackMap stack:
aload 0
iload 1
invokevirtual com.google.common.collect.Collections2$OrderedPermutationIterator.findNextL:(I)I
istore 2
start local 2 5: aload 0
getfield com.google.common.collect.Collections2$OrderedPermutationIterator.nextPermutation:Ljava/util/List;
iload 1
iload 2
invokestatic java.util.Collections.swap:(Ljava/util/List;II)V
6: aload 0
getfield com.google.common.collect.Collections2$OrderedPermutationIterator.nextPermutation:Ljava/util/List;
invokeinterface java.util.List.size:()I
istore 3
start local 3 7: aload 0
getfield com.google.common.collect.Collections2$OrderedPermutationIterator.nextPermutation:Ljava/util/List;
iload 1
iconst_1
iadd
iload 3
invokeinterface java.util.List.subList:(II)Ljava/util/List;
invokestatic java.util.Collections.reverse:(Ljava/util/List;)V
8: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/collect/Collections2$OrderedPermutationIterator<TE;>;
1 9 1 j I
5 9 2 l I
7 9 3 n I
int findNextJ();
descriptor: ()I
flags: (0x0000)
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.Collections2$OrderedPermutationIterator.nextPermutation:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_2
isub
istore 1
start local 1 1: goto 5
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.google.common.collect.Collections2$OrderedPermutationIterator.comparator:Ljava/util/Comparator;
aload 0
getfield com.google.common.collect.Collections2$OrderedPermutationIterator.nextPermutation:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
aload 0
getfield com.google.common.collect.Collections2$OrderedPermutationIterator.nextPermutation:Ljava/util/List;
iload 1
iconst_1
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifge 4
3: iload 1
ireturn
4: StackMap locals:
StackMap stack:
iinc 1 -1
StackMap locals:
StackMap stack:
5: iload 1
ifge 2
end local 1 6: iconst_m1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/collect/Collections2$OrderedPermutationIterator<TE;>;
1 6 1 k I
int findNextL(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.Collections2$OrderedPermutationIterator.nextPermutation:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
astore 2
start local 2 1: aload 0
getfield com.google.common.collect.Collections2$OrderedPermutationIterator.nextPermutation:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
istore 3
start local 3 2: goto 6
3: StackMap locals: java.lang.Object int
StackMap stack:
aload 0
getfield com.google.common.collect.Collections2$OrderedPermutationIterator.comparator:Ljava/util/Comparator;
aload 2
aload 0
getfield com.google.common.collect.Collections2$OrderedPermutationIterator.nextPermutation:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifge 5
4: iload 3
ireturn
5: StackMap locals:
StackMap stack:
iinc 3 -1
StackMap locals:
StackMap stack:
6: iload 3
iload 1
if_icmpgt 3
end local 3 7: new java.lang.AssertionError
dup
ldc "this statement should be unreachable"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/common/collect/Collections2$OrderedPermutationIterator<TE;>;
0 8 1 j I
1 8 2 ak TE;
2 7 3 l I
MethodParameters:
Name Flags
j
protected java.lang.Object computeNext();
descriptor: ()Ljava/lang/Object;
flags: (0x1044) ACC_PROTECTED, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.google.common.collect.Collections2$OrderedPermutationIterator.computeNext:()Ljava/util/List;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <E:Ljava/lang/Object;>Lcom/google/common/collect/AbstractIterator<Ljava/util/List<TE;>;>;
SourceFile: "Collections2.java"
NestHost: com.google.common.collect.Collections2
InnerClasses:
private final OrderedPermutationIterator = com.google.common.collect.Collections2$OrderedPermutationIterator of com.google.common.collect.Collections2