public class org.apache.commons.math3.util.OpenIntToDoubleHashMap implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.util.OpenIntToDoubleHashMap
super_class: java.lang.Object
{
protected static final byte FREE;
descriptor: B
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 0
protected static final byte FULL;
descriptor: B
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected static final byte REMOVED;
descriptor: B
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -3646337053166149105
private static final float LOAD_FACTOR;
descriptor: F
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0.5
private static final int DEFAULT_EXPECTED_SIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
private static final int RESIZE_MULTIPLIER;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2
private static final int PERTURB_SHIFT;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5
private int[] keys;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private double[] values;
descriptor: [D
flags: (0x0002) ACC_PRIVATE
private byte[] states;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
private final double missingEntries;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private int size;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int mask;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private transient int count;
descriptor: I
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
bipush 16
ldc NaN
invokespecial org.apache.commons.math3.util.OpenIntToDoubleHashMap.<init>:(ID)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;
public void <init>(double);
descriptor: (D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 0
bipush 16
dload 1
invokespecial org.apache.commons.math3.util.OpenIntToDoubleHashMap.<init>:(ID)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;
0 2 1 missingEntries D
MethodParameters:
Name Flags
missingEntries final
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 NaN
invokespecial org.apache.commons.math3.util.OpenIntToDoubleHashMap.<init>:(ID)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;
0 2 1 expectedSize I
MethodParameters:
Name Flags
expectedSize final
public void <init>(int, double);
descriptor: (ID)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 1
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.computeCapacity:(I)I
istore 4
start local 4 2: aload 0
iload 4
newarray 10
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.keys:[I
3: aload 0
iload 4
newarray 7
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.values:[D
4: aload 0
iload 4
newarray 8
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.states:[B
5: aload 0
dload 2
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.missingEntries:D
6: aload 0
iload 4
iconst_1
isub
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.mask:I
7: return
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;
0 8 1 expectedSize I
0 8 2 missingEntries D
2 8 4 capacity I
MethodParameters:
Name Flags
expectedSize final
missingEntries final
public void <init>(org.apache.commons.math3.util.OpenIntToDoubleHashMap);
descriptor: (Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.keys:[I
arraylength
istore 2
start local 2 2: aload 0
iload 2
newarray 10
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.keys:[I
3: aload 1
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.keys:[I
iconst_0
aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.keys:[I
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 0
iload 2
newarray 7
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.values:[D
5: aload 1
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.values:[D
iconst_0
aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.values:[D
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
6: aload 0
iload 2
newarray 8
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.states:[B
7: aload 1
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.states:[B
iconst_0
aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.states:[B
iconst_0
iload 2
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
8: aload 0
aload 1
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.missingEntries:D
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.missingEntries:D
9: aload 0
aload 1
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.size:I
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.size:I
10: aload 0
aload 1
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.mask:I
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.mask:I
11: aload 0
aload 1
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.count:I
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.count:I
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;
0 13 1 source Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;
2 13 2 length I
MethodParameters:
Name Flags
source final
private static int computeCapacity(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: iload 0
ifne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
iload 0
i2f
ldc 0.5
fdiv
f2d
invokestatic org.apache.commons.math3.util.FastMath.ceil:(D)D
d2i
istore 1
start local 1 3: iload 1
invokestatic java.lang.Integer.highestOneBit:(I)I
istore 2
start local 2 4: iload 2
iload 1
if_icmpne 6
5: iload 1
ireturn
6: StackMap locals: int int
StackMap stack:
iload 1
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.nextPowerOfTwo:(I)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 expectedSize I
3 7 1 capacity I
4 7 2 powerOfTwo I
MethodParameters:
Name Flags
expectedSize final
private static int nextPowerOfTwo(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
invokestatic java.lang.Integer.highestOneBit:(I)I
iconst_1
ishl
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 i I
MethodParameters:
Name Flags
i final
public double get(int);
descriptor: (I)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: iload 1
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.hashOf:(I)I
istore 2
start local 2 1: iload 2
aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.mask:I
iand
istore 3
start local 3 2: aload 0
iload 1
iload 3
invokevirtual org.apache.commons.math3.util.OpenIntToDoubleHashMap.containsKey:(II)Z
ifeq 4
3: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.values:[D
iload 3
daload
dreturn
4: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.states:[B
iload 3
baload
ifne 6
5: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.missingEntries:D
dreturn
6: StackMap locals:
StackMap stack:
iload 3
istore 4
start local 4 7: iload 2
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.perturb:(I)I
istore 5
start local 5 8: goto 14
9: StackMap locals: int int
StackMap stack:
iload 5
iload 4
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.probe:(II)I
istore 4
10: iload 4
aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.mask:I
iand
istore 3
11: aload 0
iload 1
iload 3
invokevirtual org.apache.commons.math3.util.OpenIntToDoubleHashMap.containsKey:(II)Z
ifeq 13
12: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.values:[D
iload 3
daload
dreturn
13: StackMap locals:
StackMap stack:
iload 5
iconst_5
ishr
istore 5
StackMap locals:
StackMap stack:
14: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.states:[B
iload 3
baload
ifne 9
end local 5 15: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.missingEntries:D
dreturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;
0 16 1 key I
1 16 2 hash I
2 16 3 index I
7 16 4 j I
8 15 5 perturb I
MethodParameters:
Name Flags
key final
public boolean containsKey(int);
descriptor: (I)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: iload 1
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.hashOf:(I)I
istore 2
start local 2 1: iload 2
aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.mask:I
iand
istore 3
start local 3 2: aload 0
iload 1
iload 3
invokevirtual org.apache.commons.math3.util.OpenIntToDoubleHashMap.containsKey:(II)Z
ifeq 4
3: iconst_1
ireturn
4: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.states:[B
iload 3
baload
ifne 6
5: iconst_0
ireturn
6: StackMap locals:
StackMap stack:
iload 3
istore 4
start local 4 7: iload 2
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.perturb:(I)I
istore 5
start local 5 8: goto 14
9: StackMap locals: int int
StackMap stack:
iload 5
iload 4
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.probe:(II)I
istore 4
10: iload 4
aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.mask:I
iand
istore 3
11: aload 0
iload 1
iload 3
invokevirtual org.apache.commons.math3.util.OpenIntToDoubleHashMap.containsKey:(II)Z
ifeq 13
12: iconst_1
ireturn
13: StackMap locals:
StackMap stack:
iload 5
iconst_5
ishr
istore 5
StackMap locals:
StackMap stack:
14: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.states:[B
iload 3
baload
ifne 9
end local 5 15: iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;
0 16 1 key I
1 16 2 hash I
2 16 3 index I
7 16 4 j I
8 15 5 perturb I
MethodParameters:
Name Flags
key final
public org.apache.commons.math3.util.OpenIntToDoubleHashMap$Iterator iterator();
descriptor: ()Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap$Iterator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.commons.math3.util.OpenIntToDoubleHashMap$Iterator
dup
aload 0
invokespecial org.apache.commons.math3.util.OpenIntToDoubleHashMap$Iterator.<init>:(Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;
private static int perturb(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ldc 2147483647
iand
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 hash I
MethodParameters:
Name Flags
hash final
private int findInsertionIndex(int);
descriptor: (I)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.keys:[I
aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.states:[B
iload 1
aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.mask:I
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.findInsertionIndex:([I[BII)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;
0 1 1 key I
MethodParameters:
Name Flags
key final
private static int findInsertionIndex(int[], byte[], int, int);
descriptor: ([I[BII)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=9, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.hashOf:(I)I
istore 4
start local 4 1: iload 4
iload 3
iand
istore 5
start local 5 2: aload 1
iload 5
baload
ifne 4
3: iload 5
ireturn
4: StackMap locals: int int
StackMap stack:
aload 1
iload 5
baload
iconst_1
if_icmpne 6
aload 0
iload 5
iaload
iload 2
if_icmpne 6
5: iload 5
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.changeIndexSign:(I)I
ireturn
6: StackMap locals:
StackMap stack:
iload 4
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.perturb:(I)I
istore 6
start local 6 7: iload 5
istore 7
start local 7 8: aload 1
iload 5
baload
iconst_1
if_icmpne 13
9: StackMap locals: int int
StackMap stack:
iload 6
iload 7
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.probe:(II)I
istore 7
10: iload 7
iload 3
iand
istore 5
11: iload 6
iconst_5
ishr
istore 6
12: aload 1
iload 5
baload
iconst_1
if_icmpne 13
aload 0
iload 5
iaload
iload 2
if_icmpne 9
13: StackMap locals:
StackMap stack:
aload 1
iload 5
baload
ifne 15
14: iload 5
ireturn
15: StackMap locals:
StackMap stack:
aload 1
iload 5
baload
iconst_1
if_icmpne 17
16: iload 5
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.changeIndexSign:(I)I
ireturn
17: StackMap locals:
StackMap stack:
iload 5
istore 8
start local 8 18: StackMap locals: int
StackMap stack:
iload 6
iload 7
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.probe:(II)I
istore 7
19: iload 7
iload 3
iand
istore 5
20: aload 1
iload 5
baload
ifne 22
21: iload 8
ireturn
22: StackMap locals:
StackMap stack:
aload 1
iload 5
baload
iconst_1
if_icmpne 24
aload 0
iload 5
iaload
iload 2
if_icmpne 24
23: iload 5
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.changeIndexSign:(I)I
ireturn
24: StackMap locals:
StackMap stack:
iload 6
iconst_5
ishr
istore 6
25: goto 18
end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 keys [I
0 26 1 states [B
0 26 2 key I
0 26 3 mask I
1 26 4 hash I
2 26 5 index I
7 26 6 perturb I
8 26 7 j I
18 26 8 firstRemoved I
MethodParameters:
Name Flags
keys final
states final
key final
mask final
private static int probe(int, int);
descriptor: (II)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: iload 1
iconst_2
ishl
iload 1
iadd
iload 0
iadd
iconst_1
iadd
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 perturb I
0 1 1 j I
MethodParameters:
Name Flags
perturb final
j final
private static int changeIndexSign(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: iload 0
ineg
iconst_1
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 index I
MethodParameters:
Name Flags
index final
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.size:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;
public double remove(int);
descriptor: (I)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=2
start local 0 start local 1 0: iload 1
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.hashOf:(I)I
istore 2
start local 2 1: iload 2
aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.mask:I
iand
istore 3
start local 3 2: aload 0
iload 1
iload 3
invokevirtual org.apache.commons.math3.util.OpenIntToDoubleHashMap.containsKey:(II)Z
ifeq 4
3: aload 0
iload 3
invokevirtual org.apache.commons.math3.util.OpenIntToDoubleHashMap.doRemove:(I)D
dreturn
4: StackMap locals: int int
StackMap stack:
aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.states:[B
iload 3
baload
ifne 6
5: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.missingEntries:D
dreturn
6: StackMap locals:
StackMap stack:
iload 3
istore 4
start local 4 7: iload 2
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.perturb:(I)I
istore 5
start local 5 8: goto 14
9: StackMap locals: int int
StackMap stack:
iload 5
iload 4
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.probe:(II)I
istore 4
10: iload 4
aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.mask:I
iand
istore 3
11: aload 0
iload 1
iload 3
invokevirtual org.apache.commons.math3.util.OpenIntToDoubleHashMap.containsKey:(II)Z
ifeq 13
12: aload 0
iload 3
invokevirtual org.apache.commons.math3.util.OpenIntToDoubleHashMap.doRemove:(I)D
dreturn
13: StackMap locals:
StackMap stack:
iload 5
iconst_5
ishr
istore 5
StackMap locals:
StackMap stack:
14: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.states:[B
iload 3
baload
ifne 9
end local 5 15: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.missingEntries:D
dreturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;
0 16 1 key I
1 16 2 hash I
2 16 3 index I
7 16 4 j I
8 15 5 perturb I
MethodParameters:
Name Flags
key final
private boolean containsKey(int, int);
descriptor: (II)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 1
ifne 1
aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.states:[B
iload 2
baload
iconst_1
if_icmpne 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.keys:[I
iload 2
iaload
iload 1
if_icmpne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;
0 3 1 key I
0 3 2 index I
MethodParameters:
Name Flags
key final
index final
private double doRemove(int);
descriptor: (I)D
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.keys:[I
iload 1
iconst_0
iastore
1: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.states:[B
iload 1
iconst_2
bastore
2: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.values:[D
iload 1
daload
dstore 2
start local 2 3: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.values:[D
iload 1
aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.missingEntries:D
dastore
4: aload 0
dup
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.size:I
iconst_1
isub
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.size:I
5: aload 0
dup
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.count:I
iconst_1
iadd
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.count:I
6: dload 2
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;
0 7 1 index I
3 7 2 previous D
MethodParameters:
Name Flags
index
public double put(int, double);
descriptor: (ID)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
invokevirtual org.apache.commons.math3.util.OpenIntToDoubleHashMap.findInsertionIndex:(I)I
istore 4
start local 4 1: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.missingEntries:D
dstore 5
start local 5 2: iconst_1
istore 7
start local 7 3: iload 4
ifge 7
4: iload 4
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.changeIndexSign:(I)I
istore 4
5: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.values:[D
iload 4
daload
dstore 5
6: iconst_0
istore 7
7: StackMap locals: int double int
StackMap stack:
aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.keys:[I
iload 4
iload 1
iastore
8: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.states:[B
iload 4
iconst_1
bastore
9: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.values:[D
iload 4
dload 2
dastore
10: iload 7
ifeq 15
11: aload 0
dup
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.size:I
iconst_1
iadd
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.size:I
12: aload 0
invokevirtual org.apache.commons.math3.util.OpenIntToDoubleHashMap.shouldGrowTable:()Z
ifeq 14
13: aload 0
invokevirtual org.apache.commons.math3.util.OpenIntToDoubleHashMap.growTable:()V
14: StackMap locals:
StackMap stack:
aload 0
dup
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.count:I
iconst_1
iadd
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.count:I
15: StackMap locals:
StackMap stack:
dload 5
dreturn
end local 7 end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;
0 16 1 key I
0 16 2 value D
1 16 4 index I
2 16 5 previous D
3 16 7 newMapping Z
MethodParameters:
Name Flags
key final
value final
private void growTable();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=13, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.states:[B
arraylength
istore 1
start local 1 1: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.keys:[I
astore 2
start local 2 2: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.values:[D
astore 3
start local 3 3: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.states:[B
astore 4
start local 4 4: iconst_2
iload 1
imul
istore 5
start local 5 5: iload 5
newarray 10
astore 6
start local 6 6: iload 5
newarray 7
astore 7
start local 7 7: iload 5
newarray 8
astore 8
start local 8 8: iload 5
iconst_1
isub
istore 9
start local 9 9: iconst_0
istore 10
start local 10 10: goto 18
11: StackMap locals: org.apache.commons.math3.util.OpenIntToDoubleHashMap int int[] double[] byte[] int int[] double[] byte[] int int
StackMap stack:
aload 4
iload 10
baload
iconst_1
if_icmpne 17
12: aload 2
iload 10
iaload
istore 11
start local 11 13: aload 6
aload 8
iload 11
iload 9
invokestatic org.apache.commons.math3.util.OpenIntToDoubleHashMap.findInsertionIndex:([I[BII)I
istore 12
start local 12 14: aload 6
iload 12
iload 11
iastore
15: aload 7
iload 12
aload 3
iload 10
daload
dastore
16: aload 8
iload 12
iconst_1
bastore
end local 12 end local 11 17: StackMap locals:
StackMap stack:
iinc 10 1
StackMap locals:
StackMap stack:
18: iload 10
iload 1
if_icmplt 11
end local 10 19: aload 0
iload 9
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.mask:I
20: aload 0
aload 6
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.keys:[I
21: aload 0
aload 7
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.values:[D
22: aload 0
aload 8
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.states:[B
23: return
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;
1 24 1 oldLength I
2 24 2 oldKeys [I
3 24 3 oldValues [D
4 24 4 oldStates [B
5 24 5 newLength I
6 24 6 newKeys [I
7 24 7 newValues [D
8 24 8 newStates [B
9 24 9 newMask I
10 19 10 i I
13 17 11 key I
14 17 12 index I
private boolean shouldGrowTable();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.size:I
i2f
aload 0
getfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.mask:I
iconst_1
iadd
i2f
ldc 0.5
fmul
fcmpl
ifle 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 Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;
private static int hashOf(int);
descriptor: (I)I
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: iload 0
iload 0
bipush 20
iushr
iload 0
bipush 12
iushr
ixor
ixor
istore 1
start local 1 1: iload 1
iload 1
bipush 7
iushr
ixor
iload 1
iconst_4
iushr
ixor
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 key I
1 2 1 h I
MethodParameters:
Name Flags
key final
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 0
iconst_0
putfield org.apache.commons.math3.util.OpenIntToDoubleHashMap.count:I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/util/OpenIntToDoubleHashMap;
0 3 1 stream Ljava/io/ObjectInputStream;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
stream final
}
SourceFile: "OpenIntToDoubleHashMap.java"
NestMembers:
org.apache.commons.math3.util.OpenIntToDoubleHashMap$Iterator
InnerClasses:
public Iterator = org.apache.commons.math3.util.OpenIntToDoubleHashMap$Iterator of org.apache.commons.math3.util.OpenIntToDoubleHashMap