public class com.carrotsearch.hppc.IntHashSet extends com.carrotsearch.hppc.AbstractIntCollection implements com.carrotsearch.hppc.IntLookupContainer, com.carrotsearch.hppc.IntSet, com.carrotsearch.hppc.Preallocable, java.lang.Cloneable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.carrotsearch.hppc.IntHashSet
super_class: com.carrotsearch.hppc.AbstractIntCollection
{
public int[] keys;
descriptor: [I
flags: (0x0001) ACC_PUBLIC
protected int assigned;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int mask;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int keyMixer;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int resizeAt;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected boolean hasEmptyKey;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected double loadFactor;
descriptor: D
flags: (0x0004) ACC_PROTECTED
protected com.carrotsearch.hppc.HashOrderMixingStrategy orderMixer;
descriptor: Lcom/carrotsearch/hppc/HashOrderMixingStrategy;
flags: (0x0004) ACC_PROTECTED
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lcom/carrotsearch/hppc/IntHashSet;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic com.carrotsearch.hppc.IntHashSet.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
iconst_4
ldc 0.75
invokespecial com.carrotsearch.hppc.IntHashSet.<init>:(ID)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/carrotsearch/hppc/IntHashSet;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
ldc 0.75
invokespecial com.carrotsearch.hppc.IntHashSet.<init>:(ID)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 2 1 expectedElements I
MethodParameters:
Name Flags
expectedElements
public void <init>(int, double);
descriptor: (ID)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
dload 2
invokestatic com.carrotsearch.hppc.HashOrderMixing.defaultStrategy:()Lcom/carrotsearch/hppc/HashOrderMixingStrategy;
invokespecial com.carrotsearch.hppc.IntHashSet.<init>:(IDLcom/carrotsearch/hppc/HashOrderMixingStrategy;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 2 1 expectedElements I
0 2 2 loadFactor D
MethodParameters:
Name Flags
expectedElements
loadFactor
public void <init>(int, double, com.carrotsearch.hppc.HashOrderMixingStrategy);
descriptor: (IDLcom/carrotsearch/hppc/HashOrderMixingStrategy;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 0
invokespecial com.carrotsearch.hppc.AbstractIntCollection.<init>:()V
1: aload 0
aload 4
putfield com.carrotsearch.hppc.IntHashSet.orderMixer:Lcom/carrotsearch/hppc/HashOrderMixingStrategy;
2: aload 0
aload 0
dload 2
invokevirtual com.carrotsearch.hppc.IntHashSet.verifyLoadFactor:(D)D
putfield com.carrotsearch.hppc.IntHashSet.loadFactor:D
3: aload 0
iload 1
invokevirtual com.carrotsearch.hppc.IntHashSet.ensureCapacity:(I)V
4: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 5 1 expectedElements I
0 5 2 loadFactor D
0 5 4 orderMixer Lcom/carrotsearch/hppc/HashOrderMixingStrategy;
MethodParameters:
Name Flags
expectedElements
loadFactor
orderMixer
public void <init>(com.carrotsearch.hppc.IntContainer);
descriptor: (Lcom/carrotsearch/hppc/IntContainer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface com.carrotsearch.hppc.IntContainer.size:()I
invokespecial com.carrotsearch.hppc.IntHashSet.<init>:(I)V
1: aload 0
aload 1
invokevirtual com.carrotsearch.hppc.IntHashSet.addAll:(Lcom/carrotsearch/hppc/IntContainer;)I
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 3 1 container Lcom/carrotsearch/hppc/IntContainer;
MethodParameters:
Name Flags
container
public boolean add(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: iload 1
ifne 7
1: getstatic com.carrotsearch.hppc.IntHashSet.$assertionsDisabled:Z
ifne 2
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
iconst_1
iadd
iaload
ifeq 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
ifeq 3
iconst_0
goto 4
StackMap locals:
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: istore 2
start local 2 5: aload 0
iconst_1
putfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
6: iload 2
ireturn
end local 2 7: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
astore 2
start local 2 8: aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
istore 3
start local 3 9: aload 0
iload 1
invokevirtual com.carrotsearch.hppc.IntHashSet.hashKey:(I)I
iload 3
iand
istore 4
start local 4 10: goto 14
start local 5 11: StackMap locals: com.carrotsearch.hppc.IntHashSet int int[] int int int
StackMap stack:
iload 5
iload 1
if_icmpne 13
12: iconst_0
ireturn
13: StackMap locals:
StackMap stack:
iload 4
iconst_1
iadd
iload 3
iand
istore 4
end local 5 14: StackMap locals:
StackMap stack:
aload 2
iload 4
iaload
dup
istore 5
start local 5 15: ifne 11
16: aload 0
getfield com.carrotsearch.hppc.IntHashSet.assigned:I
aload 0
getfield com.carrotsearch.hppc.IntHashSet.resizeAt:I
if_icmpne 19
17: aload 0
iload 4
iload 1
invokevirtual com.carrotsearch.hppc.IntHashSet.allocateThenInsertThenRehash:(II)V
18: goto 20
19: StackMap locals: int
StackMap stack:
aload 2
iload 4
iload 1
iastore
20: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.carrotsearch.hppc.IntHashSet.assigned:I
iconst_1
iadd
putfield com.carrotsearch.hppc.IntHashSet.assigned:I
21: iconst_1
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 22 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 22 1 key I
5 7 2 added Z
8 22 2 keys [I
9 22 3 mask I
10 22 4 slot I
11 14 5 existing I
15 22 5 existing I
MethodParameters:
Name Flags
key
public final int addAll(int[]);
descriptor: ([I)I
flags: (0x0091) ACC_PUBLIC, ACC_FINAL, ACC_VARARGS
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 0
aload 1
arraylength
invokevirtual com.carrotsearch.hppc.IntHashSet.ensureCapacity:(I)V
1: iconst_0
istore 2
start local 2 2: aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 7
StackMap locals: com.carrotsearch.hppc.IntHashSet int[] int top int int int[]
StackMap stack:
3: aload 6
iload 4
iaload
istore 3
start local 3 4: aload 0
iload 3
invokevirtual com.carrotsearch.hppc.IntHashSet.add:(I)Z
ifeq 6
5: iinc 2 1
end local 3 6: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
iload 5
if_icmplt 3
8: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 9 1 elements [I
2 9 2 count I
4 6 3 e I
MethodParameters:
Name Flags
elements
public int addAll(com.carrotsearch.hppc.IntContainer);
descriptor: (Lcom/carrotsearch/hppc/IntContainer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface com.carrotsearch.hppc.IntContainer.size:()I
invokevirtual com.carrotsearch.hppc.IntHashSet.ensureCapacity:(I)V
1: aload 0
aload 1
invokevirtual com.carrotsearch.hppc.IntHashSet.addAll:(Ljava/lang/Iterable;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 2 1 container Lcom/carrotsearch/hppc/IntContainer;
MethodParameters:
Name Flags
container
public int addAll(java.lang.Iterable<? extends com.carrotsearch.hppc.cursors.IntCursor>);
descriptor: (Ljava/lang/Iterable;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: iconst_0
istore 2
start local 2 1: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 5
StackMap locals: com.carrotsearch.hppc.IntHashSet java.lang.Iterable int top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.carrotsearch.hppc.cursors.IntCursor
astore 3
start local 3 3: aload 0
aload 3
getfield com.carrotsearch.hppc.cursors.IntCursor.value:I
invokevirtual com.carrotsearch.hppc.IntHashSet.add:(I)Z
ifeq 5
4: iinc 2 1
end local 3 5: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
6: iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 7 1 iterable Ljava/lang/Iterable<+Lcom/carrotsearch/hppc/cursors/IntCursor;>;
1 7 2 count I
3 5 3 cursor Lcom/carrotsearch/hppc/cursors/IntCursor;
Signature: (Ljava/lang/Iterable<+Lcom/carrotsearch/hppc/cursors/IntCursor;>;)I
MethodParameters:
Name Flags
iterable
public int[] toArray();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual com.carrotsearch.hppc.IntHashSet.size:()I
newarray 10
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: aload 0
getfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
ifeq 4
3: aload 1
iload 2
iinc 2 1
iconst_0
iastore
4: StackMap locals: int[] int
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
istore 5
start local 5 7: goto 12
8: StackMap locals: int[] int int
StackMap stack:
aload 3
iload 4
iaload
dup
istore 6
start local 6 9: ifeq 11
10: aload 1
iload 2
iinc 2 1
iload 6
iastore
end local 6 11: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
iload 5
if_icmple 8
end local 5 end local 4 13: aload 1
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/carrotsearch/hppc/IntHashSet;
1 14 1 cloned [I
2 14 2 j I
5 14 3 keys [I
6 13 4 slot I
7 13 5 max I
9 11 6 existing I
public boolean remove(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: iload 1
ifne 4
1: aload 0
getfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
istore 2
start local 2 2: aload 0
iconst_0
putfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
3: iload 2
ireturn
end local 2 4: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
astore 2
start local 2 5: aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
istore 3
start local 3 6: aload 0
iload 1
invokevirtual com.carrotsearch.hppc.IntHashSet.hashKey:(I)I
iload 3
iand
istore 4
start local 4 7: goto 12
start local 5 8: StackMap locals: com.carrotsearch.hppc.IntHashSet int int[] int int int
StackMap stack:
iload 5
iload 1
if_icmpne 11
9: aload 0
iload 4
invokevirtual com.carrotsearch.hppc.IntHashSet.shiftConflictingKeys:(I)V
10: iconst_1
ireturn
11: StackMap locals:
StackMap stack:
iload 4
iconst_1
iadd
iload 3
iand
istore 4
end local 5 12: StackMap locals:
StackMap stack:
aload 2
iload 4
iaload
dup
istore 5
start local 5 13: ifne 8
14: 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 15 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 15 1 key I
2 4 2 hadEmptyKey Z
5 15 2 keys [I
6 15 3 mask I
7 15 4 slot I
8 12 5 existing I
13 15 5 existing I
MethodParameters:
Name Flags
key
public int removeAll(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
invokevirtual com.carrotsearch.hppc.IntHashSet.remove:(I)Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 3 1 key I
MethodParameters:
Name Flags
key
public int removeAll(com.carrotsearch.hppc.predicates.IntPredicate);
descriptor: (Lcom/carrotsearch/hppc/predicates/IntPredicate;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.carrotsearch.hppc.IntHashSet.size:()I
istore 2
start local 2 1: aload 0
getfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
ifeq 4
2: aload 1
iconst_0
invokeinterface com.carrotsearch.hppc.predicates.IntPredicate.apply:(I)Z
ifeq 4
3: aload 0
iconst_0
putfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
4: StackMap locals: int
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
istore 5
start local 5 7: goto 14
8: StackMap locals: int[] int int
StackMap stack:
aload 3
iload 4
iaload
dup
istore 6
start local 6 9: ifeq 13
10: aload 1
iload 6
invokeinterface com.carrotsearch.hppc.predicates.IntPredicate.apply:(I)Z
ifeq 13
11: aload 0
iload 4
invokevirtual com.carrotsearch.hppc.IntHashSet.shiftConflictingKeys:(I)V
12: goto 14
13: StackMap locals: int
StackMap stack:
iinc 4 1
end local 6 14: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmple 8
end local 5 end local 4 15: iload 2
aload 0
invokevirtual com.carrotsearch.hppc.IntHashSet.size:()I
isub
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 16 1 predicate Lcom/carrotsearch/hppc/predicates/IntPredicate;
1 16 2 before I
5 16 3 keys [I
6 15 4 slot I
7 15 5 max I
9 14 6 existing I
MethodParameters:
Name Flags
predicate
public boolean contains(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: iload 1
ifne 2
1: aload 0
getfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
astore 2
start local 2 3: aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
istore 3
start local 3 4: aload 0
iload 1
invokevirtual com.carrotsearch.hppc.IntHashSet.hashKey:(I)I
iload 3
iand
istore 4
start local 4 5: goto 9
start local 5 6: StackMap locals: com.carrotsearch.hppc.IntHashSet int int[] int int int
StackMap stack:
iload 5
iload 1
if_icmpne 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iload 4
iconst_1
iadd
iload 3
iand
istore 4
end local 5 9: StackMap locals:
StackMap stack:
aload 2
iload 4
iaload
dup
istore 5
start local 5 10: ifne 6
11: 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 12 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 12 1 key I
3 12 2 keys [I
4 12 3 mask I
5 12 4 slot I
6 9 5 existing I
10 12 5 existing I
MethodParameters:
Name Flags
key
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.carrotsearch.hppc.IntHashSet.assigned:I
1: aload 0
iconst_0
putfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
2: aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
iconst_0
invokestatic java.util.Arrays.fill:([II)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/carrotsearch/hppc/IntHashSet;
public void release();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.carrotsearch.hppc.IntHashSet.assigned:I
1: aload 0
iconst_0
putfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
2: aload 0
aconst_null
putfield com.carrotsearch.hppc.IntHashSet.keys:[I
3: aload 0
iconst_4
invokevirtual com.carrotsearch.hppc.IntHashSet.ensureCapacity:(I)V
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/carrotsearch/hppc/IntHashSet;
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.carrotsearch.hppc.IntHashSet.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/carrotsearch/hppc/IntHashSet;
public void ensureCapacity(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield com.carrotsearch.hppc.IntHashSet.resizeAt:I
if_icmpgt 1
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
ifnonnull 5
1: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
astore 2
start local 2 2: aload 0
iload 1
aload 0
getfield com.carrotsearch.hppc.IntHashSet.loadFactor:D
invokestatic com.carrotsearch.hppc.HashContainers.minBufferSize:(ID)I
invokevirtual com.carrotsearch.hppc.IntHashSet.allocateBuffers:(I)V
3: aload 2
ifnull 5
aload 0
invokevirtual com.carrotsearch.hppc.IntHashSet.isEmpty:()Z
ifne 5
4: aload 0
aload 2
invokevirtual com.carrotsearch.hppc.IntHashSet.rehash:([I)V
end local 2 5: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 6 1 expectedElements I
2 5 2 prevKeys [I
MethodParameters:
Name Flags
expectedElements
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.carrotsearch.hppc.IntHashSet.assigned:I
aload 0
getfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack: int
1: iconst_0
StackMap locals: com.carrotsearch.hppc.IntHashSet
StackMap stack: int int
2: iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/carrotsearch/hppc/IntHashSet;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
getfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
ifeq 1
ldc -559038737
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: istore 1
start local 1 3: aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
astore 2
start local 2 4: aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
istore 3
start local 3 5: goto 10
6: StackMap locals: int int[] int
StackMap stack:
aload 2
iload 3
iaload
dup
istore 4
start local 4 7: ifeq 9
8: iload 1
iload 4
invokestatic com.carrotsearch.hppc.BitMixer.mix:(I)I
iadd
istore 1
end local 4 9: StackMap locals:
StackMap stack:
iinc 3 -1
StackMap locals:
StackMap stack:
10: iload 3
ifge 6
end local 3 11: iload 1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/carrotsearch/hppc/IntHashSet;
3 12 1 h I
4 12 2 keys [I
5 11 3 slot I
7 9 4 existing I
public boolean equals(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 1
ifnull 4
1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpne 4
2: aload 0
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.carrotsearch.hppc.IntSet
invokevirtual com.carrotsearch.hppc.IntHashSet.sameKeys:(Lcom/carrotsearch/hppc/IntSet;)Z
ifeq 4
3: iconst_1
ireturn
StackMap locals:
StackMap stack:
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 5 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
private boolean sameKeys(com.carrotsearch.hppc.IntSet);
descriptor: (Lcom/carrotsearch/hppc/IntSet;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface com.carrotsearch.hppc.IntSet.size:()I
aload 0
invokevirtual com.carrotsearch.hppc.IntHashSet.size:()I
if_icmpeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.carrotsearch.hppc.IntSet.iterator:()Ljava/util/Iterator;
astore 3
goto 6
StackMap locals: com.carrotsearch.hppc.IntHashSet com.carrotsearch.hppc.IntSet top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.carrotsearch.hppc.cursors.IntCursor
astore 2
start local 2 4: aload 0
aload 2
getfield com.carrotsearch.hppc.cursors.IntCursor.value:I
invokevirtual com.carrotsearch.hppc.IntHashSet.contains:(I)Z
ifne 6
5: iconst_0
ireturn
end local 2 6: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
7: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 8 1 other Lcom/carrotsearch/hppc/IntSet;
4 6 2 c Lcom/carrotsearch/hppc/cursors/IntCursor;
MethodParameters:
Name Flags
other
public com.carrotsearch.hppc.IntHashSet clone();
descriptor: ()Lcom/carrotsearch/hppc/IntHashSet;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.clone:()Ljava/lang/Object;
checkcast com.carrotsearch.hppc.IntHashSet
astore 1
start local 1 1: aload 1
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
invokevirtual int[].clone:()Ljava/lang/Object;
checkcast int[]
putfield com.carrotsearch.hppc.IntHashSet.keys:[I
2: aload 1
aload 1
getfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
putfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
3: aload 1
aload 0
getfield com.carrotsearch.hppc.IntHashSet.orderMixer:Lcom/carrotsearch/hppc/HashOrderMixingStrategy;
invokeinterface com.carrotsearch.hppc.HashOrderMixingStrategy.clone:()Lcom/carrotsearch/hppc/HashOrderMixingStrategy;
putfield com.carrotsearch.hppc.IntHashSet.orderMixer:Lcom/carrotsearch/hppc/HashOrderMixingStrategy;
4: aload 1
5: areturn
end local 1 6: StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
astore 1
start local 1 7: new java.lang.RuntimeException
dup
aload 1
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/carrotsearch/hppc/IntHashSet;
1 6 1 cloned Lcom/carrotsearch/hppc/IntHashSet;
7 8 1 e Ljava/lang/CloneNotSupportedException;
Exception table:
from to target type
0 5 6 Class java.lang.CloneNotSupportedException
public java.util.Iterator<com.carrotsearch.hppc.cursors.IntCursor> iterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.carrotsearch.hppc.IntHashSet$EntryIterator
dup
aload 0
invokespecial com.carrotsearch.hppc.IntHashSet$EntryIterator.<init>:(Lcom/carrotsearch/hppc/IntHashSet;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/carrotsearch/hppc/IntHashSet;
Signature: ()Ljava/util/Iterator<Lcom/carrotsearch/hppc/cursors/IntCursor;>;
public <T extends com.carrotsearch.hppc.procedures.IntProcedure> T forEach();
descriptor: (Lcom/carrotsearch/hppc/procedures/IntProcedure;)Lcom/carrotsearch/hppc/procedures/IntProcedure;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
ifeq 2
1: aload 1
iconst_0
invokeinterface com.carrotsearch.hppc.procedures.IntProcedure.apply:(I)V
2: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
istore 4
start local 4 5: goto 10
6: StackMap locals: int[] int int
StackMap stack:
aload 2
iload 3
iaload
dup
istore 5
start local 5 7: ifeq 9
8: aload 1
iload 5
invokeinterface com.carrotsearch.hppc.procedures.IntProcedure.apply:(I)V
end local 5 9: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
10: iload 3
iload 4
if_icmple 6
end local 4 end local 3 11: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 12 1 procedure TT;
3 12 2 keys [I
4 11 3 slot I
5 11 4 max I
7 9 5 existing I
Signature: <T::Lcom/carrotsearch/hppc/procedures/IntProcedure;>(TT;)TT;
MethodParameters:
Name Flags
procedure
public <T extends com.carrotsearch.hppc.predicates.IntPredicate> T forEach();
descriptor: (Lcom/carrotsearch/hppc/predicates/IntPredicate;)Lcom/carrotsearch/hppc/predicates/IntPredicate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
ifeq 3
1: aload 1
iconst_0
invokeinterface com.carrotsearch.hppc.predicates.IntPredicate.apply:(I)Z
ifne 3
2: aload 1
areturn
3: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
astore 2
start local 2 4: iconst_0
istore 3
start local 3 5: aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
istore 4
start local 4 6: goto 12
7: StackMap locals: int[] int int
StackMap stack:
aload 2
iload 3
iaload
dup
istore 5
start local 5 8: ifeq 11
9: aload 1
iload 5
invokeinterface com.carrotsearch.hppc.predicates.IntPredicate.apply:(I)Z
ifne 11
10: goto 13
end local 5 11: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
iload 4
if_icmple 7
end local 4 end local 3 13: StackMap locals:
StackMap stack:
aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 14 1 predicate TT;
4 14 2 keys [I
5 13 3 slot I
6 13 4 max I
8 11 5 existing I
Signature: <T::Lcom/carrotsearch/hppc/predicates/IntPredicate;>(TT;)TT;
MethodParameters:
Name Flags
predicate
public static com.carrotsearch.hppc.IntHashSet from(int[]);
descriptor: ([I)Lcom/carrotsearch/hppc/IntHashSet;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=1
start local 0 0: new com.carrotsearch.hppc.IntHashSet
dup
aload 0
arraylength
invokespecial com.carrotsearch.hppc.IntHashSet.<init>:(I)V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual com.carrotsearch.hppc.IntHashSet.addAll:([I)I
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 elements [I
1 3 1 set Lcom/carrotsearch/hppc/IntHashSet;
MethodParameters:
Name Flags
elements
protected int hashKey(int);
descriptor: (I)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.carrotsearch.hppc.IntHashSet.$assertionsDisabled:Z
ifne 1
iload 1
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keyMixer:I
invokestatic com.carrotsearch.hppc.BitMixer.mix:(II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 2 1 key I
MethodParameters:
Name Flags
key
public int indexOf(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
istore 2
start local 2 1: iload 1
ifne 5
2: aload 0
getfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
ifeq 3
iload 2
iconst_1
iadd
goto 4
StackMap locals: int
StackMap stack:
3: iload 2
iconst_1
iadd
iconst_m1
ixor
StackMap locals:
StackMap stack: int
4: ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
astore 3
start local 3 6: aload 0
iload 1
invokevirtual com.carrotsearch.hppc.IntHashSet.hashKey:(I)I
iload 2
iand
istore 4
start local 4 7: goto 11
start local 5 8: StackMap locals: int[] int int
StackMap stack:
iload 5
iload 1
if_icmpne 10
9: iload 4
ireturn
10: StackMap locals:
StackMap stack:
iload 4
iconst_1
iadd
iload 2
iand
istore 4
end local 5 11: StackMap locals:
StackMap stack:
aload 3
iload 4
iaload
dup
istore 5
start local 5 12: ifne 8
13: iload 4
iconst_m1
ixor
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 14 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 14 1 key I
1 14 2 mask I
6 14 3 keys [I
7 14 4 slot I
8 11 5 existing I
12 14 5 existing I
MethodParameters:
Name Flags
key
public boolean indexExists(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.carrotsearch.hppc.IntHashSet.$assertionsDisabled:Z
ifne 4
iload 1
iflt 4
1: iload 1
iflt 2
iload 1
aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
if_icmple 4
2: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
iconst_1
iadd
if_icmpne 3
aload 0
getfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
ifne 4
StackMap locals:
StackMap stack:
3: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
iload 1
iflt 5
iconst_1
ireturn
StackMap locals:
StackMap stack:
5: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 6 1 index I
MethodParameters:
Name Flags
index
public int indexGet(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.carrotsearch.hppc.IntHashSet.$assertionsDisabled:Z
ifne 1
iload 1
ifge 1
new java.lang.AssertionError
dup
ldc "The index must point at an existing key."
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
getstatic com.carrotsearch.hppc.IntHashSet.$assertionsDisabled:Z
ifne 4
iload 1
aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
if_icmple 4
2: iload 1
aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
iconst_1
iadd
if_icmpne 3
aload 0
getfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
ifne 4
StackMap locals:
StackMap stack:
3: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
iload 1
iaload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 5 1 index I
MethodParameters:
Name Flags
index
public int indexReplace(int, int);
descriptor: (II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.carrotsearch.hppc.IntHashSet.$assertionsDisabled:Z
ifne 1
iload 1
ifge 1
new java.lang.AssertionError
dup
ldc "The index must point at an existing key."
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
getstatic com.carrotsearch.hppc.IntHashSet.$assertionsDisabled:Z
ifne 4
iload 1
aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
if_icmple 4
2: iload 1
aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
iconst_1
iadd
if_icmpne 3
aload 0
getfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
ifne 4
StackMap locals:
StackMap stack:
3: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
getstatic com.carrotsearch.hppc.IntHashSet.$assertionsDisabled:Z
ifne 5
iload 2
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
iload 1
iaload
if_icmpeq 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
iload 1
iaload
istore 3
start local 3 6: aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
iload 1
iload 2
iastore
7: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 8 1 index I
0 8 2 equivalentKey I
6 8 3 previousValue I
MethodParameters:
Name Flags
index
equivalentKey
public void indexInsert(int, int);
descriptor: (II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.carrotsearch.hppc.IntHashSet.$assertionsDisabled:Z
ifne 1
iload 1
iflt 1
new java.lang.AssertionError
dup
ldc "The index must not point at an existing key."
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
iload 1
iconst_m1
ixor
istore 1
2: iload 2
ifne 7
3: getstatic com.carrotsearch.hppc.IntHashSet.$assertionsDisabled:Z
ifne 4
iload 1
aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
iconst_1
iadd
if_icmpeq 4
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
getstatic com.carrotsearch.hppc.IntHashSet.$assertionsDisabled:Z
ifne 5
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
iload 1
iaload
ifeq 5
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
5: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield com.carrotsearch.hppc.IntHashSet.hasEmptyKey:Z
6: goto 13
7: StackMap locals:
StackMap stack:
getstatic com.carrotsearch.hppc.IntHashSet.$assertionsDisabled:Z
ifne 8
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
iload 1
iaload
ifeq 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.IntHashSet.assigned:I
aload 0
getfield com.carrotsearch.hppc.IntHashSet.resizeAt:I
if_icmpne 11
9: aload 0
iload 1
iload 2
invokevirtual com.carrotsearch.hppc.IntHashSet.allocateThenInsertThenRehash:(II)V
10: goto 12
11: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
iload 1
iload 2
iastore
12: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.carrotsearch.hppc.IntHashSet.assigned:I
iconst_1
iadd
putfield com.carrotsearch.hppc.IntHashSet.assigned:I
13: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 14 1 index I
0 14 2 key I
MethodParameters:
Name Flags
index
key
public java.lang.String visualizeKeyDistribution(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
iload 1
invokestatic com.carrotsearch.hppc.IntBufferVisualizer.visualizeKeyDistribution:([III)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 1 1 characters I
MethodParameters:
Name Flags
characters
protected double verifyLoadFactor(double);
descriptor: (D)D
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=3, args_size=2
start local 0 start local 1 0: dload 1
ldc 0.009999999776482582
ldc 0.9900000095367432
invokestatic com.carrotsearch.hppc.HashContainers.checkLoadFactor:(DDD)V
1: dload 1
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 2 1 loadFactor D
MethodParameters:
Name Flags
loadFactor
protected void rehash(int[]);
descriptor: ([I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: getstatic com.carrotsearch.hppc.IntHashSet.$assertionsDisabled:Z
ifne 1
aload 1
arraylength
iconst_1
isub
invokestatic com.carrotsearch.hppc.HashContainers.checkPowerOfTwo:(I)Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
astore 2
start local 2 2: aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
istore 3
start local 3 3: aload 1
arraylength
iconst_1
isub
istore 5
start local 5 4: goto 12
5: StackMap locals: com.carrotsearch.hppc.IntHashSet int[] int[] int top int
StackMap stack:
aload 1
iload 5
iaload
dup
istore 4
start local 4 6: ifeq 12
7: aload 0
iload 4
invokevirtual com.carrotsearch.hppc.IntHashSet.hashKey:(I)I
iload 3
iand
istore 6
start local 6 8: goto 10
9: StackMap locals: com.carrotsearch.hppc.IntHashSet int[] int[] int int int int
StackMap stack:
iload 6
iconst_1
iadd
iload 3
iand
istore 6
10: StackMap locals:
StackMap stack:
aload 2
iload 6
iaload
ifne 9
11: aload 2
iload 6
iload 4
iastore
end local 6 end local 4 12: StackMap locals: com.carrotsearch.hppc.IntHashSet int[] int[] int top int
StackMap stack:
iinc 5 -1
iload 5
ifge 5
end local 5 13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 14 1 fromKeys [I
2 14 2 keys [I
3 14 3 mask I
6 12 4 existing I
4 13 5 i I
8 12 6 slot I
MethodParameters:
Name Flags
fromKeys
protected void allocateBuffers(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=5, args_size=2
start local 0 start local 1 0: getstatic com.carrotsearch.hppc.IntHashSet.$assertionsDisabled:Z
ifne 1
iload 1
invokestatic java.lang.Integer.bitCount:(I)I
iconst_1
if_icmpeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.IntHashSet.orderMixer:Lcom/carrotsearch/hppc/HashOrderMixingStrategy;
iload 1
invokeinterface com.carrotsearch.hppc.HashOrderMixingStrategy.newKeyMixer:(I)I
istore 2
start local 2 2: aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
astore 3
start local 3 3: iconst_1
istore 4
start local 4 4: aload 0
iload 1
iload 4
iadd
newarray 10
putfield com.carrotsearch.hppc.IntHashSet.keys:[I
end local 4 5: goto 16
StackMap locals: com.carrotsearch.hppc.IntHashSet int int int[]
StackMap stack: java.lang.OutOfMemoryError
6: astore 4
start local 4 7: aload 0
aload 3
putfield com.carrotsearch.hppc.IntHashSet.keys:[I
8: new com.carrotsearch.hppc.BufferAllocationException
dup
9: ldc "Not enough memory to allocate buffers for rehashing: %,d -> %,d"
10: aload 4
iconst_2
anewarray java.lang.Object
dup
iconst_0
11: aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
ifnonnull 12
iconst_0
goto 13
StackMap locals: com.carrotsearch.hppc.IntHashSet int int int[] java.lang.OutOfMemoryError
StackMap stack: new 8 new 8 java.lang.String java.lang.OutOfMemoryError java.lang.Object[] java.lang.Object[] int
12: aload 0
invokevirtual com.carrotsearch.hppc.IntHashSet.size:()I
StackMap locals: com.carrotsearch.hppc.IntHashSet int int int[] java.lang.OutOfMemoryError
StackMap stack: new 8 new 8 java.lang.String java.lang.OutOfMemoryError java.lang.Object[] java.lang.Object[] int int
13: invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
14: iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
15: aastore
invokespecial com.carrotsearch.hppc.BufferAllocationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V
athrow
end local 4 16: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 0
getfield com.carrotsearch.hppc.IntHashSet.loadFactor:D
invokestatic com.carrotsearch.hppc.HashContainers.expandAtCount:(ID)I
putfield com.carrotsearch.hppc.IntHashSet.resizeAt:I
17: aload 0
iload 2
putfield com.carrotsearch.hppc.IntHashSet.keyMixer:I
18: aload 0
iload 1
iconst_1
isub
putfield com.carrotsearch.hppc.IntHashSet.mask:I
19: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 20 1 arraySize I
2 20 2 newKeyMixer I
3 20 3 prevKeys [I
4 5 4 emptyElementSlot I
7 16 4 e Ljava/lang/OutOfMemoryError;
Exception table:
from to target type
3 5 6 Class java.lang.OutOfMemoryError
MethodParameters:
Name Flags
arraySize
protected void allocateThenInsertThenRehash(int, int);
descriptor: (II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.carrotsearch.hppc.IntHashSet.$assertionsDisabled:Z
ifne 4
aload 0
getfield com.carrotsearch.hppc.IntHashSet.assigned:I
aload 0
getfield com.carrotsearch.hppc.IntHashSet.resizeAt:I
if_icmpne 3
1: aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
iload 1
iaload
ifne 3
2: iload 2
ifne 4
StackMap locals:
StackMap stack:
3: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
4: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
astore 3
start local 3 5: aload 0
aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
iconst_1
iadd
aload 0
invokevirtual com.carrotsearch.hppc.IntHashSet.size:()I
aload 0
getfield com.carrotsearch.hppc.IntHashSet.loadFactor:D
invokestatic com.carrotsearch.hppc.HashContainers.nextBufferSize:(IID)I
invokevirtual com.carrotsearch.hppc.IntHashSet.allocateBuffers:(I)V
6: getstatic com.carrotsearch.hppc.IntHashSet.$assertionsDisabled:Z
ifne 7
aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
arraylength
aload 3
arraylength
if_icmpgt 7
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
7: StackMap locals: int[]
StackMap stack:
aload 3
iload 1
iload 2
iastore
8: aload 0
aload 3
invokevirtual com.carrotsearch.hppc.IntHashSet.rehash:([I)V
9: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 10 1 slot I
0 10 2 pendingKey I
5 10 3 prevKeys [I
MethodParameters:
Name Flags
slot
pendingKey
protected void shiftConflictingKeys(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield com.carrotsearch.hppc.IntHashSet.keys:[I
astore 2
start local 2 1: aload 0
getfield com.carrotsearch.hppc.IntHashSet.mask:I
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: StackMap locals: int[] int int
StackMap stack:
iload 1
iinc 4 1
iload 4
iadd
iload 3
iand
istore 5
start local 5 4: aload 2
iload 5
iaload
istore 6
start local 6 5: iload 6
ifne 7
6: goto 14
7: StackMap locals: int int
StackMap stack:
aload 0
iload 6
invokevirtual com.carrotsearch.hppc.IntHashSet.hashKey:(I)I
istore 7
start local 7 8: iload 5
iload 7
isub
iload 3
iand
istore 8
start local 8 9: iload 8
iload 4
if_icmplt 3
10: aload 2
iload 1
iload 6
iastore
11: iload 5
istore 1
12: iconst_0
istore 4
end local 8 end local 7 end local 6 end local 5 13: goto 3
14: StackMap locals:
StackMap stack:
aload 2
iload 1
iconst_0
iastore
15: aload 0
dup
getfield com.carrotsearch.hppc.IntHashSet.assigned:I
iconst_1
isub
putfield com.carrotsearch.hppc.IntHashSet.assigned:I
16: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/carrotsearch/hppc/IntHashSet;
0 17 1 gapSlot I
1 17 2 keys [I
2 17 3 mask I
3 17 4 distance I
4 13 5 slot I
5 13 6 existing I
8 13 7 idealSlot I
9 13 8 shift I
MethodParameters:
Name Flags
gapSlot
public int retainAll(com.carrotsearch.hppc.predicates.IntPredicate);
descriptor: (Lcom/carrotsearch/hppc/predicates/IntPredicate;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial com.carrotsearch.hppc.AbstractIntCollection.retainAll:(Lcom/carrotsearch/hppc/predicates/IntPredicate;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public int retainAll(com.carrotsearch.hppc.IntLookupContainer);
descriptor: (Lcom/carrotsearch/hppc/IntLookupContainer;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial com.carrotsearch.hppc.AbstractIntCollection.retainAll:(Lcom/carrotsearch/hppc/IntLookupContainer;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokespecial com.carrotsearch.hppc.AbstractIntCollection.toString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public int removeAll(com.carrotsearch.hppc.IntLookupContainer);
descriptor: (Lcom/carrotsearch/hppc/IntLookupContainer;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
invokespecial com.carrotsearch.hppc.AbstractIntCollection.removeAll:(Lcom/carrotsearch/hppc/IntLookupContainer;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.carrotsearch.hppc.IntHashSet.clone:()Lcom/carrotsearch/hppc/IntHashSet;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.CloneNotSupportedException
}
SourceFile: "IntHashSet.java"
NestMembers:
com.carrotsearch.hppc.IntHashSet$EntryIterator
InnerClasses:
protected final EntryIterator = com.carrotsearch.hppc.IntHashSet$EntryIterator of com.carrotsearch.hppc.IntHashSet