final class com.google.common.collect.CartesianList<E> extends java.util.AbstractList<java.util.List<E>> implements java.util.RandomAccess
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.CartesianList
super_class: java.util.AbstractList
{
private final transient com.google.common.collect.ImmutableList<java.util.List<E>> axes;
descriptor: Lcom/google/common/collect/ImmutableList;
flags: (0x0092) ACC_PRIVATE, ACC_FINAL, ACC_TRANSIENT
Signature: Lcom/google/common/collect/ImmutableList<Ljava/util/List<TE;>;>;
private final transient int[] axesSizeProduct;
descriptor: [I
flags: (0x0092) ACC_PRIVATE, ACC_FINAL, ACC_TRANSIENT
static <E> java.util.List<java.util.List<E>> create(java.util.List<? extends java.util.List<? extends E>>);
descriptor: (Ljava/util/List;)Ljava/util/List;
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: new com.google.common.collect.ImmutableList$Builder
dup
aload 0
invokeinterface java.util.List.size:()I
invokespecial com.google.common.collect.ImmutableList$Builder.<init>:(I)V
astore 1
start local 1 1: aload 0
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 3
goto 7
StackMap locals: java.util.List com.google.common.collect.ImmutableList$Builder top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.List
astore 2
start local 2 3: aload 2
invokestatic com.google.common.collect.ImmutableList.copyOf:(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;
astore 4
start local 4 4: aload 4
invokeinterface java.util.List.isEmpty:()Z
ifeq 6
5: invokestatic com.google.common.collect.ImmutableList.of:()Lcom/google/common/collect/ImmutableList;
areturn
6: StackMap locals: java.util.List com.google.common.collect.ImmutableList$Builder java.util.List java.util.Iterator java.util.List
StackMap stack:
aload 1
aload 4
invokevirtual com.google.common.collect.ImmutableList$Builder.add:(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder;
pop
end local 4 end local 2 7: StackMap locals: java.util.List com.google.common.collect.ImmutableList$Builder top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
8: new com.google.common.collect.CartesianList
dup
aload 1
invokevirtual com.google.common.collect.ImmutableList$Builder.build:()Lcom/google/common/collect/ImmutableList;
invokespecial com.google.common.collect.CartesianList.<init>:(Lcom/google/common/collect/ImmutableList;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 lists Ljava/util/List<+Ljava/util/List<+TE;>;>;
1 9 1 axesBuilder Lcom/google/common/collect/ImmutableList$Builder<Ljava/util/List<TE;>;>;
3 7 2 list Ljava/util/List<+TE;>;
4 7 4 copy Ljava/util/List<TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/util/List<+Ljava/util/List<+TE;>;>;)Ljava/util/List<Ljava/util/List<TE;>;>;
MethodParameters:
Name Flags
lists
void <init>(com.google.common.collect.ImmutableList<java.util.List<E>>);
descriptor: (Lcom/google/common/collect/ImmutableList;)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.util.AbstractList.<init>:()V
1: aload 0
aload 1
putfield com.google.common.collect.CartesianList.axes:Lcom/google/common/collect/ImmutableList;
2: aload 1
invokevirtual com.google.common.collect.ImmutableList.size:()I
iconst_1
iadd
newarray 10
astore 2
start local 2 3: aload 2
aload 1
invokevirtual com.google.common.collect.ImmutableList.size:()I
iconst_1
iastore
4: aload 1
invokevirtual com.google.common.collect.ImmutableList.size:()I
iconst_1
isub
istore 3
start local 3 5: goto 8
6: StackMap locals: com.google.common.collect.CartesianList com.google.common.collect.ImmutableList int[] int
StackMap stack:
aload 2
iload 3
aload 2
iload 3
iconst_1
iadd
iaload
aload 1
iload 3
invokevirtual com.google.common.collect.ImmutableList.get:(I)Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.size:()I
invokestatic com.google.common.math.IntMath.checkedMultiply:(II)I
iastore
7: iinc 3 -1
StackMap locals:
StackMap stack:
8: iload 3
ifge 6
end local 3 9: goto 14
StackMap locals: com.google.common.collect.CartesianList com.google.common.collect.ImmutableList int[]
StackMap stack: java.lang.ArithmeticException
10: pop
11: new java.lang.IllegalArgumentException
dup
12: ldc "Cartesian product too large; must have size at most Integer.MAX_VALUE"
13: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
aload 0
aload 2
putfield com.google.common.collect.CartesianList.axesSizeProduct:[I
15: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/google/common/collect/CartesianList<TE;>;
0 16 1 axes Lcom/google/common/collect/ImmutableList<Ljava/util/List<TE;>;>;
3 16 2 axesSizeProduct [I
5 9 3 i I
Exception table:
from to target type
4 9 10 Class java.lang.ArithmeticException
Signature: (Lcom/google/common/collect/ImmutableList<Ljava/util/List<TE;>;>;)V
MethodParameters:
Name Flags
axes
private int getAxisIndexForProductIndex(int, int);
descriptor: (II)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
aload 0
getfield com.google.common.collect.CartesianList.axesSizeProduct:[I
iload 2
iconst_1
iadd
iaload
idiv
aload 0
getfield com.google.common.collect.CartesianList.axes:Lcom/google/common/collect/ImmutableList;
iload 2
invokevirtual com.google.common.collect.ImmutableList.get:(I)Ljava/lang/Object;
checkcast java.util.List
invokeinterface java.util.List.size:()I
irem
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/CartesianList<TE;>;
0 1 1 index I
0 1 2 axis I
MethodParameters:
Name Flags
index
axis
public com.google.common.collect.ImmutableList<E> get(int);
descriptor: (I)Lcom/google/common/collect/ImmutableList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 1
aload 0
invokevirtual com.google.common.collect.CartesianList.size:()I
invokestatic com.google.common.base.Preconditions.checkElementIndex:(II)I
pop
1: new com.google.common.collect.CartesianList$1
dup
aload 0
iload 1
invokespecial com.google.common.collect.CartesianList$1.<init>:(Lcom/google/common/collect/CartesianList;I)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/CartesianList<TE;>;
0 2 1 index I
Signature: (I)Lcom/google/common/collect/ImmutableList<TE;>;
MethodParameters:
Name Flags
index final
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.CartesianList.axesSizeProduct:[I
iconst_0
iaload
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/CartesianList<TE;>;
public boolean contains(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.util.List
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast java.util.List
astore 2
start local 2 3: aload 2
invokeinterface java.util.List.size:()I
aload 0
getfield com.google.common.collect.CartesianList.axes:Lcom/google/common/collect/ImmutableList;
invokevirtual com.google.common.collect.ImmutableList.size:()I
if_icmpeq 5
4: iconst_0
ireturn
5: StackMap locals: java.util.List
StackMap stack:
aload 2
invokeinterface java.util.List.listIterator:()Ljava/util/ListIterator;
astore 3
start local 3 6: goto 10
7: StackMap locals: java.util.ListIterator
StackMap stack:
aload 3
invokeinterface java.util.ListIterator.nextIndex:()I
istore 4
start local 4 8: aload 0
getfield com.google.common.collect.CartesianList.axes:Lcom/google/common/collect/ImmutableList;
iload 4
invokevirtual com.google.common.collect.ImmutableList.get:(I)Ljava/lang/Object;
checkcast java.util.List
aload 3
invokeinterface java.util.ListIterator.next:()Ljava/lang/Object;
invokeinterface java.util.List.contains:(Ljava/lang/Object;)Z
ifne 10
9: iconst_0
ireturn
end local 4 10: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.ListIterator.hasNext:()Z
ifne 7
11: iconst_1
ireturn
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/collect/CartesianList<TE;>;
0 12 1 o Ljava/lang/Object;
3 12 2 list Ljava/util/List<*>;
6 12 3 itr Ljava/util/ListIterator<*>;
8 10 4 index I
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
o
public java.lang.Object get(int);
descriptor: (I)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
iload 1
invokevirtual com.google.common.collect.CartesianList.get:(I)Lcom/google/common/collect/ImmutableList;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <E:Ljava/lang/Object;>Ljava/util/AbstractList<Ljava/util/List<TE;>;>;Ljava/util/RandomAccess;
SourceFile: "CartesianList.java"
NestMembers:
com.google.common.collect.CartesianList$1
InnerClasses:
com.google.common.collect.CartesianList$1
public final Builder = com.google.common.collect.ImmutableList$Builder of com.google.common.collect.ImmutableList
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible()