final class com.google.common.collect.Sets$PowerSet<E> extends java.util.AbstractSet<java.util.Set<E>>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.Sets$PowerSet
super_class: java.util.AbstractSet
{
final com.google.common.collect.ImmutableMap<E, java.lang.Integer> inputSet;
descriptor: Lcom/google/common/collect/ImmutableMap;
flags: (0x0010) ACC_FINAL
Signature: Lcom/google/common/collect/ImmutableMap<TE;Ljava/lang/Integer;>;
void <init>(java.util.Set<E>);
descriptor: (Ljava/util/Set;)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.util.AbstractSet.<init>:()V
1: aload 1
invokeinterface java.util.Set.size:()I
bipush 30
if_icmpgt 2
iconst_1
goto 3
StackMap locals: com.google.common.collect.Sets$PowerSet java.util.Set
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ldc "Too many elements to create power set: %s > 30"
aload 1
invokeinterface java.util.Set.size:()I
4: invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;I)V
5: aload 0
aload 1
invokestatic com.google.common.collect.Maps.indexMap:(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableMap;
putfield com.google.common.collect.Sets$PowerSet.inputSet:Lcom/google/common/collect/ImmutableMap;
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/collect/Sets$PowerSet<TE;>;
0 7 1 input Ljava/util/Set<TE;>;
Signature: (Ljava/util/Set<TE;>;)V
MethodParameters:
Name Flags
input
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iconst_1
aload 0
getfield com.google.common.collect.Sets$PowerSet.inputSet:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.size:()I
ishl
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Sets$PowerSet<TE;>;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Sets$PowerSet<TE;>;
public java.util.Iterator<java.util.Set<E>> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: new com.google.common.collect.Sets$PowerSet$1
dup
aload 0
aload 0
invokevirtual com.google.common.collect.Sets$PowerSet.size:()I
invokespecial com.google.common.collect.Sets$PowerSet$1.<init>:(Lcom/google/common/collect/Sets$PowerSet;I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Sets$PowerSet<TE;>;
Signature: ()Ljava/util/Iterator<Ljava/util/Set<TE;>;>;
public boolean contains(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.util.Set
ifeq 3
1: aload 1
checkcast java.util.Set
astore 2
start local 2 2: aload 0
getfield com.google.common.collect.Sets$PowerSet.inputSet:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.keySet:()Lcom/google/common/collect/ImmutableSet;
aload 2
invokevirtual com.google.common.collect.ImmutableSet.containsAll:(Ljava/util/Collection;)Z
ireturn
end local 2 3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/Sets$PowerSet<TE;>;
0 4 1 obj Ljava/lang/Object;
2 3 2 set Ljava/util/Set<*>;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
obj
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof com.google.common.collect.Sets$PowerSet
ifeq 3
1: aload 1
checkcast com.google.common.collect.Sets$PowerSet
astore 2
start local 2 2: aload 0
getfield com.google.common.collect.Sets$PowerSet.inputSet:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.keySet:()Lcom/google/common/collect/ImmutableSet;
aload 2
getfield com.google.common.collect.Sets$PowerSet.inputSet:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.keySet:()Lcom/google/common/collect/ImmutableSet;
invokevirtual com.google.common.collect.ImmutableSet.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 3: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial java.util.AbstractSet.equals:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/Sets$PowerSet<TE;>;
0 4 1 obj Ljava/lang/Object;
2 3 2 that Lcom/google/common/collect/Sets$PowerSet<*>;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.Sets$PowerSet.inputSet:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.keySet:()Lcom/google/common/collect/ImmutableSet;
invokevirtual com.google.common.collect.ImmutableSet.hashCode:()I
aload 0
getfield com.google.common.collect.Sets$PowerSet.inputSet:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.size:()I
iconst_1
isub
ishl
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Sets$PowerSet<TE;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "powerSet("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.google.common.collect.Sets$PowerSet.inputSet:Lcom/google/common/collect/ImmutableMap;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Sets$PowerSet<TE;>;
}
Signature: <E:Ljava/lang/Object;>Ljava/util/AbstractSet<Ljava/util/Set<TE;>;>;
SourceFile: "Sets.java"
NestHost: com.google.common.collect.Sets
InnerClasses:
private final PowerSet = com.google.common.collect.Sets$PowerSet of com.google.common.collect.Sets
com.google.common.collect.Sets$PowerSet$1