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
{
private static final int MAXIMUM_CAPACITY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1073741824
private static final float DEFAULT_LOAD_FACTOR;
descriptor: F
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1.0
private static final long NEXT_MASK;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4294967295
private static final long HASH_MASK;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -4294967296
private static final int DEFAULT_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3
static final int UNSET;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -1
private transient int[] table;
descriptor: [I
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.MonotonicNonNull()
private transient long[] entries;
descriptor: [J
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.MonotonicNonNull()
transient java.lang.Object[] elements;
descriptor: [Ljava/lang/Object;
flags: (0x0080) ACC_TRANSIENT
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.MonotonicNonNull()
transient float loadFactor;
descriptor: F
flags: (0x0080) ACC_TRANSIENT
transient int modCount;
descriptor: I
flags: (0x0080) ACC_TRANSIENT
private transient int threshold;
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;>;
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=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.AbstractSet.<init>:()V
1: aload 0
iconst_3
fconst_1
invokevirtual com.google.common.collect.CompactHashSet.init:(IF)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=3, 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
fconst_1
invokevirtual com.google.common.collect.CompactHashSet.init:(IF)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, float);
descriptor: (IF)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 1
iflt 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "Initial capacity must be non-negative"
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/Object;)V
3: fload 2
fconst_0
fcmpl
ifle 4
iconst_1
goto 5
StackMap locals:
StackMap stack:
4: iconst_0
StackMap locals:
StackMap stack: int
5: ldc "Illegal load factor"
invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/Object;)V
6: iload 1
fload 2
f2d
invokestatic com.google.common.collect.Hashing.closedTableSize:(ID)I
istore 3
start local 3 7: aload 0
iload 3
invokestatic com.google.common.collect.CompactHashSet.newTable:(I)[I
putfield com.google.common.collect.CompactHashSet.table:[I
8: aload 0
fload 2
putfield com.google.common.collect.CompactHashSet.loadFactor:F
9: aload 0
iload 1
anewarray java.lang.Object
putfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
10: aload 0
iload 1
invokestatic com.google.common.collect.CompactHashSet.newEntries:(I)[J
putfield com.google.common.collect.CompactHashSet.entries:[J
11: aload 0
iconst_1
iload 3
i2f
fload 2
fmul
f2i
invokestatic java.lang.Math.max:(II)I
putfield com.google.common.collect.CompactHashSet.threshold:I
12: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 13 1 expectedSize I
0 13 2 loadFactor F
7 13 3 buckets I
MethodParameters:
Name Flags
expectedSize
loadFactor
private static int[] newTable(int);
descriptor: (I)[I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: iload 0
newarray 10
astore 1
start local 1 1: aload 1
iconst_m1
invokestatic java.util.Arrays.fill:([II)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 size I
1 3 1 array [I
MethodParameters:
Name Flags
size
private static long[] newEntries(int);
descriptor: (I)[J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: iload 0
newarray 11
astore 1
start local 1 1: aload 1
ldc -1
invokestatic java.util.Arrays.fill:([JJ)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 size I
1 3 1 array [J
MethodParameters:
Name Flags
size
private static int getHash(long);
descriptor: (J)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: lload 0
bipush 32
lushr
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 entry J
MethodParameters:
Name Flags
entry
private static int getNext(long);
descriptor: (J)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: lload 0
l2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 entry J
MethodParameters:
Name Flags
entry
private static long swapNext(long, int);
descriptor: (JI)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=3, args_size=2
start local 0 start local 2 0: ldc -4294967296
lload 0
land
ldc 4294967295
iload 2
i2l
land
lor
lreturn
end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 entry J
0 1 2 newNext I
MethodParameters:
Name Flags
entry
newNext
private int hashTableMask();
descriptor: ()I
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.CompactHashSet.table:[I
arraylength
iconst_1
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
public boolean add();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
astore 2
start local 2 1: aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
astore 3
start local 3 2: aload 1
invokestatic com.google.common.collect.Hashing.smearedHash:(Ljava/lang/Object;)I
istore 4
start local 4 3: iload 4
aload 0
invokevirtual com.google.common.collect.CompactHashSet.hashTableMask:()I
iand
istore 5
start local 5 4: aload 0
getfield com.google.common.collect.CompactHashSet.size:I
istore 6
start local 6 5: aload 0
getfield com.google.common.collect.CompactHashSet.table:[I
iload 5
iaload
istore 7
start local 7 6: iload 7
iconst_m1
if_icmpne 9
7: aload 0
getfield com.google.common.collect.CompactHashSet.table:[I
iload 5
iload 6
iastore
8: goto 16
9: StackMap locals: com.google.common.collect.CompactHashSet java.lang.Object long[] java.lang.Object[] int int int int
StackMap stack:
iload 7
istore 8
start local 8 10: aload 2
iload 7
laload
lstore 9
start local 9 11: lload 9
invokestatic com.google.common.collect.CompactHashSet.getHash:(J)I
iload 4
if_icmpne 13
aload 1
aload 3
iload 7
aaload
invokestatic com.google.common.base.Objects.equal:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 13
12: iconst_0
ireturn
13: StackMap locals: int long
StackMap stack:
lload 9
invokestatic com.google.common.collect.CompactHashSet.getNext:(J)I
istore 7
14: iload 7
iconst_m1
if_icmpne 9
15: aload 2
iload 8
lload 9
iload 6
invokestatic com.google.common.collect.CompactHashSet.swapNext:(JI)J
lastore
end local 9 end local 8 16: StackMap locals:
StackMap stack:
iload 6
ldc 2147483647
if_icmpne 18
17: new java.lang.IllegalStateException
dup
ldc "Cannot contain more than Integer.MAX_VALUE elements!"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
18: StackMap locals:
StackMap stack:
iload 6
iconst_1
iadd
istore 8
start local 8 19: aload 0
iload 8
invokevirtual com.google.common.collect.CompactHashSet.resizeMeMaybe:(I)V
20: aload 0
iload 6
aload 1
iload 4
invokevirtual com.google.common.collect.CompactHashSet.insertEntry:(ILjava/lang/Object;I)V
21: aload 0
iload 8
putfield com.google.common.collect.CompactHashSet.size:I
22: iload 6
aload 0
getfield com.google.common.collect.CompactHashSet.threshold:I
if_icmplt 24
23: aload 0
iconst_2
aload 0
getfield com.google.common.collect.CompactHashSet.table:[I
arraylength
imul
invokevirtual com.google.common.collect.CompactHashSet.resizeTable:(I)V
24: StackMap locals: int
StackMap stack:
aload 0
dup
getfield com.google.common.collect.CompactHashSet.modCount:I
iconst_1
iadd
putfield com.google.common.collect.CompactHashSet.modCount:I
25: iconst_1
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 26 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 26 1 object TE;
1 26 2 entries [J
2 26 3 elements [Ljava/lang/Object;
3 26 4 hash I
4 26 5 tableIndex I
5 26 6 newEntryIndex I
6 26 7 next I
10 16 8 last I
11 16 9 entry J
19 26 8 newSize I
Signature: (TE;)Z
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
object
void insertEntry(int, E, );
descriptor: (ILjava/lang/Object;I)V
flags: (0x0000)
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
iload 1
iload 3
i2l
bipush 32
lshl
ldc 4294967295
lor
lastore
1: aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iload 1
aload 2
aastore
2: return
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
Signature: (ITE;I)V
MethodParameters:
Name Flags
entryIndex
object
hash
private void resizeMeMaybe(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
arraylength
istore 2
start local 2 1: iload 1
iload 2
if_icmple 7
2: iload 2
iconst_1
iload 2
iconst_1
iushr
invokestatic java.lang.Math.max:(II)I
iadd
istore 3
start local 3 3: iload 3
ifge 5
4: ldc 2147483647
istore 3
5: StackMap locals: int int
StackMap stack:
iload 3
iload 2
if_icmpeq 7
6: aload 0
iload 3
invokevirtual com.google.common.collect.CompactHashSet.resizeEntries:(I)V
end local 3 7: StackMap locals:
StackMap stack:
return
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;>;
0 8 1 newSize I
1 8 2 entriesSize I
3 7 3 newCapacity I
MethodParameters:
Name Flags
newSize
void resizeEntries(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: 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;
1: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
astore 2
start local 2 2: aload 2
arraylength
istore 3
start local 3 3: aload 2
iload 1
invokestatic java.util.Arrays.copyOf:([JI)[J
astore 2
4: iload 1
iload 3
if_icmple 6
5: aload 2
iload 3
iload 1
ldc -1
invokestatic java.util.Arrays.fill:([JIIJ)V
6: StackMap locals: long[] int
StackMap stack:
aload 0
aload 2
putfield com.google.common.collect.CompactHashSet.entries:[J
7: return
end local 3 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;>;
0 8 1 newCapacity I
2 8 2 entries [J
3 8 3 oldSize I
MethodParameters:
Name Flags
newCapacity
private void resizeTable(int);
descriptor: (I)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=14, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.CompactHashSet.table:[I
astore 2
start local 2 1: aload 2
arraylength
istore 3
start local 3 2: iload 3
ldc 1073741824
if_icmplt 5
3: aload 0
ldc 2147483647
putfield com.google.common.collect.CompactHashSet.threshold:I
4: return
5: StackMap locals: int[] int
StackMap stack:
iconst_1
iload 1
i2f
aload 0
getfield com.google.common.collect.CompactHashSet.loadFactor:F
fmul
f2i
iadd
istore 4
start local 4 6: iload 1
invokestatic com.google.common.collect.CompactHashSet.newTable:(I)[I
astore 5
start local 5 7: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
astore 6
start local 6 8: aload 5
arraylength
iconst_1
isub
istore 7
start local 7 9: iconst_0
istore 8
start local 8 10: goto 18
11: StackMap locals: com.google.common.collect.CompactHashSet int int[] int int int[] long[] int int
StackMap stack:
aload 6
iload 8
laload
lstore 9
start local 9 12: lload 9
invokestatic com.google.common.collect.CompactHashSet.getHash:(J)I
istore 11
start local 11 13: iload 11
iload 7
iand
istore 12
start local 12 14: aload 5
iload 12
iaload
istore 13
start local 13 15: aload 5
iload 12
iload 8
iastore
16: aload 6
iload 8
iload 11
i2l
bipush 32
lshl
ldc 4294967295
iload 13
i2l
land
lor
lastore
end local 13 end local 12 end local 11 end local 9 17: iinc 8 1
StackMap locals:
StackMap stack:
18: iload 8
aload 0
getfield com.google.common.collect.CompactHashSet.size:I
if_icmplt 11
end local 8 19: aload 0
iload 4
putfield com.google.common.collect.CompactHashSet.threshold:I
20: aload 0
aload 5
putfield com.google.common.collect.CompactHashSet.table:[I
21: return
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 22 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 22 1 newCapacity I
1 22 2 oldTable [I
2 22 3 oldCapacity I
6 22 4 newThreshold I
7 22 5 newTable [I
8 22 6 entries [J
9 22 7 mask I
10 19 8 i I
12 17 9 oldEntry J
13 17 11 hash I
14 17 12 tableIndex I
15 17 13 next I
MethodParameters:
Name Flags
newCapacity
public boolean contains(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.collect.Hashing.smearedHash:(Ljava/lang/Object;)I
istore 2
start local 2 1: aload 0
getfield com.google.common.collect.CompactHashSet.table:[I
iload 2
aload 0
invokevirtual com.google.common.collect.CompactHashSet.hashTableMask:()I
iand
iaload
istore 3
start local 3 2: goto 7
3: StackMap locals: int int
StackMap stack:
aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
iload 3
laload
lstore 4
start local 4 4: lload 4
invokestatic com.google.common.collect.CompactHashSet.getHash:(J)I
iload 2
if_icmpne 6
aload 1
aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iload 3
aaload
invokestatic com.google.common.base.Objects.equal:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 6
5: iconst_1
ireturn
6: StackMap locals: long
StackMap stack:
lload 4
invokestatic com.google.common.collect.CompactHashSet.getNext:(J)I
istore 3
end local 4 7: StackMap locals:
StackMap stack:
iload 3
iconst_m1
if_icmpne 3
8: iconst_0
ireturn
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/CompactHashSet<TE;>;
0 9 1 object Ljava/lang/Object;
1 9 2 hash I
2 9 3 next I
4 7 4 entry J
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
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=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aload 1
invokestatic com.google.common.collect.Hashing.smearedHash:(Ljava/lang/Object;)I
invokevirtual com.google.common.collect.CompactHashSet.remove:(Ljava/lang/Object;I)Z
ireturn
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 object Ljava/lang/Object;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
object
private boolean remove(java.lang.Object, int);
descriptor: (Ljava/lang/Object;I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: iload 2
aload 0
invokevirtual com.google.common.collect.CompactHashSet.hashTableMask:()I
iand
istore 3
start local 3 1: aload 0
getfield com.google.common.collect.CompactHashSet.table:[I
iload 3
iaload
istore 4
start local 4 2: iload 4
iconst_m1
if_icmpne 4
3: iconst_0
ireturn
4: StackMap locals: int int
StackMap stack:
iconst_m1
istore 5
start local 5 5: StackMap locals: int
StackMap stack:
aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
iload 4
laload
invokestatic com.google.common.collect.CompactHashSet.getHash:(J)I
iload 2
if_icmpne 14
aload 1
aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iload 4
aaload
invokestatic com.google.common.base.Objects.equal:(Ljava/lang/Object;Ljava/lang/Object;)Z
ifeq 14
6: iload 5
iconst_m1
if_icmpne 9
7: aload 0
getfield com.google.common.collect.CompactHashSet.table:[I
iload 3
aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
iload 4
laload
invokestatic com.google.common.collect.CompactHashSet.getNext:(J)I
iastore
8: goto 10
9: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
iload 5
aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
iload 5
laload
aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
iload 4
laload
invokestatic com.google.common.collect.CompactHashSet.getNext:(J)I
invokestatic com.google.common.collect.CompactHashSet.swapNext:(JI)J
lastore
10: StackMap locals:
StackMap stack:
aload 0
iload 4
invokevirtual com.google.common.collect.CompactHashSet.moveEntry:(I)V
11: aload 0
dup
getfield com.google.common.collect.CompactHashSet.size:I
iconst_1
isub
putfield com.google.common.collect.CompactHashSet.size:I
12: aload 0
dup
getfield com.google.common.collect.CompactHashSet.modCount:I
iconst_1
iadd
putfield com.google.common.collect.CompactHashSet.modCount:I
13: iconst_1
ireturn
14: StackMap locals:
StackMap stack:
iload 4
istore 5
15: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
iload 4
laload
invokestatic com.google.common.collect.CompactHashSet.getNext:(J)I
istore 4
16: iload 4
iconst_m1
if_icmpne 5
17: iconst_0
ireturn
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 18 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 18 1 object Ljava/lang/Object;
0 18 2 hash I
1 18 3 tableIndex I
2 18 4 next I
5 18 5 last I
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
object
hash
void moveEntry(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=5, locals=10, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.google.common.collect.CompactHashSet.size:()I
iconst_1
isub
istore 2
start local 2 1: iload 1
iload 2
if_icmpge 18
2: aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iload 1
aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iload 2
aaload
aastore
3: aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iload 2
aconst_null
aastore
4: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
iload 2
laload
lstore 3
start local 3 5: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
iload 1
lload 3
lastore
6: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
iload 2
ldc -1
lastore
7: lload 3
invokestatic com.google.common.collect.CompactHashSet.getHash:(J)I
aload 0
invokevirtual com.google.common.collect.CompactHashSet.hashTableMask:()I
iand
istore 5
start local 5 8: aload 0
getfield com.google.common.collect.CompactHashSet.table:[I
iload 5
iaload
istore 6
start local 6 9: iload 6
iload 2
if_icmpne 12
10: aload 0
getfield com.google.common.collect.CompactHashSet.table:[I
iload 5
iload 1
iastore
11: goto 20
12: StackMap locals: com.google.common.collect.CompactHashSet int int long int int
StackMap stack:
iload 6
istore 7
start local 7 13: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
iload 6
laload
dup2
lstore 8
start local 8 14: invokestatic com.google.common.collect.CompactHashSet.getNext:(J)I
istore 6
15: iload 6
iload 2
if_icmpne 12
16: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
iload 7
lload 8
iload 1
invokestatic com.google.common.collect.CompactHashSet.swapNext:(JI)J
lastore
end local 8 end local 7 end local 6 end local 5 end local 3 17: goto 20
18: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iload 1
aconst_null
aastore
19: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
iload 1
ldc -1
lastore
20: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
0 21 1 dstIndex I
1 21 2 srcIndex I
5 17 3 lastEntry J
8 17 5 tableIndex I
9 17 6 lastNext I
13 17 7 previous I
14 17 8 entry J
MethodParameters:
Name Flags
dstIndex
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=1, args_size=1
start local 0 0: 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 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
Signature: ()Ljava/util/Iterator<TE;>;
public java.util.Spliterator<E> spliterator();
descriptor: ()Ljava/util/Spliterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: 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;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
Signature: ()Ljava/util/Spliterator<TE;>;
public void forEach(java.util.function.Consumer<? super E>);
descriptor: (Ljava/util/function/Consumer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, 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: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: int
StackMap stack:
aload 1
aload 0
getfield com.google.common.collect.CompactHashSet.elements:[Ljava/lang/Object;
iload 2
aaload
invokeinterface java.util.function.Consumer.accept:(Ljava/lang/Object;)V
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield com.google.common.collect.CompactHashSet.size:I
if_icmplt 3
end local 2 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 action Ljava/util/function/Consumer<-TE;>;
2 6 2 i I
Signature: (Ljava/util/function/Consumer<-TE;>;)V
MethodParameters:
Name Flags
action
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.CompactHashSet.size:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield 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=1, args_size=1
start local 0 0: 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;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
public <T> T[] toArray();
descriptor: ([Ljava/lang/Object;)[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: 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;
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 a [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>([TT;)[TT;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
a
public void trimToSize();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.CompactHashSet.size:I
istore 1
start local 1 1: iload 1
aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
arraylength
if_icmpge 3
2: aload 0
iload 1
invokevirtual com.google.common.collect.CompactHashSet.resizeEntries:(I)V
3: StackMap locals: int
StackMap stack:
iconst_1
iload 1
i2f
aload 0
getfield com.google.common.collect.CompactHashSet.loadFactor:F
fdiv
f2i
invokestatic java.lang.Integer.highestOneBit:(I)I
invokestatic java.lang.Math.max:(II)I
istore 2
start local 2 4: iload 2
ldc 1073741824
if_icmpge 8
5: iload 1
i2d
iload 2
i2d
ddiv
dstore 3
start local 3 6: dload 3
aload 0
getfield com.google.common.collect.CompactHashSet.loadFactor:F
f2d
dcmpl
ifle 8
7: iload 2
iconst_1
ishl
istore 2
end local 3 8: StackMap locals: int
StackMap stack:
iload 2
aload 0
getfield com.google.common.collect.CompactHashSet.table:[I
arraylength
if_icmpge 10
9: aload 0
iload 2
invokevirtual com.google.common.collect.CompactHashSet.resizeTable:(I)V
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;>;
1 11 1 size I
4 11 2 minimumTableSize I
6 8 3 load D
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
dup
getfield com.google.common.collect.CompactHashSet.modCount:I
iconst_1
iadd
putfield com.google.common.collect.CompactHashSet.modCount:I
1: 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
2: aload 0
getfield com.google.common.collect.CompactHashSet.table:[I
iconst_m1
invokestatic java.util.Arrays.fill:([II)V
3: aload 0
getfield com.google.common.collect.CompactHashSet.entries:[J
ldc -1
invokestatic java.util.Arrays.fill:([JJ)V
4: aload 0
iconst_0
putfield com.google.common.collect.CompactHashSet.size:I
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/collect/CompactHashSet<TE;>;
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
getfield 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=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 0
iconst_3
fconst_1
invokevirtual com.google.common.collect.CompactHashSet.init:(IF)V
2: aload 1
invokevirtual java.io.ObjectInputStream.readInt:()I
istore 2
start local 2 3: iload 2
istore 3
start local 3 4: goto 7
5: StackMap locals: int int
StackMap stack:
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
astore 4
start local 4 6: aload 0
aload 4
invokevirtual com.google.common.collect.CompactHashSet.add:(Ljava/lang/Object;)Z
pop
end local 4 7: StackMap locals:
StackMap stack:
iinc 3 -1
iload 3
ifge 5
end local 3 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/CompactHashSet<TE;>;
0 9 1 stream Ljava/io/ObjectInputStream;
3 9 2 elementCount I
4 8 3 i I
6 7 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()