public class java.util.HashMap<K, V> extends java.util.AbstractMap<K, V> implements java.util.Map<K, V>, java.lang.Cloneable, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: java.util.HashMap
super_class: java.util.AbstractMap
{
static final int DEFAULT_INITIAL_CAPACITY;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 16
static final int MAXIMUM_CAPACITY;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1073741824
static final float DEFAULT_LOAD_FACTOR;
descriptor: F
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0.75
transient java.util.HashMap$Entry[] table;
descriptor: [Ljava/util/HashMap$Entry;
flags: (0x0080) ACC_TRANSIENT
transient int size;
descriptor: I
flags: (0x0080) ACC_TRANSIENT
int threshold;
descriptor: I
flags: (0x0000)
final float loadFactor;
descriptor: F
flags: (0x0010) ACC_FINAL
volatile transient int modCount;
descriptor: I
flags: (0x00c0) ACC_VOLATILE, ACC_TRANSIENT
private transient java.util.Set<java.util.Map$Entry<K, V>> entrySet;
descriptor: Ljava/util/Set;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
Signature: Ljava/util/Set<Ljava/util/Map$Entry<TK;TV;>;>;
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 362498820763181265
public void <init>(int, float);
descriptor: (IF)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
invokespecial java.util.AbstractMap.<init>:()V
1: aload 0
aconst_null
putfield java.util.HashMap.entrySet:Ljava/util/Set;
2: iload 1
ifge 6
3: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Illegal initial capacity: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals: java.util.HashMap int float
StackMap stack:
iload 1
ldc 1073741824
if_icmple 8
7: ldc 1073741824
istore 1
8: StackMap locals:
StackMap stack:
fload 2
fconst_0
fcmpg
ifle 9
fload 2
invokestatic java.lang.Float.isNaN:(F)Z
ifeq 12
9: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Illegal load factor: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
10: fload 2
invokevirtual java.lang.StringBuilder.append:(F)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
11: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
12: StackMap locals:
StackMap stack:
iconst_1
istore 3
start local 3 13: goto 15
14: StackMap locals: int
StackMap stack:
iload 3
iconst_1
ishl
istore 3
15: StackMap locals:
StackMap stack:
iload 3
iload 1
if_icmplt 14
16: aload 0
fload 2
putfield java.util.HashMap.loadFactor:F
17: aload 0
iload 3
i2f
fload 2
fmul
f2i
putfield java.util.HashMap.threshold:I
18: aload 0
iload 3
anewarray java.util.HashMap$Entry
putfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
19: aload 0
invokevirtual java.util.HashMap.init:()V
20: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Ljava/util/HashMap<TK;TV;>;
0 21 1 initialCapacity I
0 21 2 loadFactor F
13 21 3 capacity I
MethodParameters:
Name Flags
initialCapacity
loadFactor
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
ldc 0.75
invokespecial java.util.HashMap.<init>:(IF)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/HashMap<TK;TV;>;
0 2 1 initialCapacity I
MethodParameters:
Name Flags
initialCapacity
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.util.AbstractMap.<init>:()V
1: aload 0
aconst_null
putfield java.util.HashMap.entrySet:Ljava/util/Set;
2: aload 0
ldc 0.75
putfield java.util.HashMap.loadFactor:F
3: aload 0
bipush 12
putfield java.util.HashMap.threshold:I
4: aload 0
bipush 16
anewarray java.util.HashMap$Entry
putfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
5: aload 0
invokevirtual java.util.HashMap.init:()V
6: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/util/HashMap<TK;TV;>;
public void <init>(java.util.Map<? extends K, ? extends V>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.util.Map.size:()I
i2f
ldc 0.75
fdiv
f2i
iconst_1
iadd
1: bipush 16
2: invokestatic java.lang.Math.max:(II)I
3: ldc 0.75
invokespecial java.util.HashMap.<init>:(IF)V
4: aload 0
aload 1
invokevirtual java.util.HashMap.putAllForCreate:(Ljava/util/Map;)V
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/util/HashMap<TK;TV;>;
0 6 1 m Ljava/util/Map<+TK;+TV;>;
Signature: (Ljava/util/Map<+TK;+TV;>;)V
MethodParameters:
Name Flags
m
void init();
descriptor: ()V
flags: (0x0000)
Code:
stack=0, locals=1, args_size=1
start local 0 0: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/HashMap<TK;TV;>;
static int hash(int);
descriptor: (I)I
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: iload 0
iload 0
bipush 20
iushr
iload 0
bipush 12
iushr
ixor
ixor
istore 0
1: iload 0
iload 0
bipush 7
iushr
ixor
iload 0
iconst_4
iushr
ixor
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 h I
MethodParameters:
Name Flags
h
static int indexFor(int, int);
descriptor: (II)I
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 0
iload 1
iconst_1
isub
iand
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 h I
0 1 1 length I
MethodParameters:
Name Flags
h
length
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.HashMap.size:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/HashMap<TK;TV;>;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.HashMap.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 Ljava/util/HashMap<TK;TV;>;
public V get();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 0
invokevirtual java.util.HashMap.getForNullKey:()Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.util.HashMap.hash:(I)I
istore 2
start local 2 3: aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
iload 2
aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
arraylength
invokestatic java.util.HashMap.indexFor:(II)I
aaload
astore 3
start local 3 4: goto 9
5: StackMap locals: int java.util.HashMap$Entry
StackMap stack:
aload 3
getfield java.util.HashMap$Entry.hash:I
iload 2
if_icmpne 8
aload 3
getfield java.util.HashMap$Entry.key:Ljava/lang/Object;
dup
astore 4
start local 4 6: aload 1
if_acmpeq 7
aload 1
aload 4
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 8
7: StackMap locals: java.lang.Object
StackMap stack:
aload 3
getfield java.util.HashMap$Entry.value:Ljava/lang/Object;
areturn
end local 4 8: StackMap locals:
StackMap stack:
aload 3
getfield java.util.HashMap$Entry.next:Ljava/util/HashMap$Entry;
astore 3
9: StackMap locals:
StackMap stack:
aload 3
ifnonnull 5
end local 3 10: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/util/HashMap<TK;TV;>;
0 11 1 key Ljava/lang/Object;
3 11 2 hash I
4 10 3 e Ljava/util/HashMap$Entry<TK;TV;>;
6 8 4 k Ljava/lang/Object;
Signature: (Ljava/lang/Object;)TV;
MethodParameters:
Name Flags
key
private V getForNullKey();
descriptor: ()Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
iconst_0
aaload
astore 1
start local 1 1: goto 5
2: StackMap locals: java.util.HashMap$Entry
StackMap stack:
aload 1
getfield java.util.HashMap$Entry.key:Ljava/lang/Object;
ifnonnull 4
3: aload 1
getfield java.util.HashMap$Entry.value:Ljava/lang/Object;
areturn
4: StackMap locals:
StackMap stack:
aload 1
getfield java.util.HashMap$Entry.next:Ljava/util/HashMap$Entry;
astore 1
StackMap locals:
StackMap stack:
5: aload 1
ifnonnull 2
end local 1 6: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Ljava/util/HashMap<TK;TV;>;
1 6 1 e Ljava/util/HashMap$Entry<TK;TV;>;
Signature: ()TV;
public boolean containsKey(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.util.HashMap.getEntry:(Ljava/lang/Object;)Ljava/util/HashMap$Entry;
ifnull 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Ljava/util/HashMap<TK;TV;>;
0 2 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key
final java.util.HashMap$Entry<K, V> getEntry();
descriptor: (Ljava/lang/Object;)Ljava/util/HashMap$Entry;
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 1
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.util.HashMap.hash:(I)I
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
iload 2
aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
arraylength
invokestatic java.util.HashMap.indexFor:(II)I
aaload
astore 3
start local 3 4: goto 10
5: StackMap locals: int java.util.HashMap$Entry
StackMap stack:
aload 3
getfield java.util.HashMap$Entry.hash:I
iload 2
if_icmpne 9
6: aload 3
getfield java.util.HashMap$Entry.key:Ljava/lang/Object;
dup
astore 4
start local 4 7: aload 1
if_acmpeq 8
aload 1
ifnull 9
aload 1
aload 4
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 9
8: StackMap locals: java.lang.Object
StackMap stack:
aload 3
areturn
end local 4 9: StackMap locals:
StackMap stack:
aload 3
getfield java.util.HashMap$Entry.next:Ljava/util/HashMap$Entry;
astore 3
10: StackMap locals:
StackMap stack:
aload 3
ifnonnull 5
end local 3 11: aconst_null
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/util/HashMap<TK;TV;>;
0 12 1 key Ljava/lang/Object;
3 12 2 hash I
4 11 3 e Ljava/util/HashMap$Entry<TK;TV;>;
7 9 4 k Ljava/lang/Object;
Signature: (Ljava/lang/Object;)Ljava/util/HashMap$Entry<TK;TV;>;
MethodParameters:
Name Flags
key
public V put(K, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 2
1: aload 0
aload 2
invokevirtual java.util.HashMap.putForNullKey:(Ljava/lang/Object;)Ljava/lang/Object;
areturn
2: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.util.HashMap.hash:(I)I
istore 3
start local 3 3: iload 3
aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
arraylength
invokestatic java.util.HashMap.indexFor:(II)I
istore 4
start local 4 4: aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
iload 4
aaload
astore 5
start local 5 5: goto 13
6: StackMap locals: int int java.util.HashMap$Entry
StackMap stack:
aload 5
getfield java.util.HashMap$Entry.hash:I
iload 3
if_icmpne 12
aload 5
getfield java.util.HashMap$Entry.key:Ljava/lang/Object;
dup
astore 6
start local 6 7: aload 1
if_acmpeq 8
aload 1
aload 6
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 12
8: StackMap locals: java.lang.Object
StackMap stack:
aload 5
getfield java.util.HashMap$Entry.value:Ljava/lang/Object;
astore 7
start local 7 9: aload 5
aload 2
putfield java.util.HashMap$Entry.value:Ljava/lang/Object;
10: aload 5
aload 0
invokevirtual java.util.HashMap$Entry.recordAccess:(Ljava/util/HashMap;)V
11: aload 7
areturn
end local 7 end local 6 12: StackMap locals:
StackMap stack:
aload 5
getfield java.util.HashMap$Entry.next:Ljava/util/HashMap$Entry;
astore 5
StackMap locals:
StackMap stack:
13: aload 5
ifnonnull 6
end local 5 14: aload 0
dup
getfield java.util.HashMap.modCount:I
iconst_1
iadd
putfield java.util.HashMap.modCount:I
15: aload 0
iload 3
aload 1
aload 2
iload 4
invokevirtual java.util.HashMap.addEntry:(ILjava/lang/Object;Ljava/lang/Object;I)V
16: aconst_null
areturn
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 Ljava/util/HashMap<TK;TV;>;
0 17 1 key TK;
0 17 2 value TV;
3 17 3 hash I
4 17 4 i I
5 14 5 e Ljava/util/HashMap$Entry<TK;TV;>;
7 12 6 k Ljava/lang/Object;
9 12 7 oldValue TV;
Signature: (TK;TV;)TV;
MethodParameters:
Name Flags
key
value
private V putForNullKey();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
iconst_0
aaload
astore 2
start local 2 1: goto 8
2: StackMap locals: java.util.HashMap$Entry
StackMap stack:
aload 2
getfield java.util.HashMap$Entry.key:Ljava/lang/Object;
ifnonnull 7
3: aload 2
getfield java.util.HashMap$Entry.value:Ljava/lang/Object;
astore 3
start local 3 4: aload 2
aload 1
putfield java.util.HashMap$Entry.value:Ljava/lang/Object;
5: aload 2
aload 0
invokevirtual java.util.HashMap$Entry.recordAccess:(Ljava/util/HashMap;)V
6: aload 3
areturn
end local 3 7: StackMap locals:
StackMap stack:
aload 2
getfield java.util.HashMap$Entry.next:Ljava/util/HashMap$Entry;
astore 2
StackMap locals:
StackMap stack:
8: aload 2
ifnonnull 2
end local 2 9: aload 0
dup
getfield java.util.HashMap.modCount:I
iconst_1
iadd
putfield java.util.HashMap.modCount:I
10: aload 0
iconst_0
aconst_null
aload 1
iconst_0
invokevirtual java.util.HashMap.addEntry:(ILjava/lang/Object;Ljava/lang/Object;I)V
11: aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/util/HashMap<TK;TV;>;
0 12 1 value TV;
1 9 2 e Ljava/util/HashMap$Entry<TK;TV;>;
4 7 3 oldValue TV;
Signature: (TV;)TV;
MethodParameters:
Name Flags
value
private void putForCreate(K, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 1
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.util.HashMap.hash:(I)I
StackMap locals:
StackMap stack: int
2: istore 3
start local 3 3: iload 3
aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
arraylength
invokestatic java.util.HashMap.indexFor:(II)I
istore 4
start local 4 4: aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
iload 4
aaload
astore 5
start local 5 5: goto 12
6: StackMap locals: int int java.util.HashMap$Entry
StackMap stack:
aload 5
getfield java.util.HashMap$Entry.hash:I
iload 3
if_icmpne 11
7: aload 5
getfield java.util.HashMap$Entry.key:Ljava/lang/Object;
dup
astore 6
start local 6 8: aload 1
if_acmpeq 9
aload 1
ifnull 11
aload 1
aload 6
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 11
9: StackMap locals: java.lang.Object
StackMap stack:
aload 5
aload 2
putfield java.util.HashMap$Entry.value:Ljava/lang/Object;
10: return
end local 6 11: StackMap locals:
StackMap stack:
aload 5
getfield java.util.HashMap$Entry.next:Ljava/util/HashMap$Entry;
astore 5
StackMap locals:
StackMap stack:
12: aload 5
ifnonnull 6
end local 5 13: aload 0
iload 3
aload 1
aload 2
iload 4
invokevirtual java.util.HashMap.createEntry:(ILjava/lang/Object;Ljava/lang/Object;I)V
14: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Ljava/util/HashMap<TK;TV;>;
0 15 1 key TK;
0 15 2 value TV;
3 15 3 hash I
4 15 4 i I
5 13 5 e Ljava/util/HashMap$Entry<TK;TV;>;
8 11 6 k Ljava/lang/Object;
Signature: (TK;TV;)V
MethodParameters:
Name Flags
key
value
private void putAllForCreate(java.util.Map<? extends K, ? extends V>);
descriptor: (Ljava/util/Map;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 4
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 3: aload 0
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual java.util.HashMap.putForCreate:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 3 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
end local 2 5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljava/util/HashMap<TK;TV;>;
0 6 1 m Ljava/util/Map<+TK;+TV;>;
1 5 2 i Ljava/util/Iterator<+Ljava/util/Map$Entry<+TK;+TV;>;>;
3 4 3 e Ljava/util/Map$Entry<+TK;+TV;>;
Signature: (Ljava/util/Map<+TK;+TV;>;)V
MethodParameters:
Name Flags
m
void resize(int);
descriptor: (I)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
astore 2
start local 2 1: aload 2
arraylength
istore 3
start local 3 2: iload 3
ldc 1073741824
if_icmpne 5
3: aload 0
ldc 2147483647
putfield java.util.HashMap.threshold:I
4: return
5: StackMap locals: java.util.HashMap$Entry[] int
StackMap stack:
iload 1
anewarray java.util.HashMap$Entry
astore 4
start local 4 6: aload 0
aload 4
invokevirtual java.util.HashMap.transfer:([Ljava/util/HashMap$Entry;)V
7: aload 0
aload 4
putfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
8: aload 0
iload 1
i2f
aload 0
getfield java.util.HashMap.loadFactor:F
fmul
f2i
putfield java.util.HashMap.threshold:I
9: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Ljava/util/HashMap<TK;TV;>;
0 10 1 newCapacity I
1 10 2 oldTable [Ljava/util/HashMap$Entry;
2 10 3 oldCapacity I
6 10 4 newTable [Ljava/util/HashMap$Entry;
MethodParameters:
Name Flags
newCapacity
void transfer(java.util.HashMap$Entry[]);
descriptor: ([Ljava/util/HashMap$Entry;)V
flags: (0x0000)
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
astore 2
start local 2 1: aload 1
arraylength
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 14
4: StackMap locals: java.util.HashMap$Entry[] int int
StackMap stack:
aload 2
iload 4
aaload
astore 5
start local 5 5: aload 5
ifnull 13
6: aload 2
iload 4
aconst_null
aastore
7: StackMap locals: java.util.HashMap$Entry
StackMap stack:
aload 5
getfield java.util.HashMap$Entry.next:Ljava/util/HashMap$Entry;
astore 6
start local 6 8: aload 5
getfield java.util.HashMap$Entry.hash:I
iload 3
invokestatic java.util.HashMap.indexFor:(II)I
istore 7
start local 7 9: aload 5
aload 1
iload 7
aaload
putfield java.util.HashMap$Entry.next:Ljava/util/HashMap$Entry;
10: aload 1
iload 7
aload 5
aastore
11: aload 6
astore 5
end local 7 end local 6 12: aload 5
ifnonnull 7
end local 5 13: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
14: iload 4
aload 2
arraylength
if_icmplt 4
end local 4 15: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Ljava/util/HashMap<TK;TV;>;
0 16 1 newTable [Ljava/util/HashMap$Entry;
1 16 2 src [Ljava/util/HashMap$Entry;
2 16 3 newCapacity I
3 15 4 j I
5 13 5 e Ljava/util/HashMap$Entry<TK;TV;>;
8 12 6 next Ljava/util/HashMap$Entry<TK;TV;>;
9 12 7 i I
MethodParameters:
Name Flags
newTable
public void putAll(java.util.Map<? extends K, ? extends V>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Map.size:()I
istore 2
start local 2 1: iload 2
ifne 3
2: return
3: StackMap locals: int
StackMap stack:
iload 2
aload 0
getfield java.util.HashMap.threshold:I
if_icmple 13
4: iload 2
i2f
aload 0
getfield java.util.HashMap.loadFactor:F
fdiv
fconst_1
fadd
f2i
istore 3
start local 3 5: iload 3
ldc 1073741824
if_icmple 7
6: ldc 1073741824
istore 3
7: StackMap locals: int
StackMap stack:
aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
arraylength
istore 4
start local 4 8: goto 10
9: StackMap locals: int
StackMap stack:
iload 4
iconst_1
ishl
istore 4
10: StackMap locals:
StackMap stack:
iload 4
iload 3
if_icmplt 9
11: iload 4
aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
arraylength
if_icmple 13
12: aload 0
iload 4
invokevirtual java.util.HashMap.resize:(I)V
end local 4 end local 3 13: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Map.entrySet:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
start local 3 14: goto 17
15: StackMap locals: java.util.Iterator
StackMap stack:
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 4
start local 4 16: aload 0
aload 4
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
aload 4
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual java.util.HashMap.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 17: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 15
end local 3 18: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Ljava/util/HashMap<TK;TV;>;
0 19 1 m Ljava/util/Map<+TK;+TV;>;
1 19 2 numKeysToBeAdded I
5 13 3 targetCapacity I
8 13 4 newCapacity I
14 18 3 i Ljava/util/Iterator<+Ljava/util/Map$Entry<+TK;+TV;>;>;
16 17 4 e Ljava/util/Map$Entry<+TK;+TV;>;
Signature: (Ljava/util/Map<+TK;+TV;>;)V
MethodParameters:
Name Flags
m
public V remove();
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual java.util.HashMap.removeEntryForKey:(Ljava/lang/Object;)Ljava/util/HashMap$Entry;
astore 2
start local 2 1: aload 2
ifnonnull 2
aconst_null
goto 3
StackMap locals: java.util.HashMap$Entry
StackMap stack:
2: aload 2
getfield java.util.HashMap$Entry.value:Ljava/lang/Object;
StackMap locals:
StackMap stack: java.lang.Object
3: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/HashMap<TK;TV;>;
0 4 1 key Ljava/lang/Object;
1 4 2 e Ljava/util/HashMap$Entry<TK;TV;>;
Signature: (Ljava/lang/Object;)TV;
MethodParameters:
Name Flags
key
final java.util.HashMap$Entry<K, V> removeEntryForKey();
descriptor: (Ljava/lang/Object;)Ljava/util/HashMap$Entry;
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 1
iconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 1
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.util.HashMap.hash:(I)I
StackMap locals:
StackMap stack: int
2: istore 2
start local 2 3: iload 2
aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
arraylength
invokestatic java.util.HashMap.indexFor:(II)I
istore 3
start local 3 4: aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
iload 3
aaload
astore 4
start local 4 5: aload 4
astore 5
start local 5 6: goto 20
7: StackMap locals: java.util.HashMap java.lang.Object int int java.util.HashMap$Entry java.util.HashMap$Entry
StackMap stack:
aload 5
getfield java.util.HashMap$Entry.next:Ljava/util/HashMap$Entry;
astore 6
start local 6 8: aload 5
getfield java.util.HashMap$Entry.hash:I
iload 2
if_icmpne 18
9: aload 5
getfield java.util.HashMap$Entry.key:Ljava/lang/Object;
dup
astore 7
start local 7 10: aload 1
if_acmpeq 11
aload 1
ifnull 18
aload 1
aload 7
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 18
11: StackMap locals: java.util.HashMap$Entry java.lang.Object
StackMap stack:
aload 0
dup
getfield java.util.HashMap.modCount:I
iconst_1
iadd
putfield java.util.HashMap.modCount:I
12: aload 0
dup
getfield java.util.HashMap.size:I
iconst_1
isub
putfield java.util.HashMap.size:I
13: aload 4
aload 5
if_acmpne 15
14: aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
iload 3
aload 6
aastore
goto 16
15: StackMap locals:
StackMap stack:
aload 4
aload 6
putfield java.util.HashMap$Entry.next:Ljava/util/HashMap$Entry;
16: StackMap locals:
StackMap stack:
aload 5
aload 0
invokevirtual java.util.HashMap$Entry.recordRemoval:(Ljava/util/HashMap;)V
17: aload 5
areturn
end local 7 18: StackMap locals:
StackMap stack:
aload 5
astore 4
19: aload 6
astore 5
end local 6 20: StackMap locals:
StackMap stack:
aload 5
ifnonnull 7
21: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Ljava/util/HashMap<TK;TV;>;
0 22 1 key Ljava/lang/Object;
3 22 2 hash I
4 22 3 i I
5 22 4 prev Ljava/util/HashMap$Entry<TK;TV;>;
6 22 5 e Ljava/util/HashMap$Entry<TK;TV;>;
8 20 6 next Ljava/util/HashMap$Entry<TK;TV;>;
10 18 7 k Ljava/lang/Object;
Signature: (Ljava/lang/Object;)Ljava/util/HashMap$Entry<TK;TV;>;
MethodParameters:
Name Flags
key
final java.util.HashMap$Entry<K, V> removeMapping();
descriptor: (Ljava/lang/Object;)Ljava/util/HashMap$Entry;
flags: (0x0010) ACC_FINAL
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: aload 1
instanceof java.util.Map$Entry
ifne 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast java.util.Map$Entry
astore 2
start local 2 3: aload 2
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
astore 3
start local 3 4: aload 3
ifnonnull 5
iconst_0
goto 6
StackMap locals: java.util.Map$Entry java.lang.Object
StackMap stack:
5: aload 3
invokevirtual java.lang.Object.hashCode:()I
invokestatic java.util.HashMap.hash:(I)I
StackMap locals:
StackMap stack: int
6: istore 4
start local 4 7: iload 4
aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
arraylength
invokestatic java.util.HashMap.indexFor:(II)I
istore 5
start local 5 8: aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
iload 5
aaload
astore 6
start local 6 9: aload 6
astore 7
start local 7 10: goto 22
11: StackMap locals: java.util.HashMap java.lang.Object java.util.Map$Entry java.lang.Object int int java.util.HashMap$Entry java.util.HashMap$Entry
StackMap stack:
aload 7
getfield java.util.HashMap$Entry.next:Ljava/util/HashMap$Entry;
astore 8
start local 8 12: aload 7
getfield java.util.HashMap$Entry.hash:I
iload 4
if_icmpne 20
aload 7
aload 2
invokevirtual java.util.HashMap$Entry.equals:(Ljava/lang/Object;)Z
ifeq 20
13: aload 0
dup
getfield java.util.HashMap.modCount:I
iconst_1
iadd
putfield java.util.HashMap.modCount:I
14: aload 0
dup
getfield java.util.HashMap.size:I
iconst_1
isub
putfield java.util.HashMap.size:I
15: aload 6
aload 7
if_acmpne 17
16: aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
iload 5
aload 8
aastore
goto 18
17: StackMap locals: java.util.HashMap$Entry
StackMap stack:
aload 6
aload 8
putfield java.util.HashMap$Entry.next:Ljava/util/HashMap$Entry;
18: StackMap locals:
StackMap stack:
aload 7
aload 0
invokevirtual java.util.HashMap$Entry.recordRemoval:(Ljava/util/HashMap;)V
19: aload 7
areturn
20: StackMap locals:
StackMap stack:
aload 7
astore 6
21: aload 8
astore 7
end local 8 22: StackMap locals:
StackMap stack:
aload 7
ifnonnull 11
23: aload 7
areturn
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 Ljava/util/HashMap<TK;TV;>;
0 24 1 o Ljava/lang/Object;
3 24 2 entry Ljava/util/Map$Entry<TK;TV;>;
4 24 3 key Ljava/lang/Object;
7 24 4 hash I
8 24 5 i I
9 24 6 prev Ljava/util/HashMap$Entry<TK;TV;>;
10 24 7 e Ljava/util/HashMap$Entry<TK;TV;>;
12 22 8 next Ljava/util/HashMap$Entry<TK;TV;>;
Signature: (Ljava/lang/Object;)Ljava/util/HashMap$Entry<TK;TV;>;
MethodParameters:
Name Flags
o
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: aload 0
dup
getfield java.util.HashMap.modCount:I
iconst_1
iadd
putfield java.util.HashMap.modCount:I
1: aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
astore 1
start local 1 2: iconst_0
istore 2
start local 2 3: goto 6
4: StackMap locals: java.util.HashMap$Entry[] int
StackMap stack:
aload 1
iload 2
aconst_null
aastore
5: iinc 2 1
StackMap locals:
StackMap stack:
6: iload 2
aload 1
arraylength
if_icmplt 4
end local 2 7: aload 0
iconst_0
putfield java.util.HashMap.size:I
8: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljava/util/HashMap<TK;TV;>;
2 9 1 tab [Ljava/util/HashMap$Entry;
3 7 2 i I
public boolean containsValue(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 0
invokevirtual java.util.HashMap.containsNullValue:()Z
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
astore 2
start local 2 3: iconst_0
istore 3
start local 3 4: goto 12
5: StackMap locals: java.util.HashMap$Entry[] int
StackMap stack:
aload 2
iload 3
aaload
astore 4
start local 4 6: goto 10
7: StackMap locals: java.util.HashMap$Entry
StackMap stack:
aload 1
aload 4
getfield java.util.HashMap$Entry.value:Ljava/lang/Object;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 9
8: iconst_1
ireturn
9: StackMap locals:
StackMap stack:
aload 4
getfield java.util.HashMap$Entry.next:Ljava/util/HashMap$Entry;
astore 4
StackMap locals:
StackMap stack:
10: aload 4
ifnonnull 7
end local 4 11: iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
aload 2
arraylength
if_icmplt 5
end local 3 13: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljava/util/HashMap<TK;TV;>;
0 14 1 value Ljava/lang/Object;
3 14 2 tab [Ljava/util/HashMap$Entry;
4 13 3 i I
6 11 4 e Ljava/util/HashMap$Entry;
MethodParameters:
Name Flags
value
private boolean containsNullValue();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=1
start local 0 0: aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 10
3: StackMap locals: java.util.HashMap$Entry[] int
StackMap stack:
aload 1
iload 2
aaload
astore 3
start local 3 4: goto 8
5: StackMap locals: java.util.HashMap$Entry
StackMap stack:
aload 3
getfield java.util.HashMap$Entry.value:Ljava/lang/Object;
ifnonnull 7
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
aload 3
getfield java.util.HashMap$Entry.next:Ljava/util/HashMap$Entry;
astore 3
StackMap locals:
StackMap stack:
8: aload 3
ifnonnull 5
end local 3 9: iinc 2 1
StackMap locals:
StackMap stack:
10: iload 2
aload 1
arraylength
if_icmplt 3
end local 2 11: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Ljava/util/HashMap<TK;TV;>;
1 12 1 tab [Ljava/util/HashMap$Entry;
2 11 2 i I
4 9 3 e Ljava/util/HashMap$Entry;
public java.lang.Object clone();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aconst_null
astore 1
start local 1 1: aload 0
invokespecial java.util.AbstractMap.clone:()Ljava/lang/Object;
checkcast java.util.HashMap
astore 1
2: goto 4
StackMap locals: java.util.HashMap java.util.HashMap
StackMap stack: java.lang.CloneNotSupportedException
3: pop
4: StackMap locals:
StackMap stack:
aload 1
aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
arraylength
anewarray java.util.HashMap$Entry
putfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
5: aload 1
aconst_null
putfield java.util.HashMap.entrySet:Ljava/util/Set;
6: aload 1
iconst_0
putfield java.util.HashMap.modCount:I
7: aload 1
iconst_0
putfield java.util.HashMap.size:I
8: aload 1
invokevirtual java.util.HashMap.init:()V
9: aload 1
aload 0
invokevirtual java.util.HashMap.putAllForCreate:(Ljava/util/Map;)V
10: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Ljava/util/HashMap<TK;TV;>;
1 11 1 result Ljava/util/HashMap<TK;TV;>;
Exception table:
from to target type
1 2 3 Class java.lang.CloneNotSupportedException
void addEntry(int, K, V, );
descriptor: (ILjava/lang/Object;Ljava/lang/Object;I)V
flags: (0x0000)
Code:
stack=8, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
iload 4
aaload
astore 5
start local 5 1: aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
iload 4
new java.util.HashMap$Entry
dup
iload 1
aload 2
aload 3
aload 5
invokespecial java.util.HashMap$Entry.<init>:(ILjava/lang/Object;Ljava/lang/Object;Ljava/util/HashMap$Entry;)V
aastore
2: aload 0
dup
getfield java.util.HashMap.size:I
dup_x1
iconst_1
iadd
putfield java.util.HashMap.size:I
aload 0
getfield java.util.HashMap.threshold:I
if_icmplt 4
3: aload 0
iconst_2
aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
arraylength
imul
invokevirtual java.util.HashMap.resize:(I)V
4: StackMap locals: java.util.HashMap$Entry
StackMap stack:
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 5 0 this Ljava/util/HashMap<TK;TV;>;
0 5 1 hash I
0 5 2 key TK;
0 5 3 value TV;
0 5 4 bucketIndex I
1 5 5 e Ljava/util/HashMap$Entry<TK;TV;>;
Signature: (ITK;TV;I)V
MethodParameters:
Name Flags
hash
key
value
bucketIndex
void createEntry(int, K, V, );
descriptor: (ILjava/lang/Object;Ljava/lang/Object;I)V
flags: (0x0000)
Code:
stack=8, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
iload 4
aaload
astore 5
start local 5 1: aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
iload 4
new java.util.HashMap$Entry
dup
iload 1
aload 2
aload 3
aload 5
invokespecial java.util.HashMap$Entry.<init>:(ILjava/lang/Object;Ljava/lang/Object;Ljava/util/HashMap$Entry;)V
aastore
2: aload 0
dup
getfield java.util.HashMap.size:I
iconst_1
iadd
putfield java.util.HashMap.size:I
3: 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 4 0 this Ljava/util/HashMap<TK;TV;>;
0 4 1 hash I
0 4 2 key TK;
0 4 3 value TV;
0 4 4 bucketIndex I
1 4 5 e Ljava/util/HashMap$Entry<TK;TV;>;
Signature: (ITK;TV;I)V
MethodParameters:
Name Flags
hash
key
value
bucketIndex
java.util.Iterator<K> newKeyIterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.HashMap$KeyIterator
dup
aload 0
invokespecial java.util.HashMap$KeyIterator.<init>:(Ljava/util/HashMap;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/HashMap<TK;TV;>;
Signature: ()Ljava/util/Iterator<TK;>;
java.util.Iterator<V> newValueIterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.HashMap$ValueIterator
dup
aload 0
invokespecial java.util.HashMap$ValueIterator.<init>:(Ljava/util/HashMap;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/HashMap<TK;TV;>;
Signature: ()Ljava/util/Iterator<TV;>;
java.util.Iterator<java.util.Map$Entry<K, V>> newEntryIterator();
descriptor: ()Ljava/util/Iterator;
flags: (0x0000)
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.util.HashMap$EntryIterator
dup
aload 0
invokespecial java.util.HashMap$EntryIterator.<init>:(Ljava/util/HashMap;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/HashMap<TK;TV;>;
Signature: ()Ljava/util/Iterator<Ljava/util/Map$Entry<TK;TV;>;>;
public java.util.Set<K> keySet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield java.util.HashMap.keySet:Ljava/util/Set;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
goto 3
StackMap locals: java.util.Set
StackMap stack:
2: aload 0
new java.util.HashMap$KeySet
dup
aload 0
invokespecial java.util.HashMap$KeySet.<init>:(Ljava/util/HashMap;)V
dup_x1
putfield java.util.HashMap.keySet:Ljava/util/Set;
StackMap locals:
StackMap stack: java.util.Set
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/HashMap<TK;TV;>;
1 4 1 ks Ljava/util/Set<TK;>;
Signature: ()Ljava/util/Set<TK;>;
public java.util.Collection<V> values();
descriptor: ()Ljava/util/Collection;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield java.util.HashMap.values:Ljava/util/Collection;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
goto 3
StackMap locals: java.util.Collection
StackMap stack:
2: aload 0
new java.util.HashMap$Values
dup
aload 0
invokespecial java.util.HashMap$Values.<init>:(Ljava/util/HashMap;)V
dup_x1
putfield java.util.HashMap.values:Ljava/util/Collection;
StackMap locals:
StackMap stack: java.util.Collection
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/HashMap<TK;TV;>;
1 4 1 vs Ljava/util/Collection<TV;>;
Signature: ()Ljava/util/Collection<TV;>;
public java.util.Set<java.util.Map$Entry<K, V>> entrySet();
descriptor: ()Ljava/util/Set;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.util.HashMap.entrySet0:()Ljava/util/Set;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/HashMap<TK;TV;>;
Signature: ()Ljava/util/Set<Ljava/util/Map$Entry<TK;TV;>;>;
private java.util.Set<java.util.Map$Entry<K, V>> entrySet0();
descriptor: ()Ljava/util/Set;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=1
start local 0 0: aload 0
getfield java.util.HashMap.entrySet:Ljava/util/Set;
astore 1
start local 1 1: aload 1
ifnull 2
aload 1
goto 3
StackMap locals: java.util.Set
StackMap stack:
2: aload 0
new java.util.HashMap$EntrySet
dup
aload 0
invokespecial java.util.HashMap$EntrySet.<init>:(Ljava/util/HashMap;)V
dup_x1
putfield java.util.HashMap.entrySet:Ljava/util/Set;
StackMap locals:
StackMap stack: java.util.Set
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Ljava/util/HashMap<TK;TV;>;
1 4 1 es Ljava/util/Set<Ljava/util/Map$Entry<TK;TV;>;>;
Signature: ()Ljava/util/Set<Ljava/util/Map$Entry<TK;TV;>;>;
private void writeObject(java.io.ObjectOutputStream);
descriptor: (Ljava/io/ObjectOutputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield java.util.HashMap.size:I
ifle 1
aload 0
invokevirtual java.util.HashMap.entrySet0:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
goto 2
StackMap locals:
StackMap stack:
1: aconst_null
2: StackMap locals:
StackMap stack: java.util.Iterator
astore 2
start local 2 3: aload 1
invokevirtual java.io.ObjectOutputStream.defaultWriteObject:()V
4: aload 1
aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
arraylength
invokevirtual java.io.ObjectOutputStream.writeInt:(I)V
5: aload 1
aload 0
getfield java.util.HashMap.size:I
invokevirtual java.io.ObjectOutputStream.writeInt:(I)V
6: aload 2
ifnull 12
7: goto 11
8: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.util.Map$Entry
astore 3
start local 3 9: aload 1
aload 3
invokeinterface java.util.Map$Entry.getKey:()Ljava/lang/Object;
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
10: aload 1
aload 3
invokeinterface java.util.Map$Entry.getValue:()Ljava/lang/Object;
invokevirtual java.io.ObjectOutputStream.writeObject:(Ljava/lang/Object;)V
end local 3 11: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 8
12: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Ljava/util/HashMap<TK;TV;>;
0 13 1 s Ljava/io/ObjectOutputStream;
3 13 2 i Ljava/util/Iterator<Ljava/util/Map$Entry<TK;TV;>;>;
9 11 3 e Ljava/util/Map$Entry<TK;TV;>;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
s
private void readObject(java.io.ObjectInputStream);
descriptor: (Ljava/io/ObjectInputStream;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
1: aload 1
invokevirtual java.io.ObjectInputStream.readInt:()I
istore 2
start local 2 2: invokestatic sun.misc.SharedSecrets.getJavaOISAccess:()Lsun/misc/JavaOISAccess;
aload 1
ldc [Ljava/util/Map$Entry;
iload 2
invokeinterface sun.misc.JavaOISAccess.checkArray:(Ljava/io/ObjectInputStream;Ljava/lang/Class;I)V
3: aload 0
iload 2
anewarray java.util.HashMap$Entry
putfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
4: aload 0
invokevirtual java.util.HashMap.init:()V
5: aload 1
invokevirtual java.io.ObjectInputStream.readInt:()I
istore 3
start local 3 6: iconst_0
istore 4
start local 4 7: goto 12
8: StackMap locals: int int int
StackMap stack:
aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
astore 5
start local 5 9: aload 1
invokevirtual java.io.ObjectInputStream.readObject:()Ljava/lang/Object;
astore 6
start local 6 10: aload 0
aload 5
aload 6
invokevirtual java.util.HashMap.putForCreate:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 6 end local 5 11: iinc 4 1
StackMap locals:
StackMap stack:
12: iload 4
iload 3
if_icmplt 8
end local 4 13: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Ljava/util/HashMap<TK;TV;>;
0 14 1 s Ljava/io/ObjectInputStream;
2 14 2 numBuckets I
6 14 3 size I
7 13 4 i I
9 11 5 key TK;
10 11 6 value TV;
Exceptions:
throws java.io.IOException, java.lang.ClassNotFoundException
MethodParameters:
Name Flags
s
int capacity();
descriptor: ()I
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.HashMap.table:[Ljava/util/HashMap$Entry;
arraylength
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/HashMap<TK;TV;>;
float loadFactor();
descriptor: ()F
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield java.util.HashMap.loadFactor:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljava/util/HashMap<TK;TV;>;
}
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>Ljava/util/AbstractMap<TK;TV;>;Ljava/util/Map<TK;TV;>;Ljava/lang/Cloneable;Ljava/io/Serializable;
SourceFile: "HashMap.java"
NestMembers:
java.util.HashMap$Entry java.util.HashMap$EntryIterator java.util.HashMap$EntrySet java.util.HashMap$HashIterator java.util.HashMap$KeyIterator java.util.HashMap$KeySet java.util.HashMap$ValueIterator java.util.HashMap$Values
InnerClasses:
Entry = java.util.HashMap$Entry of java.util.HashMap
private final EntryIterator = java.util.HashMap$EntryIterator of java.util.HashMap
private final EntrySet = java.util.HashMap$EntrySet of java.util.HashMap
private abstract HashIterator = java.util.HashMap$HashIterator of java.util.HashMap
private final KeyIterator = java.util.HashMap$KeyIterator of java.util.HashMap
private final KeySet = java.util.HashMap$KeySet of java.util.HashMap
private final ValueIterator = java.util.HashMap$ValueIterator of java.util.HashMap
private final Values = java.util.HashMap$Values of java.util.HashMap
public abstract Entry = java.util.Map$Entry of java.util.Map