public class com.carrotsearch.hppc.ShortCharHashMap implements com.carrotsearch.hppc.ShortCharMap, 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.ShortCharHashMap
super_class: java.lang.Object
{
public short[] keys;
descriptor: [S
flags: (0x0001) ACC_PUBLIC
public char[] values;
descriptor: [C
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/ShortCharHashMap;
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.ShortCharHashMap.$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.ShortCharHashMap.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/carrotsearch/hppc/ShortCharHashMap;
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.ShortCharHashMap.<init>:(ID)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/carrotsearch/hppc/ShortCharHashMap;
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.ShortCharHashMap.<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/ShortCharHashMap;
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.ShortCharHashMap.orderMixer:Lcom/carrotsearch/hppc/HashOrderMixingStrategy;
2: aload 0
aload 0
dload 2
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.verifyLoadFactor:(D)D
putfield com.carrotsearch.hppc.ShortCharHashMap.loadFactor:D
3: aload 0
iload 1
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.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/ShortCharHashMap;
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.ShortCharAssociativeContainer);
descriptor: (Lcom/carrotsearch/hppc/ShortCharAssociativeContainer;)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.ShortCharAssociativeContainer.size:()I
invokespecial com.carrotsearch.hppc.ShortCharHashMap.<init>:(I)V
1: aload 0
aload 1
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.putAll:(Lcom/carrotsearch/hppc/ShortCharAssociativeContainer;)I
pop
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/carrotsearch/hppc/ShortCharHashMap;
0 3 1 container Lcom/carrotsearch/hppc/ShortCharAssociativeContainer;
MethodParameters:
Name Flags
container
public char put(short, char);
descriptor: (SC)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.carrotsearch.hppc.ShortCharHashMap.$assertionsDisabled:Z
ifne 1
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.assigned:I
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.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.ShortCharHashMap.mask:I
istore 3
start local 3 2: iload 1
ifne 7
3: aload 0
iconst_1
putfield com.carrotsearch.hppc.ShortCharHashMap.hasEmptyKey:Z
4: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
iload 3
iconst_1
iadd
caload
istore 4
start local 4 5: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
iload 3
iconst_1
iadd
iload 2
castore
6: iload 4
ireturn
end local 4 7: StackMap locals: int
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
astore 4
start local 4 8: aload 0
iload 1
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.hashKey:(S)I
iload 3
iand
istore 5
start local 5 9: goto 15
start local 6 10: StackMap locals: short[] int int
StackMap stack:
iload 6
iload 1
if_icmpne 14
11: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
iload 5
caload
istore 7
start local 7 12: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
iload 5
iload 2
castore
13: iload 7
ireturn
end local 7 14: StackMap locals:
StackMap stack:
iload 5
iconst_1
iadd
iload 3
iand
istore 5
end local 6 15: StackMap locals:
StackMap stack:
aload 4
iload 5
saload
dup
istore 6
start local 6 16: ifne 10
17: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.assigned:I
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.resizeAt:I
if_icmpne 20
18: aload 0
iload 5
iload 1
iload 2
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.allocateThenInsertThenRehash:(ISC)V
19: goto 22
20: StackMap locals: int
StackMap stack:
aload 4
iload 5
iload 1
sastore
21: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
iload 5
iload 2
castore
22: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.carrotsearch.hppc.ShortCharHashMap.assigned:I
iconst_1
iadd
putfield com.carrotsearch.hppc.ShortCharHashMap.assigned:I
23: iconst_0
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lcom/carrotsearch/hppc/ShortCharHashMap;
0 24 1 key S
0 24 2 value C
2 24 3 mask I
5 7 4 previousValue C
8 24 4 keys [S
9 24 5 slot I
10 15 6 existing S
16 24 6 existing S
12 14 7 previousValue C
MethodParameters:
Name Flags
key
value
public int putAll(com.carrotsearch.hppc.ShortCharAssociativeContainer);
descriptor: (Lcom/carrotsearch/hppc/ShortCharAssociativeContainer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.size:()I
istore 2
start local 2 1: aload 1
invokeinterface com.carrotsearch.hppc.ShortCharAssociativeContainer.iterator:()Ljava/util/Iterator;
astore 4
goto 4
StackMap locals: com.carrotsearch.hppc.ShortCharHashMap com.carrotsearch.hppc.ShortCharAssociativeContainer int top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.carrotsearch.hppc.cursors.ShortCharCursor
astore 3
start local 3 3: aload 0
aload 3
getfield com.carrotsearch.hppc.cursors.ShortCharCursor.key:S
aload 3
getfield com.carrotsearch.hppc.cursors.ShortCharCursor.value:C
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.put:(SC)C
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.ShortCharHashMap.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/ShortCharHashMap;
0 6 1 container Lcom/carrotsearch/hppc/ShortCharAssociativeContainer;
1 6 2 count I
3 4 3 c Lcom/carrotsearch/hppc/cursors/ShortCharCursor;
MethodParameters:
Name Flags
container
public int putAll(java.lang.Iterable<? extends com.carrotsearch.hppc.cursors.ShortCharCursor>);
descriptor: (Ljava/lang/Iterable;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.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.ShortCharHashMap 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.ShortCharCursor
astore 3
start local 3 3: aload 0
aload 3
getfield com.carrotsearch.hppc.cursors.ShortCharCursor.key:S
aload 3
getfield com.carrotsearch.hppc.cursors.ShortCharCursor.value:C
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.put:(SC)C
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.ShortCharHashMap.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/ShortCharHashMap;
0 6 1 iterable Ljava/lang/Iterable<+Lcom/carrotsearch/hppc/cursors/ShortCharCursor;>;
1 6 2 count I
3 4 3 c Lcom/carrotsearch/hppc/cursors/ShortCharCursor;
Signature: (Ljava/lang/Iterable<+Lcom/carrotsearch/hppc/cursors/ShortCharCursor;>;)I
MethodParameters:
Name Flags
iterable
public boolean putIfAbsent(short, char);
descriptor: (SC)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.indexOf:(S)I
istore 3
start local 3 1: aload 0
iload 3
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.indexExists:(I)Z
ifne 4
2: aload 0
iload 3
iload 1
iload 2
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.indexInsert:(ISC)V
3: iconst_1
ireturn
4: StackMap locals: int
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/carrotsearch/hppc/ShortCharHashMap;
0 5 1 key S
0 5 2 value C
1 5 3 keyIndex I
MethodParameters:
Name Flags
key
value
public char putOrAdd(short, char, char);
descriptor: (SCC)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.carrotsearch.hppc.ShortCharHashMap.$assertionsDisabled:Z
ifne 1
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.assigned:I
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.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
iload 1
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.indexOf:(S)I
istore 4
start local 4 2: aload 0
iload 4
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.indexExists:(I)Z
ifeq 6
3: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
iload 4
caload
iload 3
iadd
i2c
istore 2
4: aload 0
iload 4
iload 2
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.indexReplace:(IC)C
pop
5: goto 7
6: StackMap locals: int
StackMap stack:
aload 0
iload 4
iload 1
iload 2
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.indexInsert:(ISC)V
7: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 4 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/ShortCharHashMap;
0 8 1 key S
0 8 2 putValue C
0 8 3 incrementValue C
2 8 4 keyIndex I
MethodParameters:
Name Flags
key
putValue
incrementValue
public char addTo(short, char);
descriptor: (SC)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
iload 2
iload 2
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.putOrAdd:(SCC)C
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/carrotsearch/hppc/ShortCharHashMap;
0 1 1 key S
0 1 2 incrementValue C
MethodParameters:
Name Flags
key
incrementValue
public char remove(short);
descriptor: (S)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
istore 2
start local 2 1: iload 1
ifne 6
2: aload 0
iconst_0
putfield com.carrotsearch.hppc.ShortCharHashMap.hasEmptyKey:Z
3: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
iload 2
iconst_1
iadd
caload
istore 3
start local 3 4: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
iload 2
iconst_1
iadd
iconst_0
castore
5: iload 3
ireturn
end local 3 6: StackMap locals: int
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
astore 3
start local 3 7: aload 0
iload 1
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.hashKey:(S)I
iload 2
iand
istore 4
start local 4 8: goto 14
start local 5 9: StackMap locals: short[] int int
StackMap stack:
iload 5
iload 1
if_icmpne 13
10: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
iload 4
caload
istore 6
start local 6 11: aload 0
iload 4
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.shiftConflictingKeys:(I)V
12: iload 6
ireturn
end local 6 13: StackMap locals:
StackMap stack:
iload 4
iconst_1
iadd
iload 2
iand
istore 4
end local 5 14: StackMap locals:
StackMap stack:
aload 3
iload 4
saload
dup
istore 5
start local 5 15: ifne 9
16: 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 17 0 this Lcom/carrotsearch/hppc/ShortCharHashMap;
0 17 1 key S
1 17 2 mask I
4 6 3 previousValue C
7 17 3 keys [S
8 17 4 slot I
9 14 5 existing S
15 17 5 existing S
11 13 6 previousValue C
MethodParameters:
Name Flags
key
public int removeAll(com.carrotsearch.hppc.ShortContainer);
descriptor: (Lcom/carrotsearch/hppc/ShortContainer;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.size:()I
istore 2
start local 2 1: aload 1
invokeinterface com.carrotsearch.hppc.ShortContainer.size:()I
aload 0
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.size:()I
if_icmplt 18
2: aload 1
instanceof com.carrotsearch.hppc.ShortLookupContainer
ifeq 18
3: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.hasEmptyKey:Z
ifeq 7
4: aload 1
iconst_0
invokeinterface com.carrotsearch.hppc.ShortContainer.contains:(S)Z
ifeq 7
5: aload 0
iconst_0
putfield com.carrotsearch.hppc.ShortCharHashMap.hasEmptyKey:Z
6: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
iconst_1
iadd
iconst_0
castore
7: StackMap locals: int
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
astore 3
start local 3 8: iconst_0
istore 4
start local 4 9: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
istore 5
start local 5 10: goto 16
11: StackMap locals: short[] int int
StackMap stack:
aload 3
iload 4
saload
dup
istore 6
start local 6 12: ifeq 15
aload 1
iload 6
invokeinterface com.carrotsearch.hppc.ShortContainer.contains:(S)Z
ifeq 15
13: aload 0
iload 4
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.shiftConflictingKeys:(I)V
14: goto 16
15: StackMap locals: int
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.ShortContainer.iterator:()Ljava/util/Iterator;
astore 4
goto 21
StackMap locals: com.carrotsearch.hppc.ShortCharHashMap com.carrotsearch.hppc.ShortContainer int top java.util.Iterator
StackMap stack:
19: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.carrotsearch.hppc.cursors.ShortCursor
astore 3
start local 3 20: aload 0
aload 3
getfield com.carrotsearch.hppc.cursors.ShortCursor.value:S
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.remove:(S)C
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.ShortCharHashMap com.carrotsearch.hppc.ShortContainer int
StackMap stack:
iload 2
aload 0
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.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/ShortCharHashMap;
0 23 1 other Lcom/carrotsearch/hppc/ShortContainer;
1 23 2 before I
8 17 3 keys [S
9 17 4 slot I
10 17 5 max I
12 16 6 existing S
20 21 3 c Lcom/carrotsearch/hppc/cursors/ShortCursor;
MethodParameters:
Name Flags
other
public int removeAll(com.carrotsearch.hppc.predicates.ShortCharPredicate);
descriptor: (Lcom/carrotsearch/hppc/predicates/ShortCharPredicate;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.size:()I
istore 2
start local 2 1: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
istore 3
start local 3 2: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.hasEmptyKey:Z
ifeq 6
3: aload 1
iconst_0
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
iload 3
iconst_1
iadd
caload
invokeinterface com.carrotsearch.hppc.predicates.ShortCharPredicate.apply:(SC)Z
ifeq 6
4: aload 0
iconst_0
putfield com.carrotsearch.hppc.ShortCharHashMap.hasEmptyKey:Z
5: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
iload 3
iconst_1
iadd
iconst_0
castore
6: StackMap locals: int int
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
astore 4
start local 4 7: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
astore 5
start local 5 8: iconst_0
istore 6
start local 6 9: goto 16
10: StackMap locals: short[] char[] int
StackMap stack:
aload 4
iload 6
saload
dup
istore 7
start local 7 11: ifeq 15
12: aload 1
iload 7
aload 5
iload 6
caload
invokeinterface com.carrotsearch.hppc.predicates.ShortCharPredicate.apply:(SC)Z
ifeq 15
13: aload 0
iload 6
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.shiftConflictingKeys:(I)V
14: goto 16
15: StackMap locals: int
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.ShortCharHashMap.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/ShortCharHashMap;
0 18 1 predicate Lcom/carrotsearch/hppc/predicates/ShortCharPredicate;
1 18 2 before I
2 18 3 mask I
7 18 4 keys [S
8 18 5 values [C
9 17 6 slot I
11 16 7 existing S
MethodParameters:
Name Flags
predicate
public int removeAll(com.carrotsearch.hppc.predicates.ShortPredicate);
descriptor: (Lcom/carrotsearch/hppc/predicates/ShortPredicate;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.size:()I
istore 2
start local 2 1: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.hasEmptyKey:Z
ifeq 5
2: aload 1
iconst_0
invokeinterface com.carrotsearch.hppc.predicates.ShortPredicate.apply:(S)Z
ifeq 5
3: aload 0
iconst_0
putfield com.carrotsearch.hppc.ShortCharHashMap.hasEmptyKey:Z
4: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
iconst_1
iadd
iconst_0
castore
5: StackMap locals: int
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
astore 3
start local 3 6: iconst_0
istore 4
start local 4 7: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
istore 5
start local 5 8: goto 15
9: StackMap locals: short[] int int
StackMap stack:
aload 3
iload 4
saload
dup
istore 6
start local 6 10: ifeq 14
11: aload 1
iload 6
invokeinterface com.carrotsearch.hppc.predicates.ShortPredicate.apply:(S)Z
ifeq 14
12: aload 0
iload 4
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.shiftConflictingKeys:(I)V
13: goto 15
14: StackMap locals: int
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.ShortCharHashMap.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/ShortCharHashMap;
0 17 1 predicate Lcom/carrotsearch/hppc/predicates/ShortPredicate;
1 17 2 before I
6 17 3 keys [S
7 16 4 slot I
8 16 5 max I
10 15 6 existing S
MethodParameters:
Name Flags
predicate
public char get(short);
descriptor: (S)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: iload 1
ifne 4
1: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.hasEmptyKey:Z
ifeq 2
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
iconst_1
iadd
caload
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.ShortCharHashMap.keys:[S
astore 2
start local 2 5: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
istore 3
start local 3 6: aload 0
iload 1
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.hashKey:(S)I
iload 3
iand
istore 4
start local 4 7: goto 11
start local 5 8: StackMap locals: com.carrotsearch.hppc.ShortCharHashMap int short[] int int int
StackMap stack:
iload 5
iload 1
if_icmpne 10
9: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
iload 4
caload
ireturn
10: StackMap locals:
StackMap stack:
iload 4
iconst_1
iadd
iload 3
iand
istore 4
end local 5 11: StackMap locals:
StackMap stack:
aload 2
iload 4
saload
dup
istore 5
start local 5 12: ifne 8
13: 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 14 0 this Lcom/carrotsearch/hppc/ShortCharHashMap;
0 14 1 key S
5 14 2 keys [S
6 14 3 mask I
7 14 4 slot I
8 11 5 existing S
12 14 5 existing S
MethodParameters:
Name Flags
key
public char getOrDefault(short, char);
descriptor: (SC)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifne 4
1: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.hasEmptyKey:Z
ifeq 2
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
iconst_1
iadd
caload
goto 3
StackMap locals:
StackMap stack:
2: iload 2
StackMap locals:
StackMap stack: int
3: ireturn
4: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
astore 3
start local 3 5: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
istore 4
start local 4 6: aload 0
iload 1
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.hashKey:(S)I
iload 4
iand
istore 5
start local 5 7: goto 11
start local 6 8: StackMap locals: com.carrotsearch.hppc.ShortCharHashMap int int short[] int int int
StackMap stack:
iload 6
iload 1
if_icmpne 10
9: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
iload 5
caload
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
saload
dup
istore 6
start local 6 12: ifne 8
13: iload 2
ireturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/carrotsearch/hppc/ShortCharHashMap;
0 14 1 key S
0 14 2 defaultValue C
5 14 3 keys [S
6 14 4 mask I
7 14 5 slot I
8 11 6 existing S
12 14 6 existing S
MethodParameters:
Name Flags
key
defaultValue
public boolean containsKey(short);
descriptor: (S)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.ShortCharHashMap.hasEmptyKey:Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
astore 2
start local 2 3: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
istore 3
start local 3 4: aload 0
iload 1
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.hashKey:(S)I
iload 3
iand
istore 4
start local 4 5: goto 9
start local 5 6: StackMap locals: com.carrotsearch.hppc.ShortCharHashMap int short[] 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
saload
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/ShortCharHashMap;
0 12 1 key S
3 12 2 keys [S
4 12 3 mask I
5 12 4 slot I
6 9 5 existing S
10 12 5 existing S
MethodParameters:
Name Flags
key
public int indexOf(short);
descriptor: (S)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.ShortCharHashMap.mask:I
istore 2
start local 2 1: iload 1
ifne 5
2: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.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.ShortCharHashMap.keys:[S
astore 3
start local 3 6: aload 0
iload 1
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.hashKey:(S)I
iload 2
iand
istore 4
start local 4 7: goto 11
start local 5 8: StackMap locals: short[] 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
saload
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/ShortCharHashMap;
0 14 1 key S
1 14 2 mask I
6 14 3 keys [S
7 14 4 slot I
8 11 5 existing S
12 14 5 existing S
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.ShortCharHashMap.$assertionsDisabled:Z
ifne 4
iload 1
iflt 4
1: iload 1
iflt 2
iload 1
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
if_icmple 4
2: StackMap locals:
StackMap stack:
iload 1
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
iconst_1
iadd
if_icmpne 3
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.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/ShortCharHashMap;
0 6 1 index I
MethodParameters:
Name Flags
index
public char indexGet(int);
descriptor: (I)C
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.carrotsearch.hppc.ShortCharHashMap.$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.ShortCharHashMap.$assertionsDisabled:Z
ifne 4
iload 1
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
if_icmple 4
2: iload 1
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
iconst_1
iadd
if_icmpne 3
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.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.ShortCharHashMap.values:[C
iload 1
caload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/carrotsearch/hppc/ShortCharHashMap;
0 5 1 index I
MethodParameters:
Name Flags
index
public char indexReplace(int, char);
descriptor: (IC)C
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.ShortCharHashMap.$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.ShortCharHashMap.$assertionsDisabled:Z
ifne 4
iload 1
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
if_icmple 4
2: iload 1
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
iconst_1
iadd
if_icmpne 3
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.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.ShortCharHashMap.values:[C
iload 1
caload
istore 3
start local 3 5: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
iload 1
iload 2
castore
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/ShortCharHashMap;
0 7 1 index I
0 7 2 newValue C
5 7 3 previousValue C
MethodParameters:
Name Flags
index
newValue
public void indexInsert(int, short, char);
descriptor: (ISC)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.carrotsearch.hppc.ShortCharHashMap.$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.ShortCharHashMap.$assertionsDisabled:Z
ifne 4
iload 1
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.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.ShortCharHashMap.values:[C
iload 1
iload 3
castore
5: aload 0
iconst_1
putfield com.carrotsearch.hppc.ShortCharHashMap.hasEmptyKey:Z
6: goto 14
7: StackMap locals:
StackMap stack:
getstatic com.carrotsearch.hppc.ShortCharHashMap.$assertionsDisabled:Z
ifne 8
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
iload 1
saload
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.ShortCharHashMap.assigned:I
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.resizeAt:I
if_icmpne 11
9: aload 0
iload 1
iload 2
iload 3
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.allocateThenInsertThenRehash:(ISC)V
10: goto 13
11: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
iload 1
iload 2
sastore
12: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
iload 1
iload 3
castore
13: StackMap locals:
StackMap stack:
aload 0
dup
getfield com.carrotsearch.hppc.ShortCharHashMap.assigned:I
iconst_1
iadd
putfield com.carrotsearch.hppc.ShortCharHashMap.assigned:I
14: StackMap locals:
StackMap stack:
return
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/ShortCharHashMap;
0 15 1 index I
0 15 2 key S
0 15 3 value C
MethodParameters:
Name Flags
index
key
value
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.ShortCharHashMap.assigned:I
1: aload 0
iconst_0
putfield com.carrotsearch.hppc.ShortCharHashMap.hasEmptyKey:Z
2: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
iconst_0
invokestatic java.util.Arrays.fill:([SS)V
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/carrotsearch/hppc/ShortCharHashMap;
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.ShortCharHashMap.assigned:I
1: aload 0
iconst_0
putfield com.carrotsearch.hppc.ShortCharHashMap.hasEmptyKey:Z
2: aload 0
aconst_null
putfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
3: aload 0
aconst_null
putfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
4: aload 0
iconst_4
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.ensureCapacity:(I)V
5: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/carrotsearch/hppc/ShortCharHashMap;
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.ShortCharHashMap.assigned:I
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.hasEmptyKey:Z
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack: int
1: iconst_0
StackMap locals: com.carrotsearch.hppc.ShortCharHashMap
StackMap stack: int int
2: iadd
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/carrotsearch/hppc/ShortCharHashMap;
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.ShortCharHashMap.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/ShortCharHashMap;
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.ShortCharHashMap.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.ShortCharHashMap.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: com.carrotsearch.hppc.ShortCharHashMap int top java.util.Iterator
StackMap stack:
4: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.carrotsearch.hppc.cursors.ShortCharCursor
astore 2
start local 2 5: iload 1
aload 2
getfield com.carrotsearch.hppc.cursors.ShortCharCursor.key:S
invokestatic com.carrotsearch.hppc.BitMixer.mix:(S)I
6: aload 2
getfield com.carrotsearch.hppc.cursors.ShortCharCursor.value:C
invokestatic com.carrotsearch.hppc.BitMixer.mix:(C)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/ShortCharHashMap;
3 10 1 h I
5 8 2 c Lcom/carrotsearch/hppc/cursors/ShortCharCursor;
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.ShortCharHashMap
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.equalElements:(Lcom/carrotsearch/hppc/ShortCharHashMap;)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/ShortCharHashMap;
0 5 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
protected boolean equalElements(com.carrotsearch.hppc.ShortCharHashMap);
descriptor: (Lcom/carrotsearch/hppc/ShortCharHashMap;)Z
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.size:()I
aload 0
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.size:()I
if_icmpeq 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.iterator:()Ljava/util/Iterator;
astore 3
goto 8
StackMap locals: com.carrotsearch.hppc.ShortCharHashMap com.carrotsearch.hppc.ShortCharHashMap top java.util.Iterator
StackMap stack:
3: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast com.carrotsearch.hppc.cursors.ShortCharCursor
astore 2
start local 2 4: aload 2
getfield com.carrotsearch.hppc.cursors.ShortCharCursor.key:S
istore 4
start local 4 5: aload 0
iload 4
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.containsKey:(S)Z
ifeq 7
6: aload 0
iload 4
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.get:(S)C
aload 2
getfield com.carrotsearch.hppc.cursors.ShortCharCursor.value:C
if_icmpeq 8
7: StackMap locals: com.carrotsearch.hppc.ShortCharHashMap com.carrotsearch.hppc.ShortCharHashMap com.carrotsearch.hppc.cursors.ShortCharCursor java.util.Iterator int
StackMap stack:
iconst_0
ireturn
end local 4 end local 2 8: StackMap locals: com.carrotsearch.hppc.ShortCharHashMap com.carrotsearch.hppc.ShortCharHashMap 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/ShortCharHashMap;
0 10 1 other Lcom/carrotsearch/hppc/ShortCharHashMap;
4 8 2 c Lcom/carrotsearch/hppc/cursors/ShortCharCursor;
5 8 4 key S
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.ShortCharHashMap.resizeAt:I
if_icmpgt 1
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
ifnonnull 6
1: StackMap locals:
StackMap stack:
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
astore 2
start local 2 2: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
astore 3
start local 3 3: aload 0
iload 1
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.loadFactor:D
invokestatic com.carrotsearch.hppc.HashContainers.minBufferSize:(ID)I
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.allocateBuffers:(I)V
4: aload 2
ifnull 6
aload 0
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.isEmpty:()Z
ifne 6
5: aload 0
aload 2
aload 3
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.rehash:([S[C)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/ShortCharHashMap;
0 7 1 expectedElements I
2 6 2 prevKeys [S
3 6 3 prevValues [C
MethodParameters:
Name Flags
expectedElements
public java.util.Iterator<com.carrotsearch.hppc.cursors.ShortCharCursor> 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.ShortCharHashMap$EntryIterator
dup
aload 0
invokespecial com.carrotsearch.hppc.ShortCharHashMap$EntryIterator.<init>:(Lcom/carrotsearch/hppc/ShortCharHashMap;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/carrotsearch/hppc/ShortCharHashMap;
Signature: ()Ljava/util/Iterator<Lcom/carrotsearch/hppc/cursors/ShortCharCursor;>;
public <T extends com.carrotsearch.hppc.procedures.ShortCharProcedure> T forEach();
descriptor: (Lcom/carrotsearch/hppc/procedures/ShortCharProcedure;)Lcom/carrotsearch/hppc/procedures/ShortCharProcedure;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
astore 2
start local 2 1: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
astore 3
start local 3 2: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.hasEmptyKey:Z
ifeq 4
3: aload 1
iconst_0
aload 3
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
iconst_1
iadd
caload
invokeinterface com.carrotsearch.hppc.procedures.ShortCharProcedure.apply:(SC)V
4: StackMap locals: short[] char[]
StackMap stack:
iconst_0
istore 4
start local 4 5: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
istore 5
start local 5 6: goto 10
7: StackMap locals: int int
StackMap stack:
aload 2
iload 4
saload
ifeq 9
8: aload 1
aload 2
iload 4
saload
aload 3
iload 4
caload
invokeinterface com.carrotsearch.hppc.procedures.ShortCharProcedure.apply:(SC)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/ShortCharHashMap;
0 12 1 procedure TT;
1 12 2 keys [S
2 12 3 values [C
5 11 4 slot I
6 11 5 max I
Signature: <T::Lcom/carrotsearch/hppc/procedures/ShortCharProcedure;>(TT;)TT;
MethodParameters:
Name Flags
procedure
public <T extends com.carrotsearch.hppc.predicates.ShortCharPredicate> T forEach();
descriptor: (Lcom/carrotsearch/hppc/predicates/ShortCharPredicate;)Lcom/carrotsearch/hppc/predicates/ShortCharPredicate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
astore 2
start local 2 1: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
astore 3
start local 3 2: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.hasEmptyKey:Z
ifeq 5
3: aload 1
iconst_0
aload 3
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
iconst_1
iadd
caload
invokeinterface com.carrotsearch.hppc.predicates.ShortCharPredicate.apply:(SC)Z
ifne 5
4: aload 1
areturn
5: StackMap locals: short[] char[]
StackMap stack:
iconst_0
istore 4
start local 4 6: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
istore 5
start local 5 7: goto 12
8: StackMap locals: int int
StackMap stack:
aload 2
iload 4
saload
ifeq 11
9: aload 1
aload 2
iload 4
saload
aload 3
iload 4
caload
invokeinterface com.carrotsearch.hppc.predicates.ShortCharPredicate.apply:(SC)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/ShortCharHashMap;
0 14 1 predicate TT;
1 14 2 keys [S
2 14 3 values [C
6 13 4 slot I
7 13 5 max I
Signature: <T::Lcom/carrotsearch/hppc/predicates/ShortCharPredicate;>(TT;)TT;
MethodParameters:
Name Flags
predicate
public com.carrotsearch.hppc.ShortCharHashMap$KeysContainer keys();
descriptor: ()Lcom/carrotsearch/hppc/ShortCharHashMap$KeysContainer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.carrotsearch.hppc.ShortCharHashMap$KeysContainer
dup
aload 0
invokespecial com.carrotsearch.hppc.ShortCharHashMap$KeysContainer.<init>:(Lcom/carrotsearch/hppc/ShortCharHashMap;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/carrotsearch/hppc/ShortCharHashMap;
public com.carrotsearch.hppc.CharCollection values();
descriptor: ()Lcom/carrotsearch/hppc/CharCollection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.carrotsearch.hppc.ShortCharHashMap$ValuesContainer
dup
aload 0
invokespecial com.carrotsearch.hppc.ShortCharHashMap$ValuesContainer.<init>:(Lcom/carrotsearch/hppc/ShortCharHashMap;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/carrotsearch/hppc/ShortCharHashMap;
public com.carrotsearch.hppc.ShortCharHashMap clone();
descriptor: ()Lcom/carrotsearch/hppc/ShortCharHashMap;
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.ShortCharHashMap
astore 1
start local 1 1: aload 1
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
invokevirtual short[].clone:()Ljava/lang/Object;
checkcast short[]
putfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
2: aload 1
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
invokevirtual char[].clone:()Ljava/lang/Object;
checkcast char[]
putfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
3: aload 1
aload 1
getfield com.carrotsearch.hppc.ShortCharHashMap.hasEmptyKey:Z
putfield com.carrotsearch.hppc.ShortCharHashMap.hasEmptyKey:Z
4: aload 1
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.orderMixer:Lcom/carrotsearch/hppc/HashOrderMixingStrategy;
invokeinterface com.carrotsearch.hppc.HashOrderMixingStrategy.clone:()Lcom/carrotsearch/hppc/HashOrderMixingStrategy;
putfield com.carrotsearch.hppc.ShortCharHashMap.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/ShortCharHashMap;
1 7 1 cloned Lcom/carrotsearch/hppc/ShortCharHashMap;
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=2, 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.ShortCharHashMap.iterator:()Ljava/util/Iterator;
astore 4
goto 11
StackMap locals: com.carrotsearch.hppc.ShortCharHashMap 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.ShortCharCursor
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.ShortCharHashMap java.lang.StringBuilder int com.carrotsearch.hppc.cursors.ShortCharCursor java.util.Iterator
StackMap stack:
aload 1
aload 3
getfield com.carrotsearch.hppc.cursors.ShortCharCursor.key:S
invokevirtual java.lang.StringBuilder.append:(I)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.ShortCharCursor.value:C
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
10: iconst_0
istore 2
end local 3 11: StackMap locals: com.carrotsearch.hppc.ShortCharHashMap 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/ShortCharHashMap;
1 14 1 buffer Ljava/lang/StringBuilder;
3 14 2 first Z
5 11 3 cursor Lcom/carrotsearch/hppc/cursors/ShortCharCursor;
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.ShortCharHashMap.keys:[S
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
iload 1
invokestatic com.carrotsearch.hppc.ShortBufferVisualizer.visualizeKeyDistribution:([SII)Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/carrotsearch/hppc/ShortCharHashMap;
0 1 1 characters I
MethodParameters:
Name Flags
characters
public static com.carrotsearch.hppc.ShortCharHashMap from(short[], char[]);
descriptor: ([S[C)Lcom/carrotsearch/hppc/ShortCharHashMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, 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.ShortCharHashMap
dup
aload 0
arraylength
invokespecial com.carrotsearch.hppc.ShortCharHashMap.<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.ShortCharHashMap int
StackMap stack:
aload 2
aload 0
iload 3
saload
aload 1
iload 3
caload
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.put:(SC)C
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 [S
0 9 1 values [C
3 9 2 map Lcom/carrotsearch/hppc/ShortCharHashMap;
4 8 3 i I
MethodParameters:
Name Flags
keys
values
protected int hashKey(short);
descriptor: (S)I
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic com.carrotsearch.hppc.ShortCharHashMap.$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.ShortCharHashMap.keyMixer:I
invokestatic com.carrotsearch.hppc.BitMixer.mix:(SI)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/carrotsearch/hppc/ShortCharHashMap;
0 2 1 key S
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/ShortCharHashMap;
0 2 1 loadFactor D
MethodParameters:
Name Flags
loadFactor
protected void rehash(short[], char[]);
descriptor: ([S[C)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=9, args_size=3
start local 0 start local 1 start local 2 0: getstatic com.carrotsearch.hppc.ShortCharHashMap.$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.ShortCharHashMap.keys:[S
astore 3
start local 3 4: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
astore 4
start local 4 5: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
istore 5
start local 5 6: aload 1
arraylength
iconst_1
isub
istore 7
start local 7 7: aload 3
aload 3
arraylength
iconst_1
isub
aload 1
iload 7
saload
sastore
8: aload 4
aload 4
arraylength
iconst_1
isub
aload 2
iload 7
caload
castore
9: goto 18
10: StackMap locals: com.carrotsearch.hppc.ShortCharHashMap short[] char[] short[] char[] int top int
StackMap stack:
aload 1
iload 7
saload
dup
istore 6
start local 6 11: ifeq 18
12: aload 0
iload 6
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.hashKey:(S)I
iload 5
iand
istore 8
start local 8 13: goto 15
14: StackMap locals: com.carrotsearch.hppc.ShortCharHashMap short[] char[] short[] char[] int int int int
StackMap stack:
iload 8
iconst_1
iadd
iload 5
iand
istore 8
15: StackMap locals:
StackMap stack:
aload 3
iload 8
saload
ifne 14
16: aload 3
iload 8
iload 6
sastore
17: aload 4
iload 8
aload 2
iload 7
caload
castore
end local 8 end local 6 18: StackMap locals: com.carrotsearch.hppc.ShortCharHashMap short[] char[] short[] char[] int top int
StackMap stack:
iinc 7 -1
iload 7
ifge 10
19: return
end local 7 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/ShortCharHashMap;
0 20 1 fromKeys [S
0 20 2 fromValues [C
4 20 3 keys [S
5 20 4 values [C
6 20 5 mask I
11 18 6 existing S
7 20 7 from I
13 18 8 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.ShortCharHashMap.$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.ShortCharHashMap.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.ShortCharHashMap.keys:[S
astore 3
start local 3 3: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
astore 4
start local 4 4: iconst_1
istore 5
start local 5 5: aload 0
iload 1
iload 5
iadd
newarray 9
putfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
6: aload 0
iload 1
iload 5
iadd
newarray 5
putfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
end local 5 7: goto 17
StackMap locals: com.carrotsearch.hppc.ShortCharHashMap int int short[] char[]
StackMap stack: java.lang.OutOfMemoryError
8: astore 5
start local 5 9: aload 0
aload 3
putfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
10: aload 0
aload 4
putfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
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.ShortCharHashMap.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.ShortCharHashMap.loadFactor:D
invokestatic com.carrotsearch.hppc.HashContainers.expandAtCount:(ID)I
putfield com.carrotsearch.hppc.ShortCharHashMap.resizeAt:I
18: aload 0
iload 2
putfield com.carrotsearch.hppc.ShortCharHashMap.keyMixer:I
19: aload 0
iload 1
iconst_1
isub
putfield com.carrotsearch.hppc.ShortCharHashMap.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/ShortCharHashMap;
0 21 1 arraySize I
2 21 2 newKeyMixer I
3 21 3 prevKeys [S
4 21 4 prevValues [C
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, short, char);
descriptor: (ISC)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: getstatic com.carrotsearch.hppc.ShortCharHashMap.$assertionsDisabled:Z
ifne 4
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.assigned:I
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.resizeAt:I
if_icmpne 3
1: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
iload 1
saload
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.ShortCharHashMap.keys:[S
astore 4
start local 4 5: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
astore 5
start local 5 6: aload 0
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
iconst_1
iadd
aload 0
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.size:()I
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.loadFactor:D
invokestatic com.carrotsearch.hppc.HashContainers.nextBufferSize:(IID)I
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.allocateBuffers:(I)V
7: getstatic com.carrotsearch.hppc.ShortCharHashMap.$assertionsDisabled:Z
ifne 8
aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
arraylength
aload 4
arraylength
if_icmpgt 8
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
8: StackMap locals: short[] char[]
StackMap stack:
aload 4
iload 1
iload 2
sastore
9: aload 5
iload 1
iload 3
castore
10: aload 0
aload 4
aload 5
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.rehash:([S[C)V
11: 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 12 0 this Lcom/carrotsearch/hppc/ShortCharHashMap;
0 12 1 slot I
0 12 2 pendingKey S
0 12 3 pendingValue C
5 12 4 prevKeys [S
6 12 5 prevValues [C
MethodParameters:
Name Flags
slot
pendingKey
pendingValue
protected void shiftConflictingKeys(int);
descriptor: (I)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=10, args_size=2
start local 0 start local 1 0: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.keys:[S
astore 2
start local 2 1: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.values:[C
astore 3
start local 3 2: aload 0
getfield com.carrotsearch.hppc.ShortCharHashMap.mask:I
istore 4
start local 4 3: iconst_0
istore 5
start local 5 4: StackMap locals: com.carrotsearch.hppc.ShortCharHashMap int short[] char[] 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
saload
istore 7
start local 7 6: iload 7
ifne 8
7: goto 16
8: StackMap locals: int int
StackMap stack:
aload 0
iload 7
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.hashKey:(S)I
istore 8
start local 8 9: iload 6
iload 8
isub
iload 4
iand
istore 9
start local 9 10: iload 9
iload 5
if_icmplt 4
11: aload 2
iload 1
iload 7
sastore
12: aload 3
iload 1
aload 3
iload 6
caload
castore
13: iload 6
istore 1
14: iconst_0
istore 5
end local 9 end local 8 end local 7 end local 6 15: goto 4
16: StackMap locals:
StackMap stack:
aload 2
iload 1
iconst_0
sastore
17: aload 3
iload 1
iconst_0
castore
18: aload 0
dup
getfield com.carrotsearch.hppc.ShortCharHashMap.assigned:I
iconst_1
isub
putfield com.carrotsearch.hppc.ShortCharHashMap.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/ShortCharHashMap;
0 20 1 gapSlot I
1 20 2 keys [S
2 20 3 values [C
3 20 4 mask I
4 20 5 distance I
5 15 6 slot I
6 15 7 existing S
9 15 8 idealSlot I
10 15 9 shift I
MethodParameters:
Name Flags
gapSlot
public com.carrotsearch.hppc.ShortCollection keys();
descriptor: ()Lcom/carrotsearch/hppc/ShortCollection;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.keys:()Lcom/carrotsearch/hppc/ShortCharHashMap$KeysContainer;
areturn
LocalVariableTable:
Start End Slot Name Signature
public com.carrotsearch.hppc.CharContainer values();
descriptor: ()Lcom/carrotsearch/hppc/CharContainer;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.carrotsearch.hppc.ShortCharHashMap.values:()Lcom/carrotsearch/hppc/CharCollection;
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.ShortCharHashMap.clone:()Lcom/carrotsearch/hppc/ShortCharHashMap;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws java.lang.CloneNotSupportedException
}
SourceFile: "ShortCharHashMap.java"
NestMembers:
com.carrotsearch.hppc.ShortCharHashMap$EntryIterator com.carrotsearch.hppc.ShortCharHashMap$KeysContainer com.carrotsearch.hppc.ShortCharHashMap$KeysContainer$1 com.carrotsearch.hppc.ShortCharHashMap$KeysContainer$2 com.carrotsearch.hppc.ShortCharHashMap$KeysIterator com.carrotsearch.hppc.ShortCharHashMap$ValuesContainer com.carrotsearch.hppc.ShortCharHashMap$ValuesContainer$1 com.carrotsearch.hppc.ShortCharHashMap$ValuesContainer$2 com.carrotsearch.hppc.ShortCharHashMap$ValuesIterator
InnerClasses:
private final EntryIterator = com.carrotsearch.hppc.ShortCharHashMap$EntryIterator of com.carrotsearch.hppc.ShortCharHashMap
public final KeysContainer = com.carrotsearch.hppc.ShortCharHashMap$KeysContainer of com.carrotsearch.hppc.ShortCharHashMap
private final KeysIterator = com.carrotsearch.hppc.ShortCharHashMap$KeysIterator of com.carrotsearch.hppc.ShortCharHashMap
private final ValuesContainer = com.carrotsearch.hppc.ShortCharHashMap$ValuesContainer of com.carrotsearch.hppc.ShortCharHashMap
private final ValuesIterator = com.carrotsearch.hppc.ShortCharHashMap$ValuesIterator of com.carrotsearch.hppc.ShortCharHashMap