public class com.carrotsearch.hppc.LongShortHashMap implements com.carrotsearch.hppc.LongShortMap, 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.LongShortHashMap
super_class: java.lang.Object
{
public long[] keys;
descriptor: [J
flags: (0x0001) ACC_PUBLIC
public short[] values;
descriptor: [S
flags: (0x0001) ACC_PUBLIC
protected int keyMixer;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int assigned;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int mask;
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/LongShortHashMap;
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.LongShortHashMap.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_4
invokespecial com.carrotsearch.hppc.LongShortHashMap.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
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.LongShortHashMap.<init>:(ID)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
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.LongShortHashMap.<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/LongShortHashMap;
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 java.lang.Object.<init>:()V
1: aload 0
aload 4
putfield com.carrotsearch.hppc.LongShortHashMap.orderMixer:Lcom/carrotsearch/hppc/HashOrderMixingStrategy;
2: aload 0
aload 0
dload 2
invokevirtual com.carrotsearch.hppc.LongShortHashMap.verifyLoadFactor:(D)D
putfield com.carrotsearch.hppc.LongShortHashMap.loadFactor:D
3: aload 0
iload 1
invokevirtual com.carrotsearch.hppc.LongShortHashMap.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/LongShortHashMap;
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.LongShortAssociativeContainer);
descriptor: (Lcom/carrotsearch/hppc/LongShortAssociativeContainer;)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.LongShortAssociativeContainer.size:()I
invokespecial com.carrotsearch.hppc.LongShortHashMap.<init>:(I)V
1: aload 0
aload 1
invokevirtual com.carrotsearch.hppc.LongShortHashMap.putAll:(Lcom/carrotsearch/hppc/LongShortAssociativeContainer;)I
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 3 1 container Lcom/carrotsearch/hppc/LongShortAssociativeContainer;
MethodParameters:
Name Flags
container
public short put(long, short);
descriptor: (JS)S
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 3 0: getstatic com.carrotsearch.hppc.LongShortHashMap.$assertionsDisabled:Z
ifne 1
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.assigned:I
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
iconst_1
iadd
if_icmplt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
istore 4
start local 4 2: lload 1
lconst_0
lcmp
ifne 7
3: aload 0
iconst_1
putfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
4: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
iload 4
iconst_1
iadd
saload
istore 5
start local 5 5: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
iload 4
iconst_1
iadd
iload 3
sastore
6: iload 5
ireturn
end local 5 7: StackMap locals: int
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
astore 5
start local 5 8: aload 0
lload 1
invokevirtual com.carrotsearch.hppc.LongShortHashMap.hashKey:(J)I
iload 4
iand
istore 6
start local 6 9: goto 15
start local 7 10: StackMap locals: long[] int long
StackMap stack:
lload 7
lload 1
lcmp
ifne 14
11: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
iload 6
saload
istore 9
start local 9 12: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
iload 6
iload 3
sastore
13: iload 9
ireturn
end local 9 14: StackMap locals:
StackMap stack:
iload 6
iconst_1
iadd
iload 4
iand
istore 6
end local 7 15: StackMap locals:
StackMap stack:
aload 5
iload 6
laload
dup2
lstore 7
start local 7 16: lconst_0
lcmp
ifne 10
17: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.assigned:I
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.resizeAt:I
if_icmpne 20
18: aload 0
iload 6
lload 1
iload 3
invokevirtual com.carrotsearch.hppc.LongShortHashMap.allocateThenInsertThenRehash:(IJS)V
19: goto 22
20: StackMap locals: long
StackMap stack:
aload 5
iload 6
lload 1
lastore
21: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
iload 6
iload 3
sastore
22: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.carrotsearch.hppc.LongShortHashMap.assigned:I
iconst_1
iadd
putfield com.carrotsearch.hppc.LongShortHashMap.assigned:I
23: iconst_0
ireturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 24 1 key J
0 24 3 value S
2 24 4 mask I
5 7 5 previousValue S
8 24 5 keys [J
9 24 6 slot I
10 15 7 existing J
16 24 7 existing J
12 14 9 previousValue S
MethodParameters:
Name Flags
key
value
public int putAll(com.carrotsearch.hppc.LongShortAssociativeContainer);
descriptor: (Lcom/carrotsearch/hppc/LongShortAssociativeContainer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.carrotsearch.hppc.LongShortHashMap.size:()I
istore 2
start local 2 1: aload 1
invokeinterface com.carrotsearch.hppc.LongShortAssociativeContainer.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: com.carrotsearch.hppc.LongShortHashMap com.carrotsearch.hppc.LongShortAssociativeContainer int top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.carrotsearch.hppc.cursors.LongShortCursor
astore 3
start local 3 3: aload 0
aload 3
getfield com.carrotsearch.hppc.cursors.LongShortCursor.key:J
aload 3
getfield com.carrotsearch.hppc.cursors.LongShortCursor.value:S
invokevirtual com.carrotsearch.hppc.LongShortHashMap.put:(JS)S
pop
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
invokevirtual com.carrotsearch.hppc.LongShortHashMap.size:()I
iload 2
isub
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 6 1 container Lcom/carrotsearch/hppc/LongShortAssociativeContainer;
1 6 2 count I
3 4 3 c Lcom/carrotsearch/hppc/cursors/LongShortCursor;
MethodParameters:
Name Flags
container
public int putAll(java.lang.Iterable<? extends com.carrotsearch.hppc.cursors.LongShortCursor>);
descriptor: (Ljava/lang/Iterable;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.carrotsearch.hppc.LongShortHashMap.size:()I
istore 2
start local 2 1: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: com.carrotsearch.hppc.LongShortHashMap 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.LongShortCursor
astore 3
start local 3 3: aload 0
aload 3
getfield com.carrotsearch.hppc.cursors.LongShortCursor.key:J
aload 3
getfield com.carrotsearch.hppc.cursors.LongShortCursor.value:S
invokevirtual com.carrotsearch.hppc.LongShortHashMap.put:(JS)S
pop
end local 3 4: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 0
invokevirtual com.carrotsearch.hppc.LongShortHashMap.size:()I
iload 2
isub
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 6 1 iterable Ljava/lang/Iterable<+Lcom/carrotsearch/hppc/cursors/LongShortCursor;>;
1 6 2 count I
3 4 3 c Lcom/carrotsearch/hppc/cursors/LongShortCursor;
Signature: (Ljava/lang/Iterable<+Lcom/carrotsearch/hppc/cursors/LongShortCursor;>;)I
MethodParameters:
Name Flags
iterable
public boolean putIfAbsent(long, short);
descriptor: (JS)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
invokevirtual com.carrotsearch.hppc.LongShortHashMap.indexOf:(J)I
istore 4
start local 4 1: aload 0
iload 4
invokevirtual com.carrotsearch.hppc.LongShortHashMap.indexExists:(I)Z
ifne 4
2: aload 0
iload 4
lload 1
iload 3
invokevirtual com.carrotsearch.hppc.LongShortHashMap.indexInsert:(IJS)V
3: iconst_1
ireturn
4: StackMap locals: int
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 5 1 key J
0 5 3 value S
1 5 4 keyIndex I
MethodParameters:
Name Flags
key
value
public short putOrAdd(long, short, short);
descriptor: (JSS)S
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 3 start local 4 0: getstatic com.carrotsearch.hppc.LongShortHashMap.$assertionsDisabled:Z
ifne 1
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.assigned:I
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
iconst_1
iadd
if_icmplt 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
lload 1
invokevirtual com.carrotsearch.hppc.LongShortHashMap.indexOf:(J)I
istore 5
start local 5 2: aload 0
iload 5
invokevirtual com.carrotsearch.hppc.LongShortHashMap.indexExists:(I)Z
ifeq 6
3: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
iload 5
saload
iload 4
iadd
i2s
istore 3
4: aload 0
iload 5
iload 3
invokevirtual com.carrotsearch.hppc.LongShortHashMap.indexReplace:(IS)S
pop
5: goto 7
6: StackMap locals: int
StackMap stack:
aload 0
iload 5
lload 1
iload 3
invokevirtual com.carrotsearch.hppc.LongShortHashMap.indexInsert:(IJS)V
7: StackMap locals:
StackMap stack:
iload 3
ireturn
end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 8 1 key J
0 8 3 putValue S
0 8 4 incrementValue S
2 8 5 keyIndex I
MethodParameters:
Name Flags
key
putValue
incrementValue
public short addTo(long, short);
descriptor: (JS)S
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 3 0: aload 0
lload 1
iload 3
iload 3
invokevirtual com.carrotsearch.hppc.LongShortHashMap.putOrAdd:(JSS)S
ireturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 1 1 key J
0 1 3 incrementValue S
MethodParameters:
Name Flags
key
incrementValue
public short remove(long);
descriptor: (J)S
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=2
start local 0 start local 1 0: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
istore 3
start local 3 1: lload 1
lconst_0
lcmp
ifne 6
2: aload 0
iconst_0
putfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
3: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
iload 3
iconst_1
iadd
saload
istore 4
start local 4 4: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
iload 3
iconst_1
iadd
iconst_0
sastore
5: iload 4
ireturn
end local 4 6: StackMap locals: int
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
astore 4
start local 4 7: aload 0
lload 1
invokevirtual com.carrotsearch.hppc.LongShortHashMap.hashKey:(J)I
iload 3
iand
istore 5
start local 5 8: goto 14
start local 6 9: StackMap locals: long[] int long
StackMap stack:
lload 6
lload 1
lcmp
ifne 13
10: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
iload 5
saload
istore 8
start local 8 11: aload 0
iload 5
invokevirtual com.carrotsearch.hppc.LongShortHashMap.shiftConflictingKeys:(I)V
12: iload 8
ireturn
end local 8 13: StackMap locals:
StackMap stack:
iload 5
iconst_1
iadd
iload 3
iand
istore 5
end local 6 14: StackMap locals:
StackMap stack:
aload 4
iload 5
laload
dup2
lstore 6
start local 6 15: lconst_0
lcmp
ifne 9
16: iconst_0
ireturn
end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 17 1 key J
1 17 3 mask I
4 6 4 previousValue S
7 17 4 keys [J
8 17 5 slot I
9 14 6 existing J
15 17 6 existing J
11 13 8 previousValue S
MethodParameters:
Name Flags
key
public int removeAll(com.carrotsearch.hppc.LongContainer);
descriptor: (Lcom/carrotsearch/hppc/LongContainer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.carrotsearch.hppc.LongShortHashMap.size:()I
istore 2
start local 2 1: aload 1
invokeinterface com.carrotsearch.hppc.LongContainer.size:()I
aload 0
invokevirtual com.carrotsearch.hppc.LongShortHashMap.size:()I
if_icmplt 18
2: aload 1
instanceof com.carrotsearch.hppc.LongLookupContainer
ifeq 18
3: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
ifeq 7
4: aload 1
lconst_0
invokeinterface com.carrotsearch.hppc.LongContainer.contains:(J)Z
ifeq 7
5: aload 0
iconst_0
putfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
6: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
iconst_1
iadd
iconst_0
sastore
7: StackMap locals: int
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
astore 3
start local 3 8: iconst_0
istore 4
start local 4 9: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
istore 5
start local 5 10: goto 16
11: StackMap locals: long[] int int
StackMap stack:
aload 3
iload 4
laload
dup2
lstore 6
start local 6 12: lconst_0
lcmp
ifeq 15
aload 1
lload 6
invokeinterface com.carrotsearch.hppc.LongContainer.contains:(J)Z
ifeq 15
13: aload 0
iload 4
invokevirtual com.carrotsearch.hppc.LongShortHashMap.shiftConflictingKeys:(I)V
14: goto 16
15: StackMap locals: long
StackMap stack:
iinc 4 1
end local 6 16: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmple 11
end local 5 end local 4 end local 3 17: goto 22
18: StackMap locals:
StackMap stack:
aload 1
invokeinterface com.carrotsearch.hppc.LongContainer.iterator:()Ljava/util/Iterator;
astore 4
goto 21
StackMap locals: com.carrotsearch.hppc.LongShortHashMap com.carrotsearch.hppc.LongContainer int top java.util.Iterator
StackMap stack:
19: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.carrotsearch.hppc.cursors.LongCursor
astore 3
start local 3 20: aload 0
aload 3
getfield com.carrotsearch.hppc.cursors.LongCursor.value:J
invokevirtual com.carrotsearch.hppc.LongShortHashMap.remove:(J)S
pop
end local 3 21: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 19
22: StackMap locals: com.carrotsearch.hppc.LongShortHashMap com.carrotsearch.hppc.LongContainer int
StackMap stack:
iload 2
aload 0
invokevirtual com.carrotsearch.hppc.LongShortHashMap.size:()I
isub
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 23 1 other Lcom/carrotsearch/hppc/LongContainer;
1 23 2 before I
8 17 3 keys [J
9 17 4 slot I
10 17 5 max I
12 16 6 existing J
20 21 3 c Lcom/carrotsearch/hppc/cursors/LongCursor;
MethodParameters:
Name Flags
other
public int removeAll(com.carrotsearch.hppc.predicates.LongShortPredicate);
descriptor: (Lcom/carrotsearch/hppc/predicates/LongShortPredicate;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.carrotsearch.hppc.LongShortHashMap.size:()I
istore 2
start local 2 1: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
istore 3
start local 3 2: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
ifeq 6
3: aload 1
lconst_0
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
iload 3
iconst_1
iadd
saload
invokeinterface com.carrotsearch.hppc.predicates.LongShortPredicate.apply:(JS)Z
ifeq 6
4: aload 0
iconst_0
putfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
5: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
iload 3
iconst_1
iadd
iconst_0
sastore
6: StackMap locals: int int
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
astore 4
start local 4 7: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
astore 5
start local 5 8: iconst_0
istore 6
start local 6 9: goto 16
10: StackMap locals: long[] short[] int
StackMap stack:
aload 4
iload 6
laload
dup2
lstore 7
start local 7 11: lconst_0
lcmp
ifeq 15
12: aload 1
lload 7
aload 5
iload 6
saload
invokeinterface com.carrotsearch.hppc.predicates.LongShortPredicate.apply:(JS)Z
ifeq 15
13: aload 0
iload 6
invokevirtual com.carrotsearch.hppc.LongShortHashMap.shiftConflictingKeys:(I)V
14: goto 16
15: StackMap locals: long
StackMap stack:
iinc 6 1
end local 7 16: StackMap locals:
StackMap stack:
iload 6
iload 3
if_icmple 10
end local 6 17: iload 2
aload 0
invokevirtual com.carrotsearch.hppc.LongShortHashMap.size:()I
isub
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/carrotsearch/hppc/LongShortHashMap;
0 18 1 predicate Lcom/carrotsearch/hppc/predicates/LongShortPredicate;
1 18 2 before I
2 18 3 mask I
7 18 4 keys [J
8 18 5 values [S
9 17 6 slot I
11 16 7 existing J
MethodParameters:
Name Flags
predicate
public int removeAll(com.carrotsearch.hppc.predicates.LongPredicate);
descriptor: (Lcom/carrotsearch/hppc/predicates/LongPredicate;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.carrotsearch.hppc.LongShortHashMap.size:()I
istore 2
start local 2 1: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
ifeq 5
2: aload 1
lconst_0
invokeinterface com.carrotsearch.hppc.predicates.LongPredicate.apply:(J)Z
ifeq 5
3: aload 0
iconst_0
putfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
4: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
iconst_1
iadd
iconst_0
sastore
5: StackMap locals: int
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
astore 3
start local 3 6: iconst_0
istore 4
start local 4 7: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
istore 5
start local 5 8: goto 15
9: StackMap locals: long[] int int
StackMap stack:
aload 3
iload 4
laload
dup2
lstore 6
start local 6 10: lconst_0
lcmp
ifeq 14
11: aload 1
lload 6
invokeinterface com.carrotsearch.hppc.predicates.LongPredicate.apply:(J)Z
ifeq 14
12: aload 0
iload 4
invokevirtual com.carrotsearch.hppc.LongShortHashMap.shiftConflictingKeys:(I)V
13: goto 15
14: StackMap locals: long
StackMap stack:
iinc 4 1
end local 6 15: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmple 9
end local 5 end local 4 16: iload 2
aload 0
invokevirtual com.carrotsearch.hppc.LongShortHashMap.size:()I
isub
ireturn
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/LongShortHashMap;
0 17 1 predicate Lcom/carrotsearch/hppc/predicates/LongPredicate;
1 17 2 before I
6 17 3 keys [J
7 16 4 slot I
8 16 5 max I
10 15 6 existing J
MethodParameters:
Name Flags
predicate
public short get(long);
descriptor: (J)S
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifne 4
1: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
ifeq 2
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
iconst_1
iadd
saload
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
astore 3
start local 3 5: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
istore 4
start local 4 6: aload 0
lload 1
invokevirtual com.carrotsearch.hppc.LongShortHashMap.hashKey:(J)I
iload 4
iand
istore 5
start local 5 7: goto 11
start local 6 8: StackMap locals: com.carrotsearch.hppc.LongShortHashMap long long[] int int long
StackMap stack:
lload 6
lload 1
lcmp
ifne 10
9: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
iload 5
saload
ireturn
10: StackMap locals:
StackMap stack:
iload 5
iconst_1
iadd
iload 4
iand
istore 5
end local 6 11: StackMap locals:
StackMap stack:
aload 3
iload 5
laload
dup2
lstore 6
start local 6 12: lconst_0
lcmp
ifne 8
13: iconst_0
ireturn
end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 14 1 key J
5 14 3 keys [J
6 14 4 mask I
7 14 5 slot I
8 11 6 existing J
12 14 6 existing J
MethodParameters:
Name Flags
key
public short getOrDefault(long, short);
descriptor: (JS)S
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 3 0: lload 1
lconst_0
lcmp
ifne 4
1: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
ifeq 2
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
iconst_1
iadd
saload
goto 3
StackMap locals:
StackMap stack:
2: iload 3
StackMap locals:
StackMap stack: int
3: ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
astore 4
start local 4 5: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
istore 5
start local 5 6: aload 0
lload 1
invokevirtual com.carrotsearch.hppc.LongShortHashMap.hashKey:(J)I
iload 5
iand
istore 6
start local 6 7: goto 11
start local 7 8: StackMap locals: com.carrotsearch.hppc.LongShortHashMap long int long[] int int long
StackMap stack:
lload 7
lload 1
lcmp
ifne 10
9: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
iload 6
saload
ireturn
10: StackMap locals:
StackMap stack:
iload 6
iconst_1
iadd
iload 5
iand
istore 6
end local 7 11: StackMap locals:
StackMap stack:
aload 4
iload 6
laload
dup2
lstore 7
start local 7 12: lconst_0
lcmp
ifne 8
13: iload 3
ireturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 14 1 key J
0 14 3 defaultValue S
5 14 4 keys [J
6 14 5 mask I
7 14 6 slot I
8 11 7 existing J
12 14 7 existing J
MethodParameters:
Name Flags
key
defaultValue
public boolean containsKey(long);
descriptor: (J)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifne 2
1: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
astore 3
start local 3 3: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
istore 4
start local 4 4: aload 0
lload 1
invokevirtual com.carrotsearch.hppc.LongShortHashMap.hashKey:(J)I
iload 4
iand
istore 5
start local 5 5: goto 9
start local 6 6: StackMap locals: com.carrotsearch.hppc.LongShortHashMap long long[] int int long
StackMap stack:
lload 6
lload 1
lcmp
ifne 8
7: iconst_1
ireturn
8: StackMap locals:
StackMap stack:
iload 5
iconst_1
iadd
iload 4
iand
istore 5
end local 6 9: StackMap locals:
StackMap stack:
aload 3
iload 5
laload
dup2
lstore 6
start local 6 10: lconst_0
lcmp
ifne 6
11: iconst_0
ireturn
end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 12 1 key J
3 12 3 keys [J
4 12 4 mask I
5 12 5 slot I
6 9 6 existing J
10 12 6 existing J
MethodParameters:
Name Flags
key
public int indexOf(long);
descriptor: (J)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
istore 3
start local 3 1: lload 1
lconst_0
lcmp
ifne 5
2: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
ifeq 3
iload 3
iconst_1
iadd
goto 4
StackMap locals: int
StackMap stack:
3: iload 3
iconst_1
iadd
iconst_m1
ixor
StackMap locals:
StackMap stack: int
4: ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
astore 4
start local 4 6: aload 0
lload 1
invokevirtual com.carrotsearch.hppc.LongShortHashMap.hashKey:(J)I
iload 3
iand
istore 5
start local 5 7: goto 11
start local 6 8: StackMap locals: long[] int long
StackMap stack:
lload 6
lload 1
lcmp
ifne 10
9: iload 5
ireturn
10: StackMap locals:
StackMap stack:
iload 5
iconst_1
iadd
iload 3
iand
istore 5
end local 6 11: StackMap locals:
StackMap stack:
aload 4
iload 5
laload
dup2
lstore 6
start local 6 12: lconst_0
lcmp
ifne 8
13: iload 5
iconst_m1
ixor
ireturn
end local 6 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 14 1 key J
1 14 3 mask I
6 14 4 keys [J
7 14 5 slot I
8 11 6 existing J
12 14 6 existing J
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.LongShortHashMap.$assertionsDisabled:Z
ifne 4
iload 1
iflt 4
1: iload 1
iflt 2
iload 1
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
if_icmple 4
2: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
iconst_1
iadd
if_icmpne 3
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.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/LongShortHashMap;
0 6 1 index I
MethodParameters:
Name Flags
index
public short indexGet(int);
descriptor: (I)S
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.carrotsearch.hppc.LongShortHashMap.$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.LongShortHashMap.$assertionsDisabled:Z
ifne 4
iload 1
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
if_icmple 4
2: iload 1
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
iconst_1
iadd
if_icmpne 3
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.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.LongShortHashMap.values:[S
iload 1
saload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 5 1 index I
MethodParameters:
Name Flags
index
public short indexReplace(int, short);
descriptor: (IS)S
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.LongShortHashMap.$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.LongShortHashMap.$assertionsDisabled:Z
ifne 4
iload 1
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
if_icmple 4
2: iload 1
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
iconst_1
iadd
if_icmpne 3
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.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.LongShortHashMap.values:[S
iload 1
saload
istore 3
start local 3 5: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
iload 1
iload 2
sastore
6: iload 3
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 7 1 index I
0 7 2 newValue S
5 7 3 previousValue S
MethodParameters:
Name Flags
index
newValue
public void indexInsert(int, long, short);
descriptor: (IJS)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: getstatic com.carrotsearch.hppc.LongShortHashMap.$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: lload 2
lconst_0
lcmp
ifne 7
3: getstatic com.carrotsearch.hppc.LongShortHashMap.$assertionsDisabled:Z
ifne 4
iload 1
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.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:
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
iload 1
iload 4
sastore
5: aload 0
iconst_1
putfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
6: goto 14
7: StackMap locals:
StackMap stack:
getstatic com.carrotsearch.hppc.LongShortHashMap.$assertionsDisabled:Z
ifne 8
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
iload 1
laload
lconst_0
lcmp
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.LongShortHashMap.assigned:I
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.resizeAt:I
if_icmpne 11
9: aload 0
iload 1
lload 2
iload 4
invokevirtual com.carrotsearch.hppc.LongShortHashMap.allocateThenInsertThenRehash:(IJS)V
10: goto 13
11: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
iload 1
lload 2
lastore
12: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
iload 1
iload 4
sastore
13: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.carrotsearch.hppc.LongShortHashMap.assigned:I
iconst_1
iadd
putfield com.carrotsearch.hppc.LongShortHashMap.assigned:I
14: StackMap locals:
StackMap stack:
return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 15 1 index I
0 15 2 key J
0 15 4 value S
MethodParameters:
Name Flags
index
key
value
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.carrotsearch.hppc.LongShortHashMap.assigned:I
1: aload 0
iconst_0
putfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
2: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
lconst_0
invokestatic java.util.Arrays.fill:([JJ)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
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.LongShortHashMap.assigned:I
1: aload 0
iconst_0
putfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
2: aload 0
aconst_null
putfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
3: aload 0
aconst_null
putfield com.carrotsearch.hppc.LongShortHashMap.values:[S
4: aload 0
iconst_4
invokevirtual com.carrotsearch.hppc.LongShortHashMap.ensureCapacity:(I)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
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.LongShortHashMap.assigned:I
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack: int
1: iconst_0
StackMap locals: com.carrotsearch.hppc.LongShortHashMap
StackMap stack: int int
2: iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
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.LongShortHashMap.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/LongShortHashMap;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.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
invokevirtual com.carrotsearch.hppc.LongShortHashMap.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: com.carrotsearch.hppc.LongShortHashMap int top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.carrotsearch.hppc.cursors.LongShortCursor
astore 2
start local 2 5: iload 1
aload 2
getfield com.carrotsearch.hppc.cursors.LongShortCursor.key:J
invokestatic com.carrotsearch.hppc.BitMixer.mix:(J)I
6: aload 2
getfield com.carrotsearch.hppc.cursors.LongShortCursor.value:S
invokestatic com.carrotsearch.hppc.BitMixer.mix:(S)I
7: iadd
iadd
istore 1
end local 2 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
9: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
3 10 1 h I
5 8 2 c Lcom/carrotsearch/hppc/cursors/LongShortCursor;
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.LongShortHashMap
invokevirtual com.carrotsearch.hppc.LongShortHashMap.equalElements:(Lcom/carrotsearch/hppc/LongShortHashMap;)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/LongShortHashMap;
0 5 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
protected boolean equalElements(com.carrotsearch.hppc.LongShortHashMap);
descriptor: (Lcom/carrotsearch/hppc/LongShortHashMap;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.carrotsearch.hppc.LongShortHashMap.size:()I
aload 0
invokevirtual com.carrotsearch.hppc.LongShortHashMap.size:()I
if_icmpeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.carrotsearch.hppc.LongShortHashMap.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: com.carrotsearch.hppc.LongShortHashMap com.carrotsearch.hppc.LongShortHashMap top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.carrotsearch.hppc.cursors.LongShortCursor
astore 2
start local 2 4: aload 2
getfield com.carrotsearch.hppc.cursors.LongShortCursor.key:J
lstore 4
start local 4 5: aload 0
lload 4
invokevirtual com.carrotsearch.hppc.LongShortHashMap.containsKey:(J)Z
ifeq 7
6: aload 0
lload 4
invokevirtual com.carrotsearch.hppc.LongShortHashMap.get:(J)S
aload 2
getfield com.carrotsearch.hppc.cursors.LongShortCursor.value:S
if_icmpeq 8
7: StackMap locals: com.carrotsearch.hppc.LongShortHashMap com.carrotsearch.hppc.LongShortHashMap com.carrotsearch.hppc.cursors.LongShortCursor java.util.Iterator long
StackMap stack:
iconst_0
ireturn
end local 4 end local 2 8: StackMap locals: com.carrotsearch.hppc.LongShortHashMap com.carrotsearch.hppc.LongShortHashMap top java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
9: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 10 1 other Lcom/carrotsearch/hppc/LongShortHashMap;
4 8 2 c Lcom/carrotsearch/hppc/cursors/LongShortCursor;
5 8 4 key J
MethodParameters:
Name Flags
other
public void ensureCapacity(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: iload 1
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.resizeAt:I
if_icmpgt 1
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
ifnonnull 6
1: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
astore 2
start local 2 2: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
astore 3
start local 3 3: aload 0
iload 1
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.loadFactor:D
invokestatic com.carrotsearch.hppc.HashContainers.minBufferSize:(ID)I
invokevirtual com.carrotsearch.hppc.LongShortHashMap.allocateBuffers:(I)V
4: aload 2
ifnull 6
aload 0
invokevirtual com.carrotsearch.hppc.LongShortHashMap.isEmpty:()Z
ifne 6
5: aload 0
aload 2
aload 3
invokevirtual com.carrotsearch.hppc.LongShortHashMap.rehash:([J[S)V
end local 3 end local 2 6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 7 1 expectedElements I
2 6 2 prevKeys [J
3 6 3 prevValues [S
MethodParameters:
Name Flags
expectedElements
public java.util.Iterator<com.carrotsearch.hppc.cursors.LongShortCursor> 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.LongShortHashMap$EntryIterator
dup
aload 0
invokespecial com.carrotsearch.hppc.LongShortHashMap$EntryIterator.<init>:(Lcom/carrotsearch/hppc/LongShortHashMap;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
Signature: ()Ljava/util/Iterator<Lcom/carrotsearch/hppc/cursors/LongShortCursor;>;
public <T extends com.carrotsearch.hppc.procedures.LongShortProcedure> T forEach();
descriptor: (Lcom/carrotsearch/hppc/procedures/LongShortProcedure;)Lcom/carrotsearch/hppc/procedures/LongShortProcedure;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
astore 2
start local 2 1: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
astore 3
start local 3 2: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
ifeq 4
3: aload 1
lconst_0
aload 3
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
iconst_1
iadd
saload
invokeinterface com.carrotsearch.hppc.procedures.LongShortProcedure.apply:(JS)V
4: StackMap locals: long[] short[]
StackMap stack:
iconst_0
istore 4
start local 4 5: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
istore 5
start local 5 6: goto 10
7: StackMap locals: int int
StackMap stack:
aload 2
iload 4
laload
lconst_0
lcmp
ifeq 9
8: aload 1
aload 2
iload 4
laload
aload 3
iload 4
saload
invokeinterface com.carrotsearch.hppc.procedures.LongShortProcedure.apply:(JS)V
9: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
iload 5
if_icmple 7
end local 5 end local 4 11: aload 1
areturn
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/LongShortHashMap;
0 12 1 procedure TT;
1 12 2 keys [J
2 12 3 values [S
5 11 4 slot I
6 11 5 max I
Signature: <T::Lcom/carrotsearch/hppc/procedures/LongShortProcedure;>(TT;)TT;
MethodParameters:
Name Flags
procedure
public <T extends com.carrotsearch.hppc.predicates.LongShortPredicate> T forEach();
descriptor: (Lcom/carrotsearch/hppc/predicates/LongShortPredicate;)Lcom/carrotsearch/hppc/predicates/LongShortPredicate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
astore 2
start local 2 1: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
astore 3
start local 3 2: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
ifeq 5
3: aload 1
lconst_0
aload 3
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
iconst_1
iadd
saload
invokeinterface com.carrotsearch.hppc.predicates.LongShortPredicate.apply:(JS)Z
ifne 5
4: aload 1
areturn
5: StackMap locals: long[] short[]
StackMap stack:
iconst_0
istore 4
start local 4 6: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
istore 5
start local 5 7: goto 12
8: StackMap locals: int int
StackMap stack:
aload 2
iload 4
laload
lconst_0
lcmp
ifeq 11
9: aload 1
aload 2
iload 4
laload
aload 3
iload 4
saload
invokeinterface com.carrotsearch.hppc.predicates.LongShortPredicate.apply:(JS)Z
ifne 11
10: goto 13
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: StackMap locals:
StackMap stack:
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/LongShortHashMap;
0 14 1 predicate TT;
1 14 2 keys [J
2 14 3 values [S
6 13 4 slot I
7 13 5 max I
Signature: <T::Lcom/carrotsearch/hppc/predicates/LongShortPredicate;>(TT;)TT;
MethodParameters:
Name Flags
predicate
public com.carrotsearch.hppc.LongShortHashMap$KeysContainer keys();
descriptor: ()Lcom/carrotsearch/hppc/LongShortHashMap$KeysContainer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.carrotsearch.hppc.LongShortHashMap$KeysContainer
dup
aload 0
invokespecial com.carrotsearch.hppc.LongShortHashMap$KeysContainer.<init>:(Lcom/carrotsearch/hppc/LongShortHashMap;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
public com.carrotsearch.hppc.ShortCollection values();
descriptor: ()Lcom/carrotsearch/hppc/ShortCollection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.carrotsearch.hppc.LongShortHashMap$ValuesContainer
dup
aload 0
invokespecial com.carrotsearch.hppc.LongShortHashMap$ValuesContainer.<init>:(Lcom/carrotsearch/hppc/LongShortHashMap;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
public com.carrotsearch.hppc.LongShortHashMap clone();
descriptor: ()Lcom/carrotsearch/hppc/LongShortHashMap;
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.LongShortHashMap
astore 1
start local 1 1: aload 1
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
invokevirtual long[].clone:()Ljava/lang/Object;
checkcast long[]
putfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
2: aload 1
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
invokevirtual short[].clone:()Ljava/lang/Object;
checkcast short[]
putfield com.carrotsearch.hppc.LongShortHashMap.values:[S
3: aload 1
aload 1
getfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
putfield com.carrotsearch.hppc.LongShortHashMap.hasEmptyKey:Z
4: aload 1
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.orderMixer:Lcom/carrotsearch/hppc/HashOrderMixingStrategy;
invokeinterface com.carrotsearch.hppc.HashOrderMixingStrategy.clone:()Lcom/carrotsearch/hppc/HashOrderMixingStrategy;
putfield com.carrotsearch.hppc.LongShortHashMap.orderMixer:Lcom/carrotsearch/hppc/HashOrderMixingStrategy;
5: aload 1
6: areturn
end local 1 7: StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
astore 1
start local 1 8: 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 9 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
1 7 1 cloned Lcom/carrotsearch/hppc/LongShortHashMap;
8 9 1 e Ljava/lang/CloneNotSupportedException;
Exception table:
from to target type
0 6 7 Class java.lang.CloneNotSupportedException
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
ldc "["
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: iconst_1
istore 2
start local 2 3: aload 0
invokevirtual com.carrotsearch.hppc.LongShortHashMap.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals: com.carrotsearch.hppc.LongShortHashMap java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
4: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.carrotsearch.hppc.cursors.LongShortCursor
astore 3
start local 3 5: iload 2
ifne 7
6: aload 1
ldc ", "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals: com.carrotsearch.hppc.LongShortHashMap java.lang.StringBuilder int com.carrotsearch.hppc.cursors.LongShortCursor java.util.Iterator
StackMap stack:
aload 1
aload 3
getfield com.carrotsearch.hppc.cursors.LongShortCursor.key:J
invokevirtual java.lang.StringBuilder.append:(J)Ljava/lang/StringBuilder;
pop
8: aload 1
ldc "=>"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
9: aload 1
aload 3
getfield com.carrotsearch.hppc.cursors.LongShortCursor.value:S
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
pop
10: iconst_0
istore 2
end local 3 11: StackMap locals: com.carrotsearch.hppc.LongShortHashMap java.lang.StringBuilder int top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
12: aload 1
ldc "]"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
13: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
1 14 1 buffer Ljava/lang/StringBuilder;
3 14 2 first Z
5 11 3 cursor Lcom/carrotsearch/hppc/cursors/LongShortCursor;
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.LongShortHashMap.keys:[J
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
iload 1
invokestatic com.carrotsearch.hppc.LongBufferVisualizer.visualizeKeyDistribution:([JII)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 1 1 characters I
MethodParameters:
Name Flags
characters
public static com.carrotsearch.hppc.LongShortHashMap from(long[], short[]);
descriptor: ([J[S)Lcom/carrotsearch/hppc/LongShortHashMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
arraylength
aload 1
arraylength
if_icmpeq 2
1: new java.lang.IllegalArgumentException
dup
ldc "Arrays of keys and values must have an identical length."
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
new com.carrotsearch.hppc.LongShortHashMap
dup
aload 0
arraylength
invokespecial com.carrotsearch.hppc.LongShortHashMap.<init>:(I)V
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 7
5: StackMap locals: com.carrotsearch.hppc.LongShortHashMap int
StackMap stack:
aload 2
aload 0
iload 3
laload
aload 1
iload 3
saload
invokevirtual com.carrotsearch.hppc.LongShortHashMap.put:(JS)S
pop
6: iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
aload 0
arraylength
if_icmplt 5
end local 3 8: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 keys [J
0 9 1 values [S
3 9 2 map Lcom/carrotsearch/hppc/LongShortHashMap;
4 8 3 i I
MethodParameters:
Name Flags
keys
values
protected int hashKey(long);
descriptor: (J)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: getstatic com.carrotsearch.hppc.LongShortHashMap.$assertionsDisabled:Z
ifne 1
lload 1
lconst_0
lcmp
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
lload 1
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keyMixer:I
invokestatic com.carrotsearch.hppc.BitMixer.mix:(JI)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 2 1 key J
MethodParameters:
Name Flags
key
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/LongShortHashMap;
0 2 1 loadFactor D
MethodParameters:
Name Flags
loadFactor
protected void rehash(long[], short[]);
descriptor: ([J[S)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=10, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.carrotsearch.hppc.LongShortHashMap.$assertionsDisabled:Z
ifne 3
aload 1
arraylength
aload 2
arraylength
if_icmpne 2
1: aload 1
arraylength
iconst_1
isub
invokestatic com.carrotsearch.hppc.HashContainers.checkPowerOfTwo:(I)Z
ifne 3
StackMap locals:
StackMap stack:
2: new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
astore 3
start local 3 4: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
astore 4
start local 4 5: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
istore 5
start local 5 6: aload 1
arraylength
iconst_1
isub
istore 8
start local 8 7: aload 3
aload 3
arraylength
iconst_1
isub
aload 1
iload 8
laload
lastore
8: aload 4
aload 4
arraylength
iconst_1
isub
aload 2
iload 8
saload
sastore
9: goto 18
10: StackMap locals: com.carrotsearch.hppc.LongShortHashMap long[] short[] long[] short[] int top top int
StackMap stack:
aload 1
iload 8
laload
dup2
lstore 6
start local 6 11: lconst_0
lcmp
ifeq 18
12: aload 0
lload 6
invokevirtual com.carrotsearch.hppc.LongShortHashMap.hashKey:(J)I
iload 5
iand
istore 9
start local 9 13: goto 15
14: StackMap locals: com.carrotsearch.hppc.LongShortHashMap long[] short[] long[] short[] int long int int
StackMap stack:
iload 9
iconst_1
iadd
iload 5
iand
istore 9
15: StackMap locals:
StackMap stack:
aload 3
iload 9
laload
lconst_0
lcmp
ifne 14
16: aload 3
iload 9
lload 6
lastore
17: aload 4
iload 9
aload 2
iload 8
saload
sastore
end local 9 end local 6 18: StackMap locals: com.carrotsearch.hppc.LongShortHashMap long[] short[] long[] short[] int top top int
StackMap stack:
iinc 8 -1
iload 8
ifge 10
19: return
end local 8 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 20 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 20 1 fromKeys [J
0 20 2 fromValues [S
4 20 3 keys [J
5 20 4 values [S
6 20 5 mask I
11 18 6 existing J
7 20 8 from I
13 18 9 slot I
MethodParameters:
Name Flags
fromKeys
fromValues
protected void allocateBuffers(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=6, args_size=2
start local 0 start local 1 0: getstatic com.carrotsearch.hppc.LongShortHashMap.$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.LongShortHashMap.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.LongShortHashMap.keys:[J
astore 3
start local 3 3: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
astore 4
start local 4 4: iconst_1
istore 5
start local 5 5: aload 0
iload 1
iload 5
iadd
newarray 11
putfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
6: aload 0
iload 1
iload 5
iadd
newarray 9
putfield com.carrotsearch.hppc.LongShortHashMap.values:[S
end local 5 7: goto 17
StackMap locals: com.carrotsearch.hppc.LongShortHashMap int int long[] short[]
StackMap stack: java.lang.OutOfMemoryError
8: astore 5
start local 5 9: aload 0
aload 3
putfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
10: aload 0
aload 4
putfield com.carrotsearch.hppc.LongShortHashMap.values:[S
11: new com.carrotsearch.hppc.BufferAllocationException
dup
12: ldc "Not enough memory to allocate buffers for rehashing: %,d -> %,d"
13: aload 5
iconst_2
anewarray java.lang.Object
dup
iconst_0
14: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
iconst_1
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
15: iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
16: aastore
invokespecial com.carrotsearch.hppc.BufferAllocationException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V
athrow
end local 5 17: StackMap locals:
StackMap stack:
aload 0
iload 1
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.loadFactor:D
invokestatic com.carrotsearch.hppc.HashContainers.expandAtCount:(ID)I
putfield com.carrotsearch.hppc.LongShortHashMap.resizeAt:I
18: aload 0
iload 2
putfield com.carrotsearch.hppc.LongShortHashMap.keyMixer:I
19: aload 0
iload 1
iconst_1
isub
putfield com.carrotsearch.hppc.LongShortHashMap.mask:I
20: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 21 1 arraySize I
2 21 2 newKeyMixer I
3 21 3 prevKeys [J
4 21 4 prevValues [S
5 7 5 emptyElementSlot I
9 17 5 e Ljava/lang/OutOfMemoryError;
Exception table:
from to target type
4 7 8 Class java.lang.OutOfMemoryError
MethodParameters:
Name Flags
arraySize
protected void allocateThenInsertThenRehash(int, long, short);
descriptor: (IJS)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 4 0: getstatic com.carrotsearch.hppc.LongShortHashMap.$assertionsDisabled:Z
ifne 4
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.assigned:I
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.resizeAt:I
if_icmpne 3
1: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
iload 1
laload
lconst_0
lcmp
ifne 3
2: lload 2
lconst_0
lcmp
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.LongShortHashMap.keys:[J
astore 5
start local 5 5: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
astore 6
start local 6 6: aload 0
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
iconst_1
iadd
aload 0
invokevirtual com.carrotsearch.hppc.LongShortHashMap.size:()I
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.loadFactor:D
invokestatic com.carrotsearch.hppc.HashContainers.nextBufferSize:(IID)I
invokevirtual com.carrotsearch.hppc.LongShortHashMap.allocateBuffers:(I)V
7: getstatic com.carrotsearch.hppc.LongShortHashMap.$assertionsDisabled:Z
ifne 8
aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
arraylength
aload 5
arraylength
if_icmpgt 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals: long[] short[]
StackMap stack:
aload 5
iload 1
lload 2
lastore
9: aload 6
iload 1
iload 4
sastore
10: aload 0
aload 5
aload 6
invokevirtual com.carrotsearch.hppc.LongShortHashMap.rehash:([J[S)V
11: return
end local 6 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 12 1 slot I
0 12 2 pendingKey J
0 12 4 pendingValue S
5 12 5 prevKeys [J
6 12 6 prevValues [S
MethodParameters:
Name Flags
slot
pendingKey
pendingValue
protected void shiftConflictingKeys(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=11, args_size=2
start local 0 start local 1 0: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.keys:[J
astore 2
start local 2 1: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.values:[S
astore 3
start local 3 2: aload 0
getfield com.carrotsearch.hppc.LongShortHashMap.mask:I
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: StackMap locals: com.carrotsearch.hppc.LongShortHashMap int long[] short[] int int
StackMap stack:
iload 1
iinc 5 1
iload 5
iadd
iload 4
iand
istore 6
start local 6 5: aload 2
iload 6
laload
lstore 7
start local 7 6: lload 7
lconst_0
lcmp
ifne 8
7: goto 16
8: StackMap locals: int long
StackMap stack:
aload 0
lload 7
invokevirtual com.carrotsearch.hppc.LongShortHashMap.hashKey:(J)I
istore 9
start local 9 9: iload 6
iload 9
isub
iload 4
iand
istore 10
start local 10 10: iload 10
iload 5
if_icmplt 4
11: aload 2
iload 1
lload 7
lastore
12: aload 3
iload 1
aload 3
iload 6
saload
sastore
13: iload 6
istore 1
14: iconst_0
istore 5
end local 10 end local 9 end local 7 end local 6 15: goto 4
16: StackMap locals:
StackMap stack:
aload 2
iload 1
lconst_0
lastore
17: aload 3
iload 1
iconst_0
sastore
18: aload 0
dup
getfield com.carrotsearch.hppc.LongShortHashMap.assigned:I
iconst_1
isub
putfield com.carrotsearch.hppc.LongShortHashMap.assigned:I
19: return
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 20 0 this Lcom/carrotsearch/hppc/LongShortHashMap;
0 20 1 gapSlot I
1 20 2 keys [J
2 20 3 values [S
3 20 4 mask I
4 20 5 distance I
5 15 6 slot I
6 15 7 existing J
9 15 9 idealSlot I
10 15 10 shift I
MethodParameters:
Name Flags
gapSlot
public com.carrotsearch.hppc.LongCollection keys();
descriptor: ()Lcom/carrotsearch/hppc/LongCollection;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.carrotsearch.hppc.LongShortHashMap.keys:()Lcom/carrotsearch/hppc/LongShortHashMap$KeysContainer;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.carrotsearch.hppc.ShortContainer values();
descriptor: ()Lcom/carrotsearch/hppc/ShortContainer;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.carrotsearch.hppc.LongShortHashMap.values:()Lcom/carrotsearch/hppc/ShortCollection;
areturn
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.LongShortHashMap.clone:()Lcom/carrotsearch/hppc/LongShortHashMap;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.CloneNotSupportedException
}
SourceFile: "LongShortHashMap.java"
NestMembers:
com.carrotsearch.hppc.LongShortHashMap$EntryIterator com.carrotsearch.hppc.LongShortHashMap$KeysContainer com.carrotsearch.hppc.LongShortHashMap$KeysContainer$1 com.carrotsearch.hppc.LongShortHashMap$KeysContainer$2 com.carrotsearch.hppc.LongShortHashMap$KeysIterator com.carrotsearch.hppc.LongShortHashMap$ValuesContainer com.carrotsearch.hppc.LongShortHashMap$ValuesContainer$1 com.carrotsearch.hppc.LongShortHashMap$ValuesContainer$2 com.carrotsearch.hppc.LongShortHashMap$ValuesIterator
InnerClasses:
private final EntryIterator = com.carrotsearch.hppc.LongShortHashMap$EntryIterator of com.carrotsearch.hppc.LongShortHashMap
public final KeysContainer = com.carrotsearch.hppc.LongShortHashMap$KeysContainer of com.carrotsearch.hppc.LongShortHashMap
private final KeysIterator = com.carrotsearch.hppc.LongShortHashMap$KeysIterator of com.carrotsearch.hppc.LongShortHashMap
private final ValuesContainer = com.carrotsearch.hppc.LongShortHashMap$ValuesContainer of com.carrotsearch.hppc.LongShortHashMap
private final ValuesIterator = com.carrotsearch.hppc.LongShortHashMap$ValuesIterator of com.carrotsearch.hppc.LongShortHashMap