class com.google.common.collect.Collections2$PermutationIterator<E> extends com.google.common.collect.AbstractIterator<java.util.List<E>>
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.collect.Collections2$PermutationIterator
super_class: com.google.common.collect.AbstractIterator
{
final java.util.List<E> list;
descriptor: Ljava/util/List;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/List<TE;>;
final int[] c;
descriptor: [I
flags: (0x0010) ACC_FINAL
final int[] o;
descriptor: [I
flags: (0x0010) ACC_FINAL
int j;
descriptor: I
flags: (0x0000)
void <init>(java.util.List<E>);
descriptor: (Ljava/util/List;)V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.google.common.collect.AbstractIterator.<init>:()V
1: aload 0
new java.util.ArrayList
dup
aload 1
invokespecial java.util.ArrayList.<init>:(Ljava/util/Collection;)V
putfield com.google.common.collect.Collections2$PermutationIterator.list:Ljava/util/List;
2: aload 1
invokeinterface java.util.List.size:()I
istore 2
start local 2 3: aload 0
iload 2
newarray 10
putfield com.google.common.collect.Collections2$PermutationIterator.c:[I
4: aload 0
iload 2
newarray 10
putfield com.google.common.collect.Collections2$PermutationIterator.o:[I
5: aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.c:[I
iconst_0
invokestatic java.util.Arrays.fill:([II)V
6: aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.o:[I
iconst_1
invokestatic java.util.Arrays.fill:([II)V
7: aload 0
ldc 2147483647
putfield com.google.common.collect.Collections2$PermutationIterator.j:I
8: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/collect/Collections2$PermutationIterator<TE;>;
0 9 1 list Ljava/util/List<TE;>;
3 9 2 n I
Signature: (Ljava/util/List<TE;>;)V
MethodParameters:
Name Flags
list
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$PermutationIterator.j:I
ifgt 2
1: aload 0
invokevirtual com.google.common.collect.Collections2$PermutationIterator.endOfData:()Ljava/lang/Object;
checkcast java.util.List
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.list: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$PermutationIterator.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$PermutationIterator<TE;>;
3 5 1 next Lcom/google/common/collect/ImmutableList<TE;>;
Signature: ()Ljava/util/List<TE;>;
void calculateNextPermutation();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.list:Ljava/util/List;
invokeinterface java.util.List.size:()I
iconst_1
isub
putfield com.google.common.collect.Collections2$PermutationIterator.j:I
1: iconst_0
istore 1
start local 1 2: aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.j:I
iconst_m1
if_icmpne 4
3: return
4: StackMap locals: int
StackMap stack:
aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.c:[I
aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.j:I
iaload
aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.o:[I
aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.j:I
iaload
iadd
istore 2
start local 2 5: iload 2
ifge 8
6: aload 0
invokevirtual com.google.common.collect.Collections2$PermutationIterator.switchDirection:()V
7: goto 4
8: StackMap locals: int
StackMap stack:
iload 2
aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.j:I
iconst_1
iadd
if_icmpne 14
9: aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.j:I
ifne 11
10: goto 16
11: StackMap locals:
StackMap stack:
iinc 1 1
12: aload 0
invokevirtual com.google.common.collect.Collections2$PermutationIterator.switchDirection:()V
13: goto 4
14: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.list:Ljava/util/List;
aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.j:I
aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.c:[I
aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.j:I
iaload
isub
iload 1
iadd
aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.j:I
iload 2
isub
iload 1
iadd
invokestatic java.util.Collections.swap:(Ljava/util/List;II)V
15: aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.c:[I
aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.j:I
iload 2
iastore
end local 2 16: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/google/common/collect/Collections2$PermutationIterator<TE;>;
2 17 1 s I
5 16 2 q I
void switchDirection();
descriptor: ()V
flags: (0x0000)
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.o:[I
aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.j:I
aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.o:[I
aload 0
getfield com.google.common.collect.Collections2$PermutationIterator.j:I
iaload
ineg
iastore
1: aload 0
dup
getfield com.google.common.collect.Collections2$PermutationIterator.j:I
iconst_1
isub
putfield com.google.common.collect.Collections2$PermutationIterator.j:I
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/Collections2$PermutationIterator<TE;>;
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$PermutationIterator.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 PermutationIterator = com.google.common.collect.Collections2$PermutationIterator of com.google.common.collect.Collections2