class com.google.common.collect.CompactHashSet<E> extends java.util.AbstractSet<E> implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.google.common.collect.CompactHashSet
super_class: java.util.AbstractSet
{
static final double HASH_FLOODING_FPP;
descriptor: D
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0.001
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
private static final int MAX_HASH_BUCKET_LENGTH;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 9
private transient java.lang.Object table;
descriptor: Ljava/lang/Object;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.Nullable()
private transient int[] entries;
descriptor: [I
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.Nullable()
transient java.lang.Object[] elements;
descriptor: [Ljava/lang/Object;
flags: (0x0080) ACC_TRANSIENT
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.Nullable()
RuntimeInvisibleTypeAnnotations:
FIELD, location=[ARRAY_ELEMENT]
com.google.common.annotations.VisibleForTesting()
private transient int metadata;
descriptor: I
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
private transient int size;
descriptor: I
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
public static <E> com.google.common.collect.CompactHashSet<E> create();
descriptor: ()Lcom/google/common/collect/CompactHashSet;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new com.google.common.collect.CompactHashSet
dup
invokespecial com.google.common.collect.CompactHashSet.<init>:()V
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <E:Ljava/lang/Object;>()Lcom/google/common/collect/CompactHashSet<TE;>;
public static <E> com.google.common.collect.CompactHashSet<E> create(java.util.Collection<? extends E>);
descriptor: (Ljava/util/Collection;)Lcom/google/common/collect/CompactHashSet;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Collection.size:()I
invokestatic com.google.common.collect.CompactHashSet.createWithExpectedSize:(I)Lcom/google/common/collect/CompactHashSet;
astore 1
start local 1 1: aload 1
aload 0
invokevirtual com.google.common.collect.CompactHashSet.addAll:(Ljava/util/Collection;)Z
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 collection Ljava/util/Collection<+TE;>;
1 3 1 set Lcom/google/common/collect/CompactHashSet<TE;>;
Signature: <E:Ljava/lang/Object;>(Ljava/util/Collection<+TE;>;)Lcom/google/common/collect/CompactHashSet<TE;>;
MethodParameters:
Name Flags
collection
public static <E> com.google.common.collect.CompactHashSet<E> create(E[]);
descriptor: ([Ljava/lang/Object;)Lcom/google/common/collect/CompactHashSet;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
arraylength
invokestatic com.google.common.collect.CompactHashSet.createWithExpectedSize:(I)Lcom/google/common/collect/CompactHashSet;
astore 1
start local 1 1: aload 1
aload 0
invokestatic java.util.Collections.addAll:(Ljava/util/Collection;[Ljava/lang/Object;)Z
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 elements [Ljava/lang/Object;
1 3 1 set Lcom/google/common/collect/CompactHashSet<TE;>;
Signature: <E:Ljava/lang/Object;>([TE;)Lcom/google/common/collect/CompactHashSet<TE;>;
RuntimeVisibleAnnotations:
java.lang.SafeVarargs()
MethodParameters:
Name Flags
elements
public static <E> com.google.common.collect.CompactHashSet<E> createWithExpectedSize(int);
descriptor: (I)Lcom/google/common/collect/CompactHashSet;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.collect.CompactHashSet
dup
iload 0
invokespecial com.google.common.collect.CompactHashSet.<init>:(I)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 expectedSize I
Signature: <E:Ljava/lang/Object;>(I)Lcom/google/common/collect/CompactHashSet<TE;>;
MethodParameters:
Name Flags
expectedSize
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.AbstractSet.<init>:()V
1: aload 0
iconst_3
invokevirtual com.google.common.collect.CompactHashSet.init:(I)V
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
void <init>(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.util.AbstractSet.<init>:()V
1: aload 0
iload 1
invokevirtual com.google.common.collect.CompactHashSet.init:(I)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 3 1 expectedSize I
MethodParameters:
Name Flags
expectedSize
void init(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iflt 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "Expected size must be >= 0"
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/Object;)V
3: aload 0
iload 1
iconst_1
ldc 1073741823
invokestatic com.google.common.primitives.Ints.constrainToRange:(III)I
putfield com.google.common.collect.CompactHashSet.metadata:I
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 5 1 expectedSize I
MethodParameters:
Name Flags
expectedSize
boolean needsAllocArrays();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.CompactHashSet.table:Ljava/lang/Object;
ifnonnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
int allocArrays();
descriptor: ()I
flags: (0x0000)
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.collect.CompactHashSet.needsAllocArrays:()Z
ldc "Arrays already allocated"
invokestatic com.google.common.base.Preconditions.checkState:(ZLjava/lang/Object;)V
1: aload 0
getfield com.google.common.collect.CompactHashSet.metadata:I
istore 1
start local 1 2: iload 1
invokestatic com.google.common.collect.CompactHashing.tableSize:(I)I
istore 2
start local 2 3: aload 0
iload 2
invokestatic com.google.common.collect.CompactHashing.createTable:(I)Ljava/lang/Object;
putfield com.google.common.collect.CompactHashSet.table:Ljava/lang/Object;
4: aload 0
iload 2
iconst_1
isub
invokevirtual com.google.common.collect.CompactHashSet.setHashTableMask:(I)V
5: aload 0
iload 1
newarray 10
putfield com.google.common.collect.CompactHashSet.entries:[I
6: aload 0
iload 1
anewarray java.lang.Object
putfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
7: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
2 8 1 expectedSize I
3 8 2 buckets I
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
java.util.Set<E> delegateOrNull();
descriptor: ()Ljava/util/Set;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.CompactHashSet.table:Ljava/lang/Object;
instanceof java.util.Set
ifeq 2
1: aload 0
getfield com.google.common.collect.CompactHashSet.table:Ljava/lang/Object;
checkcast java.util.Set
areturn
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
Signature: ()Ljava/util/Set<TE;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeVisibleTypeAnnotations:
METHOD_RETURN
org.checkerframework.checker.nullness.qual.Nullable()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
private java.util.Set<E> createHashFloodingResistantDelegate(int);
descriptor: (I)Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new java.util.LinkedHashSet
dup
iload 1
fconst_1
invokespecial java.util.LinkedHashSet.<init>:(IF)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 1 1 tableSize I
Signature: (I)Ljava/util/Set<TE;>;
MethodParameters:
Name Flags
tableSize
java.util.Set<E> convertToHashFloodingResistantImplementation();
descriptor: ()Ljava/util/Set;
flags: (0x0000)
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual com.google.common.collect.CompactHashSet.hashTableMask:()I
iconst_1
iadd
invokevirtual com.google.common.collect.CompactHashSet.createHashFloodingResistantDelegate:(I)Ljava/util/Set;
astore 1
start local 1 1: aload 0
invokevirtual com.google.common.collect.CompactHashSet.firstEntryIndex:()I
istore 2
start local 2 2: goto 5
3: StackMap locals: java.util.Set int
StackMap stack:
aload 1
aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iload 2
aaload
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: aload 0
iload 2
invokevirtual com.google.common.collect.CompactHashSet.getSuccessor:(I)I
istore 2
StackMap locals:
StackMap stack:
5: iload 2
ifge 3
end local 2 6: aload 0
aload 1
putfield com.google.common.collect.CompactHashSet.table:Ljava/lang/Object;
7: aload 0
aconst_null
putfield com.google.common.collect.CompactHashSet.entries:[I
8: aload 0
aconst_null
putfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
9: aload 0
invokevirtual com.google.common.collect.CompactHashSet.incrementModCount:()V
10: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
1 11 1 newDelegate Ljava/util/Set<TE;>;
2 6 2 i I
Signature: ()Ljava/util/Set<TE;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
com.google.errorprone.annotations.CanIgnoreReturnValue()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
boolean isUsingHashFloodingResistance();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.collect.CompactHashSet.delegateOrNull:()Ljava/util/Set;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.VisibleForTesting()
RuntimeInvisibleTypeAnnotations:
METHOD_RETURN
com.google.common.annotations.VisibleForTesting()
private void setHashTableMask(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: bipush 32
iload 1
invokestatic java.lang.Integer.numberOfLeadingZeros:(I)I
isub
istore 2
start local 2 1: aload 0
2: aload 0
getfield com.google.common.collect.CompactHashSet.metadata:I
iload 2
bipush 31
invokestatic com.google.common.collect.CompactHashing.maskCombine:(III)I
3: putfield com.google.common.collect.CompactHashSet.metadata:I
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 5 1 mask I
1 5 2 hashTableBits I
MethodParameters:
Name Flags
mask
private int hashTableMask();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: iconst_1
aload 0
getfield com.google.common.collect.CompactHashSet.metadata:I
bipush 31
iand
ishl
iconst_1
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
void incrementModCount();
descriptor: ()V
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield com.google.common.collect.CompactHashSet.metadata:I
bipush 32
iadd
putfield com.google.common.collect.CompactHashSet.metadata:I
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
public boolean add();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=15, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.collect.CompactHashSet.needsAllocArrays:()Z
ifeq 2
1: aload 0
invokevirtual com.google.common.collect.CompactHashSet.allocArrays:()I
pop
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.google.common.collect.CompactHashSet.delegateOrNull:()Ljava/util/Set;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 2
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
ireturn
5: StackMap locals: java.util.Set
StackMap stack:
aload 0
getfield com.google.common.collect.CompactHashSet.entries:[I
astore 3
start local 3 6: aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
astore 4
start local 4 7: aload 0
getfield com.google.common.collect.CompactHashSet.size:I
istore 5
start local 5 8: iload 5
iconst_1
iadd
istore 6
start local 6 9: aload 1
invokestatic com.google.common.collect.Hashing.smearedHash:(Ljava/lang/Object;)I
istore 7
start local 7 10: aload 0
invokevirtual com.google.common.collect.CompactHashSet.hashTableMask:()I
istore 8
start local 8 11: iload 7
iload 8
iand
istore 9
start local 9 12: aload 0
getfield com.google.common.collect.CompactHashSet.table:Ljava/lang/Object;
iload 9
invokestatic com.google.common.collect.CompactHashing.tableGet:(Ljava/lang/Object;I)I
istore 10
start local 10 13: iload 10
ifne 19
14: iload 6
iload 8
if_icmple 17
15: aload 0
iload 8
iload 8
invokestatic com.google.common.collect.CompactHashing.newCapacity:(I)I
iload 7
iload 5
invokevirtual com.google.common.collect.CompactHashSet.resizeTable:(IIII)I
istore 8
16: goto 35
17: StackMap locals: com.google.common.collect.CompactHashSet java.lang.Object java.util.Set int[] java.lang.Object[] int int int int int int
StackMap stack:
aload 0
getfield com.google.common.collect.CompactHashSet.table:Ljava/lang/Object;
iload 9
iload 5
iconst_1
iadd
invokestatic com.google.common.collect.CompactHashing.tableSet:(Ljava/lang/Object;II)V
18: goto 35
19: StackMap locals:
StackMap stack:
iload 7
iload 8
invokestatic com.google.common.collect.CompactHashing.getHashPrefix:(II)I
istore 13
start local 13 20: iconst_0
istore 14
start local 14 21: StackMap locals: com.google.common.collect.CompactHashSet java.lang.Object java.util.Set int[] java.lang.Object[] int int int int int int top top int int
StackMap stack:
iload 10
iconst_1
isub
istore 11
start local 11 22: aload 3
iload 11
iaload
istore 12
start local 12 23: iload 12
iload 8
invokestatic com.google.common.collect.CompactHashing.getHashPrefix:(II)I
iload 13
if_icmpne 26
24: aload 1
aload 4
iload 11
aaload
invokestatic com.google.common.base.Objects.equal:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 26
25: iconst_0
ireturn
26: StackMap locals: com.google.common.collect.CompactHashSet java.lang.Object java.util.Set int[] java.lang.Object[] int int int int int int int int int int
StackMap stack:
iload 12
iload 8
invokestatic com.google.common.collect.CompactHashing.getNext:(II)I
istore 10
27: iinc 14 1
28: iload 10
ifne 21
29: iload 14
bipush 9
if_icmplt 31
30: aload 0
invokevirtual com.google.common.collect.CompactHashSet.convertToHashFloodingResistantImplementation:()Ljava/util/Set;
aload 1
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
ireturn
31: StackMap locals:
StackMap stack:
iload 6
iload 8
if_icmple 34
32: aload 0
iload 8
iload 8
invokestatic com.google.common.collect.CompactHashing.newCapacity:(I)I
iload 7
iload 5
invokevirtual com.google.common.collect.CompactHashSet.resizeTable:(IIII)I
istore 8
33: goto 35
34: StackMap locals:
StackMap stack:
aload 3
iload 11
iload 12
iload 5
iconst_1
iadd
iload 8
invokestatic com.google.common.collect.CompactHashing.maskCombine:(III)I
iastore
end local 14 end local 13 end local 12 end local 11 35: StackMap locals: com.google.common.collect.CompactHashSet java.lang.Object java.util.Set int[] java.lang.Object[] int int int int int int
StackMap stack:
aload 0
iload 6
invokevirtual com.google.common.collect.CompactHashSet.resizeMeMaybe:(I)V
36: aload 0
iload 5
aload 1
iload 7
iload 8
invokevirtual com.google.common.collect.CompactHashSet.insertEntry:(ILjava/lang/Object;II)V
37: aload 0
iload 6
putfield com.google.common.collect.CompactHashSet.size:I
38: aload 0
invokevirtual com.google.common.collect.CompactHashSet.incrementModCount:()V
39: iconst_1
ireturn
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 40 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 40 1 object TE;
3 40 2 delegate Ljava/util/Set<TE;>;
6 40 3 entries [I
7 40 4 elements [Ljava/lang/Object;
8 40 5 newEntryIndex I
9 40 6 newSize I
10 40 7 hash I
11 40 8 mask I
12 40 9 tableIndex I
13 40 10 next I
22 35 11 entryIndex I
23 35 12 entry I
20 35 13 hashPrefix I
21 35 14 bucketLength I
Signature: (TE;)Z
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
LOCAL_VARIABLE, {start=3, end=40, index=2}
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
object
void insertEntry(int, E, int, );
descriptor: (ILjava/lang/Object;II)V
flags: (0x0000)
Code:
stack=5, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[I
iload 1
iload 3
iconst_0
iload 4
invokestatic com.google.common.collect.CompactHashing.maskCombine:(III)I
iastore
1: aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iload 1
aload 2
aastore
2: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 3 1 entryIndex I
0 3 2 object TE;
0 3 3 hash I
0 3 4 mask I
Signature: (ITE;II)V
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
entryIndex
object
hash
mask
private void resizeMeMaybe(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[I
arraylength
istore 2
start local 2 1: iload 1
iload 2
if_icmple 6
2: ldc 1073741823
iload 2
iconst_1
iload 2
iconst_1
iushr
invokestatic java.lang.Math.max:(II)I
iadd
iconst_1
ior
invokestatic java.lang.Math.min:(II)I
3: istore 3
start local 3 4: iload 3
iload 2
if_icmpeq 6
5: aload 0
iload 3
invokevirtual com.google.common.collect.CompactHashSet.resizeEntries:(I)V
end local 3 6: StackMap locals: int
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 7 1 newSize I
1 7 2 entriesSize I
4 6 3 newCapacity I
MethodParameters:
Name Flags
newSize
void resizeEntries(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield com.google.common.collect.CompactHashSet.entries:[I
iload 1
invokestatic java.util.Arrays.copyOf:([II)[I
putfield com.google.common.collect.CompactHashSet.entries:[I
1: aload 0
aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iload 1
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
putfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 3 1 newCapacity I
MethodParameters:
Name Flags
newCapacity
private int resizeTable(int, int, int, int);
descriptor: (IIII)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=16, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: iload 2
invokestatic com.google.common.collect.CompactHashing.createTable:(I)Ljava/lang/Object;
astore 5
start local 5 1: iload 2
iconst_1
isub
istore 6
start local 6 2: iload 4
ifeq 4
3: aload 5
iload 3
iload 6
iand
iload 4
iconst_1
iadd
invokestatic com.google.common.collect.CompactHashing.tableSet:(Ljava/lang/Object;II)V
4: StackMap locals: java.lang.Object int
StackMap stack:
aload 0
getfield com.google.common.collect.CompactHashSet.table:Ljava/lang/Object;
astore 7
start local 7 5: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[I
astore 8
start local 8 6: iconst_0
istore 9
start local 9 7: goto 20
8: StackMap locals: java.lang.Object int[] int
StackMap stack:
aload 7
iload 9
invokestatic com.google.common.collect.CompactHashing.tableGet:(Ljava/lang/Object;I)I
istore 10
start local 10 9: goto 18
10: StackMap locals: int
StackMap stack:
iload 10
iconst_1
isub
istore 11
start local 11 11: aload 8
iload 11
iaload
istore 12
start local 12 12: iload 12
iload 1
invokestatic com.google.common.collect.CompactHashing.getHashPrefix:(II)I
iload 9
ior
istore 13
start local 13 13: iload 13
iload 6
iand
istore 14
start local 14 14: aload 5
iload 14
invokestatic com.google.common.collect.CompactHashing.tableGet:(Ljava/lang/Object;I)I
istore 15
start local 15 15: aload 5
iload 14
iload 10
invokestatic com.google.common.collect.CompactHashing.tableSet:(Ljava/lang/Object;II)V
16: aload 8
iload 11
iload 13
iload 15
iload 6
invokestatic com.google.common.collect.CompactHashing.maskCombine:(III)I
iastore
17: iload 12
iload 1
invokestatic com.google.common.collect.CompactHashing.getNext:(II)I
istore 10
end local 15 end local 14 end local 13 end local 12 end local 11 18: StackMap locals:
StackMap stack:
iload 10
ifne 10
end local 10 19: iinc 9 1
StackMap locals:
StackMap stack:
20: iload 9
iload 1
if_icmple 8
end local 9 21: aload 0
aload 5
putfield com.google.common.collect.CompactHashSet.table:Ljava/lang/Object;
22: aload 0
iload 6
invokevirtual com.google.common.collect.CompactHashSet.setHashTableMask:(I)V
23: iload 6
ireturn
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 24 1 mask I
0 24 2 newCapacity I
0 24 3 targetHash I
0 24 4 targetEntryIndex I
1 24 5 newTable Ljava/lang/Object;
2 24 6 newMask I
5 24 7 table Ljava/lang/Object;
6 24 8 entries [I
7 21 9 tableIndex I
9 19 10 next I
11 18 11 entryIndex I
12 18 12 entry I
13 18 13 hash I
14 18 14 newTableIndex I
15 18 15 newNext I
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
mask
newCapacity
targetHash
targetEntryIndex
public boolean contains(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.collect.CompactHashSet.needsAllocArrays:()Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.google.common.collect.CompactHashSet.delegateOrNull:()Ljava/util/Set;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 2
aload 1
invokeinterface java.util.Set.contains:(Ljava/lang/Object;)Z
ireturn
5: StackMap locals: java.util.Set
StackMap stack:
aload 1
invokestatic com.google.common.collect.Hashing.smearedHash:(Ljava/lang/Object;)I
istore 3
start local 3 6: aload 0
invokevirtual com.google.common.collect.CompactHashSet.hashTableMask:()I
istore 4
start local 4 7: aload 0
getfield com.google.common.collect.CompactHashSet.table:Ljava/lang/Object;
iload 3
iload 4
iand
invokestatic com.google.common.collect.CompactHashing.tableGet:(Ljava/lang/Object;I)I
istore 5
start local 5 8: iload 5
ifne 10
9: iconst_0
ireturn
10: StackMap locals: int int int
StackMap stack:
iload 3
iload 4
invokestatic com.google.common.collect.CompactHashing.getHashPrefix:(II)I
istore 6
start local 6 11: StackMap locals: int
StackMap stack:
iload 5
iconst_1
isub
istore 7
start local 7 12: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[I
iload 7
iaload
istore 8
start local 8 13: iload 8
iload 4
invokestatic com.google.common.collect.CompactHashing.getHashPrefix:(II)I
iload 6
if_icmpne 16
14: aload 1
aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iload 7
aaload
invokestatic com.google.common.base.Objects.equal:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 16
15: iconst_1
ireturn
16: StackMap locals: int int
StackMap stack:
iload 8
iload 4
invokestatic com.google.common.collect.CompactHashing.getNext:(II)I
istore 5
end local 8 end local 7 17: iload 5
ifne 11
18: iconst_0
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 19 1 object Ljava/lang/Object;
3 19 2 delegate Ljava/util/Set<TE;>;
6 19 3 hash I
7 19 4 mask I
8 19 5 next I
11 19 6 hashPrefix I
12 17 7 entryIndex I
13 17 8 entry I
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
LOCAL_VARIABLE, {start=3, end=19, index=2}
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
object
public boolean remove(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.collect.CompactHashSet.needsAllocArrays:()Z
ifeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.google.common.collect.CompactHashSet.delegateOrNull:()Ljava/util/Set;
astore 2
start local 2 3: aload 2
ifnull 5
4: aload 2
aload 1
invokeinterface java.util.Set.remove:(Ljava/lang/Object;)Z
ireturn
5: StackMap locals: java.util.Set
StackMap stack:
aload 0
invokevirtual com.google.common.collect.CompactHashSet.hashTableMask:()I
istore 3
start local 3 6: aload 1
aconst_null
iload 3
aload 0
getfield com.google.common.collect.CompactHashSet.table:Ljava/lang/Object;
aload 0
getfield com.google.common.collect.CompactHashSet.entries:[I
aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
aconst_null
7: invokestatic com.google.common.collect.CompactHashing.remove:(Ljava/lang/Object;Ljava/lang/Object;ILjava/lang/Object;[I[Ljava/lang/Object;[Ljava/lang/Object;)I
8: istore 4
start local 4 9: iload 4
iconst_m1
if_icmpne 11
10: iconst_0
ireturn
11: StackMap locals: int int
StackMap stack:
aload 0
iload 4
iload 3
invokevirtual com.google.common.collect.CompactHashSet.moveLastEntry:(II)V
12: aload 0
dup
getfield com.google.common.collect.CompactHashSet.size:I
iconst_1
isub
putfield com.google.common.collect.CompactHashSet.size:I
13: aload 0
invokevirtual com.google.common.collect.CompactHashSet.incrementModCount:()V
14: iconst_1
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 15 1 object Ljava/lang/Object;
3 15 2 delegate Ljava/util/Set<TE;>;
6 15 3 mask I
9 15 4 index I
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
LOCAL_VARIABLE, {start=3, end=15, index=2}
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
object
void moveLastEntry(int, int);
descriptor: (II)V
flags: (0x0000)
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.google.common.collect.CompactHashSet.size:()I
iconst_1
isub
istore 3
start local 3 1: iload 1
iload 3
if_icmpge 19
2: aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iload 3
aaload
astore 4
start local 4 3: aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iload 1
aload 4
aastore
4: aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iload 3
aconst_null
aastore
5: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[I
iload 1
aload 0
getfield com.google.common.collect.CompactHashSet.entries:[I
iload 3
iaload
iastore
6: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[I
iload 3
iconst_0
iastore
7: aload 4
invokestatic com.google.common.collect.Hashing.smearedHash:(Ljava/lang/Object;)I
iload 2
iand
istore 5
start local 5 8: aload 0
getfield com.google.common.collect.CompactHashSet.table:Ljava/lang/Object;
iload 5
invokestatic com.google.common.collect.CompactHashing.tableGet:(Ljava/lang/Object;I)I
istore 6
start local 6 9: iload 3
iconst_1
iadd
istore 7
start local 7 10: iload 6
iload 7
if_icmpne 13
11: aload 0
getfield com.google.common.collect.CompactHashSet.table:Ljava/lang/Object;
iload 5
iload 1
iconst_1
iadd
invokestatic com.google.common.collect.CompactHashing.tableSet:(Ljava/lang/Object;II)V
12: goto 21
13: StackMap locals: com.google.common.collect.CompactHashSet int int int java.lang.Object int int int
StackMap stack:
iload 6
iconst_1
isub
istore 8
start local 8 14: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[I
iload 8
iaload
istore 9
start local 9 15: iload 9
iload 2
invokestatic com.google.common.collect.CompactHashing.getNext:(II)I
istore 6
16: iload 6
iload 7
if_icmpne 13
17: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[I
iload 8
iload 9
iload 1
iconst_1
iadd
iload 2
invokestatic com.google.common.collect.CompactHashing.maskCombine:(III)I
iastore
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 18: goto 21
19: StackMap locals: com.google.common.collect.CompactHashSet int int int
StackMap stack:
aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iload 1
aconst_null
aastore
20: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[I
iload 1
iconst_0
iastore
21: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 22 1 dstIndex I
0 22 2 mask I
1 22 3 srcIndex I
3 18 4 object Ljava/lang/Object;
8 18 5 tableIndex I
9 18 6 next I
10 18 7 srcNext I
14 18 8 entryIndex I
15 18 9 entry I
RuntimeVisibleTypeAnnotations:
LOCAL_VARIABLE, {start=3, end=18, index=4}
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
dstIndex
mask
int firstEntryIndex();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.collect.CompactHashSet.isEmpty:()Z
ifeq 1
iconst_m1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
int getSuccessor(int);
descriptor: (I)I
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_1
iadd
aload 0
getfield com.google.common.collect.CompactHashSet.size:I
if_icmpge 1
iload 1
iconst_1
iadd
goto 2
StackMap locals:
StackMap stack:
1: iconst_m1
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 3 1 entryIndex I
MethodParameters:
Name Flags
entryIndex
int adjustAfterRemove(int, int);
descriptor: (II)I
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iconst_1
isub
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 1 1 indexBeforeRemove I
0 1 2 indexRemoved I
MethodParameters:
Name Flags
indexBeforeRemove
indexRemoved
public java.util.Iterator<E> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.collect.CompactHashSet.delegateOrNull:()Ljava/util/Set;
astore 1
start local 1 1: aload 1
ifnull 3
2: aload 1
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
areturn
3: StackMap locals: java.util.Set
StackMap stack:
new com.google.common.collect.CompactHashSet$1
dup
aload 0
invokespecial com.google.common.collect.CompactHashSet$1.<init>:(Lcom/google/common/collect/CompactHashSet;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
1 4 1 delegate Ljava/util/Set<TE;>;
Signature: ()Ljava/util/Iterator<TE;>;
RuntimeVisibleTypeAnnotations:
LOCAL_VARIABLE, {start=1, end=4, index=1}
org.checkerframework.checker.nullness.qual.Nullable()
public java.util.Spliterator<E> spliterator();
descriptor: ()Ljava/util/Spliterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.collect.CompactHashSet.needsAllocArrays:()Z
ifeq 2
1: iconst_0
anewarray java.lang.Object
bipush 17
invokestatic java.util.Spliterators.spliterator:([Ljava/lang/Object;I)Ljava/util/Spliterator;
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.google.common.collect.CompactHashSet.delegateOrNull:()Ljava/util/Set;
astore 1
start local 1 3: aload 1
ifnull 5
4: aload 1
invokeinterface java.util.Set.spliterator:()Ljava/util/Spliterator;
goto 6
5: StackMap locals: java.util.Set
StackMap stack:
aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iconst_0
aload 0
getfield com.google.common.collect.CompactHashSet.size:I
bipush 17
invokestatic java.util.Spliterators.spliterator:([Ljava/lang/Object;III)Ljava/util/Spliterator;
6: StackMap locals:
StackMap stack: java.util.Spliterator
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
3 7 1 delegate Ljava/util/Set<TE;>;
Signature: ()Ljava/util/Spliterator<TE;>;
RuntimeVisibleTypeAnnotations:
LOCAL_VARIABLE, {start=3, end=7, index=1}
org.checkerframework.checker.nullness.qual.Nullable()
public void forEach(java.util.function.Consumer<? super E>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual com.google.common.collect.CompactHashSet.delegateOrNull:()Ljava/util/Set;
astore 2
start local 2 2: aload 2
ifnull 5
3: aload 2
aload 1
invokeinterface java.util.Set.forEach:(Ljava/util/function/Consumer;)V
4: goto 10
5: StackMap locals: java.util.Set
StackMap stack:
aload 0
invokevirtual com.google.common.collect.CompactHashSet.firstEntryIndex:()I
istore 3
start local 3 6: goto 9
7: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iload 3
aaload
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
8: aload 0
iload 3
invokevirtual com.google.common.collect.CompactHashSet.getSuccessor:(I)I
istore 3
StackMap locals:
StackMap stack:
9: iload 3
ifge 7
end local 3 10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 11 1 action Ljava/util/function/Consumer<-TE;>;
2 11 2 delegate Ljava/util/Set<TE;>;
6 10 3 i I
Signature: (Ljava/util/function/Consumer<-TE;>;)V
RuntimeVisibleTypeAnnotations:
LOCAL_VARIABLE, {start=2, end=11, index=2}
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
action
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.collect.CompactHashSet.delegateOrNull:()Ljava/util/Set;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
invokeinterface java.util.Set.size:()I
goto 3
StackMap locals: java.util.Set
StackMap stack:
2: aload 0
getfield com.google.common.collect.CompactHashSet.size:I
StackMap locals:
StackMap stack: int
3: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
1 4 1 delegate Ljava/util/Set<TE;>;
RuntimeVisibleTypeAnnotations:
LOCAL_VARIABLE, {start=1, end=4, index=1}
org.checkerframework.checker.nullness.qual.Nullable()
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.collect.CompactHashSet.size:()I
ifne 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
public java.lang.Object[] toArray();
descriptor: ()[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.collect.CompactHashSet.needsAllocArrays:()Z
ifeq 2
1: iconst_0
anewarray java.lang.Object
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.google.common.collect.CompactHashSet.delegateOrNull:()Ljava/util/Set;
astore 1
start local 1 3: aload 1
ifnull 4
aload 1
invokeinterface java.util.Set.toArray:()[Ljava/lang/Object;
goto 5
StackMap locals: java.util.Set
StackMap stack:
4: aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
aload 0
getfield com.google.common.collect.CompactHashSet.size:I
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object[]
5: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
3 6 1 delegate Ljava/util/Set<TE;>;
RuntimeVisibleTypeAnnotations:
LOCAL_VARIABLE, {start=3, end=6, index=1}
org.checkerframework.checker.nullness.qual.Nullable()
public <T> T[] toArray();
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.collect.CompactHashSet.needsAllocArrays:()Z
ifeq 4
1: aload 1
arraylength
ifle 3
2: aload 1
iconst_0
aconst_null
aastore
3: StackMap locals:
StackMap stack:
aload 1
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.google.common.collect.CompactHashSet.delegateOrNull:()Ljava/util/Set;
astore 2
start local 2 5: aload 2
ifnull 7
6: aload 2
aload 1
invokeinterface java.util.Set.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
goto 8
7: StackMap locals: java.util.Set
StackMap stack:
aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iconst_0
aload 0
getfield com.google.common.collect.CompactHashSet.size:I
aload 1
invokestatic com.google.common.collect.ObjectArrays.toArrayImpl:([Ljava/lang/Object;II[Ljava/lang/Object;)[Ljava/lang/Object;
8: StackMap locals:
StackMap stack: java.lang.Object[]
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 9 1 a [Ljava/lang/Object;
5 9 2 delegate Ljava/util/Set<TE;>;
Signature: <T:Ljava/lang/Object;>([TT;)[TT;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
RuntimeVisibleTypeAnnotations:
LOCAL_VARIABLE, {start=5, end=9, index=2}
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
a
public void trimToSize();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.collect.CompactHashSet.needsAllocArrays:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.google.common.collect.CompactHashSet.delegateOrNull:()Ljava/util/Set;
astore 1
start local 1 3: aload 1
ifnull 8
4: aload 0
aload 0
invokevirtual com.google.common.collect.CompactHashSet.size:()I
invokevirtual com.google.common.collect.CompactHashSet.createHashFloodingResistantDelegate:(I)Ljava/util/Set;
astore 2
start local 2 5: aload 2
aload 1
invokeinterface java.util.Set.addAll:(Ljava/util/Collection;)Z
pop
6: aload 0
aload 2
putfield com.google.common.collect.CompactHashSet.table:Ljava/lang/Object;
7: return
end local 2 8: StackMap locals: java.util.Set
StackMap stack:
aload 0
getfield com.google.common.collect.CompactHashSet.size:I
istore 2
start local 2 9: iload 2
aload 0
getfield com.google.common.collect.CompactHashSet.entries:[I
arraylength
if_icmpge 11
10: aload 0
iload 2
invokevirtual com.google.common.collect.CompactHashSet.resizeEntries:(I)V
11: StackMap locals: int
StackMap stack:
iload 2
invokestatic com.google.common.collect.CompactHashing.tableSize:(I)I
istore 3
start local 3 12: aload 0
invokevirtual com.google.common.collect.CompactHashSet.hashTableMask:()I
istore 4
start local 4 13: iload 3
iload 4
if_icmpge 15
14: aload 0
iload 4
iload 3
iconst_0
iconst_0
invokevirtual com.google.common.collect.CompactHashSet.resizeTable:(IIII)I
pop
15: StackMap locals: int int
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
3 16 1 delegate Ljava/util/Set<TE;>;
5 8 2 newDelegate Ljava/util/Set<TE;>;
9 16 2 size I
12 16 3 minimumTableSize I
13 16 4 mask I
RuntimeVisibleTypeAnnotations:
LOCAL_VARIABLE, {start=3, end=16, index=1}
org.checkerframework.checker.nullness.qual.Nullable()
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.collect.CompactHashSet.needsAllocArrays:()Z
ifeq 2
1: return
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.google.common.collect.CompactHashSet.incrementModCount:()V
3: aload 0
invokevirtual com.google.common.collect.CompactHashSet.delegateOrNull:()Ljava/util/Set;
astore 1
start local 1 4: aload 1
ifnull 12
5: aload 0
6: aload 0
invokevirtual com.google.common.collect.CompactHashSet.size:()I
iconst_3
ldc 1073741823
invokestatic com.google.common.primitives.Ints.constrainToRange:(III)I
7: putfield com.google.common.collect.CompactHashSet.metadata:I
8: aload 1
invokeinterface java.util.Set.clear:()V
9: aload 0
aconst_null
putfield com.google.common.collect.CompactHashSet.table:Ljava/lang/Object;
10: aload 0
iconst_0
putfield com.google.common.collect.CompactHashSet.size:I
11: goto 16
12: StackMap locals: java.util.Set
StackMap stack:
aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iconst_0
aload 0
getfield com.google.common.collect.CompactHashSet.size:I
aconst_null
invokestatic java.util.Arrays.fill:([Ljava/lang/Object;IILjava/lang/Object;)V
13: aload 0
getfield com.google.common.collect.CompactHashSet.table:Ljava/lang/Object;
invokestatic com.google.common.collect.CompactHashing.tableClear:(Ljava/lang/Object;)V
14: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[I
iconst_0
aload 0
getfield com.google.common.collect.CompactHashSet.size:I
iconst_0
invokestatic java.util.Arrays.fill:([IIII)V
15: aload 0
iconst_0
putfield com.google.common.collect.CompactHashSet.size:I
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/CompactHashSet<TE;>;
4 17 1 delegate Ljava/util/Set<TE;>;
RuntimeVisibleTypeAnnotations:
LOCAL_VARIABLE, {start=4, end=17, index=1}
org.checkerframework.checker.nullness.qual.Nullable()
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
1: aload 1
aload 0
invokevirtual com.google.common.collect.CompactHashSet.size:()I
invokevirtual java.io.ObjectOutputStream.writeInt:(I)V
2: aload 0
invokevirtual com.google.common.collect.CompactHashSet.iterator:()Ljava/util/Iterator;
astore 3
goto 5
StackMap locals: com.google.common.collect.CompactHashSet java.io.ObjectOutputStream top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Object
astore 2
start local 2 4: aload 1
aload 2
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
end local 2 5: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 7 1 stream Ljava/io/ObjectOutputStream;
4 5 2 e TE;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
stream
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 1
invokevirtual java.io.ObjectInputStream.readInt:()I
istore 2
start local 2 2: iload 2
ifge 4
3: new java.io.InvalidObjectException
dup
new java.lang.StringBuilder
dup
ldc "Invalid size: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 2
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.io.InvalidObjectException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals: int
StackMap stack:
aload 0
iload 2
invokevirtual com.google.common.collect.CompactHashSet.init:(I)V
5: iconst_0
istore 3
start local 3 6: goto 10
7: StackMap locals: int
StackMap stack:
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
astore 4
start local 4 8: aload 0
aload 4
invokevirtual com.google.common.collect.CompactHashSet.add:(Ljava/lang/Object;)Z
pop
end local 4 9: iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 2
if_icmplt 7
end local 3 11: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 12 1 stream Ljava/io/ObjectInputStream;
2 12 2 elementCount I
6 11 3 i I
8 9 4 element TE;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
stream
}
Signature: <E:Ljava/lang/Object;>Ljava/util/AbstractSet<TE;>;Ljava/io/Serializable;
SourceFile: "CompactHashSet.java"
NestMembers:
com.google.common.collect.CompactHashSet$1
InnerClasses:
com.google.common.collect.CompactHashSet$1
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtIncompatible()