public final class com.google.common.collect.MapMaker
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.MapMaker
super_class: java.lang.Object
{
private static final int DEFAULT_INITIAL_CAPACITY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 16
private static final int DEFAULT_CONCURRENCY_LEVEL;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 4
static final int UNSET_INT;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -1
boolean useCustomMap;
descriptor: Z
flags: (0x0000)
int initialCapacity;
descriptor: I
flags: (0x0000)
int concurrencyLevel;
descriptor: I
flags: (0x0000)
com.google.common.collect.MapMakerInternalMap$Strength keyStrength;
descriptor: Lcom/google/common/collect/MapMakerInternalMap$Strength;
flags: (0x0000)
Signature: Lcom/google/common/collect/MapMakerInternalMap$Strength;
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.Nullable()
com.google.common.collect.MapMakerInternalMap$Strength valueStrength;
descriptor: Lcom/google/common/collect/MapMakerInternalMap$Strength;
flags: (0x0000)
Signature: Lcom/google/common/collect/MapMakerInternalMap$Strength;
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.Nullable()
com.google.common.base.Equivalence<java.lang.Object> keyEquivalence;
descriptor: Lcom/google/common/base/Equivalence;
flags: (0x0000)
Signature: Lcom/google/common/base/Equivalence<Ljava/lang/Object;>;
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.Nullable()
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.lang.Object.<init>:()V
1: aload 0
iconst_m1
putfield com.google.common.collect.MapMaker.initialCapacity:I
2: aload 0
iconst_m1
putfield com.google.common.collect.MapMaker.concurrencyLevel:I
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/MapMaker;
com.google.common.collect.MapMaker keyEquivalence(com.google.common.base.Equivalence<java.lang.Object>);
descriptor: (Lcom/google/common/base/Equivalence;)Lcom/google/common/collect/MapMaker;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.MapMaker.keyEquivalence:Lcom/google/common/base/Equivalence;
ifnonnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "key equivalence was already set to %s"
aload 0
getfield com.google.common.collect.MapMaker.keyEquivalence:Lcom/google/common/base/Equivalence;
invokestatic com.google.common.base.Preconditions.checkState:(ZLjava/lang/String;Ljava/lang/Object;)V
3: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.base.Equivalence
putfield com.google.common.collect.MapMaker.keyEquivalence:Lcom/google/common/base/Equivalence;
4: aload 0
iconst_1
putfield com.google.common.collect.MapMaker.useCustomMap:Z
5: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/collect/MapMaker;
0 6 1 equivalence Lcom/google/common/base/Equivalence<Ljava/lang/Object;>;
Signature: (Lcom/google/common/base/Equivalence<Ljava/lang/Object;>;)Lcom/google/common/collect/MapMaker;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
com.google.common.annotations.GwtIncompatible()
MethodParameters:
Name Flags
equivalence
com.google.common.base.Equivalence<java.lang.Object> getKeyEquivalence();
descriptor: ()Lcom/google/common/base/Equivalence;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.MapMaker.keyEquivalence:Lcom/google/common/base/Equivalence;
aload 0
invokevirtual com.google.common.collect.MapMaker.getKeyStrength:()Lcom/google/common/collect/MapMakerInternalMap$Strength;
invokevirtual com.google.common.collect.MapMakerInternalMap$Strength.defaultEquivalence:()Lcom/google/common/base/Equivalence;
invokestatic com.google.common.base.MoreObjects.firstNonNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.base.Equivalence
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/MapMaker;
Signature: ()Lcom/google/common/base/Equivalence<Ljava/lang/Object;>;
public com.google.common.collect.MapMaker initialCapacity(int);
descriptor: (I)Lcom/google/common/collect/MapMaker;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.MapMaker.initialCapacity:I
iconst_m1
if_icmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
2: StackMap locals:
StackMap stack: int
ldc "initial capacity was already set to %s"
3: aload 0
getfield com.google.common.collect.MapMaker.initialCapacity:I
4: invokestatic com.google.common.base.Preconditions.checkState:(ZLjava/lang/String;I)V
5: iload 1
iflt 6
iconst_1
goto 7
StackMap locals:
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: invokestatic com.google.common.base.Preconditions.checkArgument:(Z)V
8: aload 0
iload 1
putfield com.google.common.collect.MapMaker.initialCapacity:I
9: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/google/common/collect/MapMaker;
0 10 1 initialCapacity I
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
initialCapacity
int getInitialCapacity();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.MapMaker.initialCapacity:I
iconst_m1
if_icmpne 1
bipush 16
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.google.common.collect.MapMaker.initialCapacity:I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/MapMaker;
public com.google.common.collect.MapMaker concurrencyLevel(int);
descriptor: (I)Lcom/google/common/collect/MapMaker;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.MapMaker.concurrencyLevel:I
iconst_m1
if_icmpne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
2: StackMap locals:
StackMap stack: int
ldc "concurrency level was already set to %s"
3: aload 0
getfield com.google.common.collect.MapMaker.concurrencyLevel:I
4: invokestatic com.google.common.base.Preconditions.checkState:(ZLjava/lang/String;I)V
5: iload 1
ifle 6
iconst_1
goto 7
StackMap locals:
StackMap stack:
6: iconst_0
StackMap locals:
StackMap stack: int
7: invokestatic com.google.common.base.Preconditions.checkArgument:(Z)V
8: aload 0
iload 1
putfield com.google.common.collect.MapMaker.concurrencyLevel:I
9: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/google/common/collect/MapMaker;
0 10 1 concurrencyLevel I
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
concurrencyLevel
int getConcurrencyLevel();
descriptor: ()I
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.MapMaker.concurrencyLevel:I
iconst_m1
if_icmpne 1
iconst_4
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield com.google.common.collect.MapMaker.concurrencyLevel:I
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/MapMaker;
public com.google.common.collect.MapMaker weakKeys();
descriptor: ()Lcom/google/common/collect/MapMaker;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic com.google.common.collect.MapMakerInternalMap$Strength.WEAK:Lcom/google/common/collect/MapMakerInternalMap$Strength;
invokevirtual com.google.common.collect.MapMaker.setKeyStrength:(Lcom/google/common/collect/MapMakerInternalMap$Strength;)Lcom/google/common/collect/MapMaker;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/MapMaker;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
com.google.common.annotations.GwtIncompatible()
com.google.common.collect.MapMaker setKeyStrength(com.google.common.collect.MapMakerInternalMap$Strength);
descriptor: (Lcom/google/common/collect/MapMakerInternalMap$Strength;)Lcom/google/common/collect/MapMaker;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.MapMaker.keyStrength:Lcom/google/common/collect/MapMakerInternalMap$Strength;
ifnonnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "Key strength was already set to %s"
aload 0
getfield com.google.common.collect.MapMaker.keyStrength:Lcom/google/common/collect/MapMakerInternalMap$Strength;
invokestatic com.google.common.base.Preconditions.checkState:(ZLjava/lang/String;Ljava/lang/Object;)V
3: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.collect.MapMakerInternalMap$Strength
putfield com.google.common.collect.MapMaker.keyStrength:Lcom/google/common/collect/MapMakerInternalMap$Strength;
4: aload 1
getstatic com.google.common.collect.MapMakerInternalMap$Strength.STRONG:Lcom/google/common/collect/MapMakerInternalMap$Strength;
if_acmpeq 6
5: aload 0
iconst_1
putfield com.google.common.collect.MapMaker.useCustomMap:Z
6: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/collect/MapMaker;
0 7 1 strength Lcom/google/common/collect/MapMakerInternalMap$Strength;
Signature: (Lcom/google/common/collect/MapMakerInternalMap$Strength;)Lcom/google/common/collect/MapMaker;
MethodParameters:
Name Flags
strength
com.google.common.collect.MapMakerInternalMap$Strength getKeyStrength();
descriptor: ()Lcom/google/common/collect/MapMakerInternalMap$Strength;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.MapMaker.keyStrength:Lcom/google/common/collect/MapMakerInternalMap$Strength;
getstatic com.google.common.collect.MapMakerInternalMap$Strength.STRONG:Lcom/google/common/collect/MapMakerInternalMap$Strength;
invokestatic com.google.common.base.MoreObjects.firstNonNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.collect.MapMakerInternalMap$Strength
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/MapMaker;
Signature: ()Lcom/google/common/collect/MapMakerInternalMap$Strength;
public com.google.common.collect.MapMaker weakValues();
descriptor: ()Lcom/google/common/collect/MapMaker;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getstatic com.google.common.collect.MapMakerInternalMap$Strength.WEAK:Lcom/google/common/collect/MapMakerInternalMap$Strength;
invokevirtual com.google.common.collect.MapMaker.setValueStrength:(Lcom/google/common/collect/MapMakerInternalMap$Strength;)Lcom/google/common/collect/MapMaker;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/MapMaker;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
com.google.common.annotations.GwtIncompatible()
com.google.common.collect.MapMaker setValueStrength(com.google.common.collect.MapMakerInternalMap$Strength);
descriptor: (Lcom/google/common/collect/MapMakerInternalMap$Strength;)Lcom/google/common/collect/MapMaker;
flags: (0x0000)
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.MapMaker.valueStrength:Lcom/google/common/collect/MapMakerInternalMap$Strength;
ifnonnull 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ldc "Value strength was already set to %s"
aload 0
getfield com.google.common.collect.MapMaker.valueStrength:Lcom/google/common/collect/MapMakerInternalMap$Strength;
invokestatic com.google.common.base.Preconditions.checkState:(ZLjava/lang/String;Ljava/lang/Object;)V
3: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.collect.MapMakerInternalMap$Strength
putfield com.google.common.collect.MapMaker.valueStrength:Lcom/google/common/collect/MapMakerInternalMap$Strength;
4: aload 1
getstatic com.google.common.collect.MapMakerInternalMap$Strength.STRONG:Lcom/google/common/collect/MapMakerInternalMap$Strength;
if_acmpeq 6
5: aload 0
iconst_1
putfield com.google.common.collect.MapMaker.useCustomMap:Z
6: StackMap locals:
StackMap stack:
aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/collect/MapMaker;
0 7 1 strength Lcom/google/common/collect/MapMakerInternalMap$Strength;
Signature: (Lcom/google/common/collect/MapMakerInternalMap$Strength;)Lcom/google/common/collect/MapMaker;
MethodParameters:
Name Flags
strength
com.google.common.collect.MapMakerInternalMap$Strength getValueStrength();
descriptor: ()Lcom/google/common/collect/MapMakerInternalMap$Strength;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.MapMaker.valueStrength:Lcom/google/common/collect/MapMakerInternalMap$Strength;
getstatic com.google.common.collect.MapMakerInternalMap$Strength.STRONG:Lcom/google/common/collect/MapMakerInternalMap$Strength;
invokestatic com.google.common.base.MoreObjects.firstNonNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.collect.MapMakerInternalMap$Strength
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/MapMaker;
Signature: ()Lcom/google/common/collect/MapMakerInternalMap$Strength;
public <K, V> java.util.concurrent.ConcurrentMap<K, V> makeMap();
descriptor: ()Ljava/util/concurrent/ConcurrentMap;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.MapMaker.useCustomMap:Z
ifne 2
1: new java.util.concurrent.ConcurrentHashMap
dup
aload 0
invokevirtual com.google.common.collect.MapMaker.getInitialCapacity:()I
ldc 0.75
aload 0
invokevirtual com.google.common.collect.MapMaker.getConcurrencyLevel:()I
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:(IFI)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic com.google.common.collect.MapMakerInternalMap.create:(Lcom/google/common/collect/MapMaker;)Lcom/google/common/collect/MapMakerInternalMap;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/MapMaker;
Signature: <K:Ljava/lang/Object;V:Ljava/lang/Object;>()Ljava/util/concurrent/ConcurrentMap<TK;TV;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.MoreObjects.toStringHelper:(Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
astore 1
start local 1 1: aload 0
getfield com.google.common.collect.MapMaker.initialCapacity:I
iconst_m1
if_icmpeq 3
2: aload 1
ldc "initialCapacity"
aload 0
getfield com.google.common.collect.MapMaker.initialCapacity:I
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;I)Lcom/google/common/base/MoreObjects$ToStringHelper;
pop
3: StackMap locals: com.google.common.base.MoreObjects$ToStringHelper
StackMap stack:
aload 0
getfield com.google.common.collect.MapMaker.concurrencyLevel:I
iconst_m1
if_icmpeq 5
4: aload 1
ldc "concurrencyLevel"
aload 0
getfield com.google.common.collect.MapMaker.concurrencyLevel:I
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;I)Lcom/google/common/base/MoreObjects$ToStringHelper;
pop
5: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.MapMaker.keyStrength:Lcom/google/common/collect/MapMakerInternalMap$Strength;
ifnull 7
6: aload 1
ldc "keyStrength"
aload 0
getfield com.google.common.collect.MapMaker.keyStrength:Lcom/google/common/collect/MapMakerInternalMap$Strength;
invokevirtual com.google.common.collect.MapMakerInternalMap$Strength.toString:()Ljava/lang/String;
invokestatic com.google.common.base.Ascii.toLowerCase:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
pop
7: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.MapMaker.valueStrength:Lcom/google/common/collect/MapMakerInternalMap$Strength;
ifnull 9
8: aload 1
ldc "valueStrength"
aload 0
getfield com.google.common.collect.MapMaker.valueStrength:Lcom/google/common/collect/MapMakerInternalMap$Strength;
invokevirtual com.google.common.collect.MapMakerInternalMap$Strength.toString:()Ljava/lang/String;
invokestatic com.google.common.base.Ascii.toLowerCase:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
pop
9: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.MapMaker.keyEquivalence:Lcom/google/common/base/Equivalence;
ifnull 11
10: aload 1
ldc "keyEquivalence"
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.addValue:(Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
pop
11: StackMap locals:
StackMap stack:
aload 1
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/google/common/collect/MapMaker;
1 12 1 s Lcom/google/common/base/MoreObjects$ToStringHelper;
}
SourceFile: "MapMaker.java"
NestMembers:
com.google.common.collect.MapMaker$Dummy
InnerClasses:
public final ToStringHelper = com.google.common.base.MoreObjects$ToStringHelper of com.google.common.base.MoreObjects
final Dummy = com.google.common.collect.MapMaker$Dummy of com.google.common.collect.MapMaker
abstract InternalEntry = com.google.common.collect.MapMakerInternalMap$InternalEntry of com.google.common.collect.MapMakerInternalMap
abstract Segment = com.google.common.collect.MapMakerInternalMap$Segment of com.google.common.collect.MapMakerInternalMap
abstract Strength = com.google.common.collect.MapMakerInternalMap$Strength of com.google.common.collect.MapMakerInternalMap
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(emulated = true)