public final class com.google.common.util.concurrent.AtomicLongMap<K> implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.util.concurrent.AtomicLongMap
super_class: java.lang.Object
{
private final java.util.concurrent.ConcurrentHashMap<K, java.lang.Long> map;
descriptor: Ljava/util/concurrent/ConcurrentHashMap;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/concurrent/ConcurrentHashMap<TK;Ljava/lang/Long;>;
private transient java.util.Map<K, java.lang.Long> asMap;
descriptor: Ljava/util/Map;
flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT
Signature: Ljava/util/Map<TK;Ljava/lang/Long;>;
RuntimeVisibleTypeAnnotations:
FIELD
org.checkerframework.checker.nullness.qual.MonotonicNonNull()
private void <init>(java.util.concurrent.ConcurrentHashMap<K, java.lang.Long>);
descriptor: (Ljava/util/concurrent/ConcurrentHashMap;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.concurrent.ConcurrentHashMap
putfield com.google.common.util.concurrent.AtomicLongMap.map:Ljava/util/concurrent/ConcurrentHashMap;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 3 1 map Ljava/util/concurrent/ConcurrentHashMap<TK;Ljava/lang/Long;>;
Signature: (Ljava/util/concurrent/ConcurrentHashMap<TK;Ljava/lang/Long;>;)V
MethodParameters:
Name Flags
map
public static <K> com.google.common.util.concurrent.AtomicLongMap<K> create();
descriptor: ()Lcom/google/common/util/concurrent/AtomicLongMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new com.google.common.util.concurrent.AtomicLongMap
dup
new java.util.concurrent.ConcurrentHashMap
dup
invokespecial java.util.concurrent.ConcurrentHashMap.<init>:()V
invokespecial com.google.common.util.concurrent.AtomicLongMap.<init>:(Ljava/util/concurrent/ConcurrentHashMap;)V
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <K:Ljava/lang/Object;>()Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
public static <K> com.google.common.util.concurrent.AtomicLongMap<K> create(java.util.Map<? extends K, ? extends java.lang.Long>);
descriptor: (Ljava/util/Map;)Lcom/google/common/util/concurrent/AtomicLongMap;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: invokestatic com.google.common.util.concurrent.AtomicLongMap.create:()Lcom/google/common/util/concurrent/AtomicLongMap;
astore 1
start local 1 1: aload 1
aload 0
invokevirtual com.google.common.util.concurrent.AtomicLongMap.putAll:(Ljava/util/Map;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 m Ljava/util/Map<+TK;+Ljava/lang/Long;>;
1 3 1 result Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
Signature: <K:Ljava/lang/Object;>(Ljava/util/Map<+TK;+Ljava/lang/Long;>;)Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
MethodParameters:
Name Flags
m
public long get();
descriptor: (Ljava/lang/Object;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.util.concurrent.AtomicLongMap.map:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
lconst_0
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual java.util.concurrent.ConcurrentHashMap.getOrDefault:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 1 1 key TK;
Signature: (TK;)J
MethodParameters:
Name Flags
key
public long incrementAndGet();
descriptor: (Ljava/lang/Object;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
lconst_1
invokevirtual com.google.common.util.concurrent.AtomicLongMap.addAndGet:(Ljava/lang/Object;J)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 1 1 key TK;
Signature: (TK;)J
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
key
public long decrementAndGet();
descriptor: (Ljava/lang/Object;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc -1
invokevirtual com.google.common.util.concurrent.AtomicLongMap.addAndGet:(Ljava/lang/Object;J)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 1 1 key TK;
Signature: (TK;)J
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
key
public long addAndGet(K, );
descriptor: (Ljava/lang/Object;J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
lload 2
invokedynamic applyAsLong()Ljava/util/function/LongBinaryOperator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(JJ)J
java/lang/Long.sum(JJ)J (6)
(JJ)J
invokevirtual com.google.common.util.concurrent.AtomicLongMap.accumulateAndGet:(Ljava/lang/Object;JLjava/util/function/LongBinaryOperator;)J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 1 1 key TK;
0 1 2 delta J
Signature: (TK;J)J
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
key
delta
public long getAndIncrement();
descriptor: (Ljava/lang/Object;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
lconst_1
invokevirtual com.google.common.util.concurrent.AtomicLongMap.getAndAdd:(Ljava/lang/Object;J)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 1 1 key TK;
Signature: (TK;)J
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
key
public long getAndDecrement();
descriptor: (Ljava/lang/Object;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
ldc -1
invokevirtual com.google.common.util.concurrent.AtomicLongMap.getAndAdd:(Ljava/lang/Object;J)J
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 1 1 key TK;
Signature: (TK;)J
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
key
public long getAndAdd(K, );
descriptor: (Ljava/lang/Object;J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
lload 2
invokedynamic applyAsLong()Ljava/util/function/LongBinaryOperator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(JJ)J
java/lang/Long.sum(JJ)J (6)
(JJ)J
invokevirtual com.google.common.util.concurrent.AtomicLongMap.getAndAccumulate:(Ljava/lang/Object;JLjava/util/function/LongBinaryOperator;)J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 1 1 key TK;
0 1 2 delta J
Signature: (TK;J)J
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
key
delta
public long updateAndGet(K, java.util.function.LongUnaryOperator);
descriptor: (Ljava/lang/Object;Ljava/util/function/LongUnaryOperator;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
getfield com.google.common.util.concurrent.AtomicLongMap.map:Ljava/util/concurrent/ConcurrentHashMap;
2: aload 1
aload 2
invokedynamic apply(Ljava/util/function/LongUnaryOperator;)Ljava/util/function/BiFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
com/google/common/util/concurrent/AtomicLongMap.lambda$2(Ljava/util/function/LongUnaryOperator;Ljava/lang/Object;Ljava/lang/Long;)Ljava/lang/Long; (6)
(Ljava/lang/Object;Ljava/lang/Long;)Ljava/lang/Long;
3: invokevirtual java.util.concurrent.ConcurrentHashMap.compute:(Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/lang/Object;
checkcast java.lang.Long
invokevirtual java.lang.Long.longValue:()J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 4 1 key TK;
0 4 2 updaterFunction Ljava/util/function/LongUnaryOperator;
Signature: (TK;Ljava/util/function/LongUnaryOperator;)J
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
key
updaterFunction
public long getAndUpdate(K, java.util.function.LongUnaryOperator);
descriptor: (Ljava/lang/Object;Ljava/util/function/LongUnaryOperator;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 2
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: new java.util.concurrent.atomic.AtomicLong
dup
invokespecial java.util.concurrent.atomic.AtomicLong.<init>:()V
astore 3
start local 3 2: aload 0
getfield com.google.common.util.concurrent.AtomicLongMap.map:Ljava/util/concurrent/ConcurrentHashMap;
3: aload 1
4: aload 3
aload 2
invokedynamic apply(Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/function/LongUnaryOperator;)Ljava/util/function/BiFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
com/google/common/util/concurrent/AtomicLongMap.lambda$3(Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/function/LongUnaryOperator;Ljava/lang/Object;Ljava/lang/Long;)Ljava/lang/Long; (6)
(Ljava/lang/Object;Ljava/lang/Long;)Ljava/lang/Long;
5: invokevirtual java.util.concurrent.ConcurrentHashMap.compute:(Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/lang/Object;
pop
6: aload 3
invokevirtual java.util.concurrent.atomic.AtomicLong.get:()J
lreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 7 1 key TK;
0 7 2 updaterFunction Ljava/util/function/LongUnaryOperator;
2 7 3 holder Ljava/util/concurrent/atomic/AtomicLong;
Signature: (TK;Ljava/util/function/LongUnaryOperator;)J
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
key
updaterFunction
public long accumulateAndGet(K, long, java.util.function.LongBinaryOperator);
descriptor: (Ljava/lang/Object;JLjava/util/function/LongBinaryOperator;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 4
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
aload 4
lload 2
invokedynamic applyAsLong(Ljava/util/function/LongBinaryOperator;J)Ljava/util/function/LongUnaryOperator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(J)J
com/google/common/util/concurrent/AtomicLongMap.lambda$4(Ljava/util/function/LongBinaryOperator;JJ)J (6)
(J)J
invokevirtual com.google.common.util.concurrent.AtomicLongMap.updateAndGet:(Ljava/lang/Object;Ljava/util/function/LongUnaryOperator;)J
lreturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 2 1 key TK;
0 2 2 x J
0 2 4 accumulatorFunction Ljava/util/function/LongBinaryOperator;
Signature: (TK;JLjava/util/function/LongBinaryOperator;)J
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
key
x
accumulatorFunction
public long getAndAccumulate(K, long, java.util.function.LongBinaryOperator);
descriptor: (Ljava/lang/Object;JLjava/util/function/LongBinaryOperator;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 4 0: aload 4
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
aload 1
aload 4
lload 2
invokedynamic applyAsLong(Ljava/util/function/LongBinaryOperator;J)Ljava/util/function/LongUnaryOperator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(J)J
com/google/common/util/concurrent/AtomicLongMap.lambda$5(Ljava/util/function/LongBinaryOperator;JJ)J (6)
(J)J
invokevirtual com.google.common.util.concurrent.AtomicLongMap.getAndUpdate:(Ljava/lang/Object;Ljava/util/function/LongUnaryOperator;)J
lreturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 2 1 key TK;
0 2 2 x J
0 2 4 accumulatorFunction Ljava/util/function/LongBinaryOperator;
Signature: (TK;JLjava/util/function/LongBinaryOperator;)J
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
key
x
accumulatorFunction
public long put(K, );
descriptor: (Ljava/lang/Object;J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
lload 2
invokedynamic applyAsLong(J)Ljava/util/function/LongUnaryOperator;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(J)J
com/google/common/util/concurrent/AtomicLongMap.lambda$6(JJ)J (6)
(J)J
invokevirtual com.google.common.util.concurrent.AtomicLongMap.getAndUpdate:(Ljava/lang/Object;Ljava/util/function/LongUnaryOperator;)J
lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 1 1 key TK;
0 1 2 newValue J
Signature: (TK;J)J
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
key
newValue
public void putAll(java.util.Map<? extends K, ? extends java.lang.Long>);
descriptor: (Ljava/util/Map;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
invokedynamic accept(Lcom/google/common/util/concurrent/AtomicLongMap;)Ljava/util/function/BiConsumer;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)V
com/google/common/util/concurrent/AtomicLongMap.put(Ljava/lang/Object;J)J (5)
(Ljava/lang/Object;Ljava/lang/Long;)V
invokeinterface java.util.Map.forEach:(Ljava/util/function/BiConsumer;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 2 1 m Ljava/util/Map<+TK;+Ljava/lang/Long;>;
Signature: (Ljava/util/Map<+TK;+Ljava/lang/Long;>;)V
MethodParameters:
Name Flags
m
public long remove();
descriptor: (Ljava/lang/Object;)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.util.concurrent.AtomicLongMap.map:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
invokevirtual java.util.concurrent.ConcurrentHashMap.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Long
astore 2
start local 2 1: aload 2
ifnonnull 2
lconst_0
goto 3
StackMap locals: java.lang.Long
StackMap stack:
2: aload 2
invokevirtual java.lang.Long.longValue:()J
StackMap locals:
StackMap stack: long
3: lreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 4 1 key TK;
1 4 2 result Ljava/lang/Long;
Signature: (TK;)J
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
key
boolean remove(K, );
descriptor: (Ljava/lang/Object;J)Z
flags: (0x0000)
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield com.google.common.util.concurrent.AtomicLongMap.map:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual java.util.concurrent.ConcurrentHashMap.remove:(Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 1 1 key TK;
0 1 2 value J
Signature: (TK;J)Z
MethodParameters:
Name Flags
key
value
public boolean removeIfZero();
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
lconst_0
invokevirtual com.google.common.util.concurrent.AtomicLongMap.remove:(Ljava/lang/Object;J)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 1 1 key TK;
Signature: (TK;)Z
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
key
public void removeAllZeros();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.AtomicLongMap.map:Ljava/util/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.values:()Ljava/util/Collection;
invokedynamic test()Ljava/util/function/Predicate;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)Z
com/google/common/util/concurrent/AtomicLongMap.lambda$8(Ljava/lang/Long;)Z (6)
(Ljava/lang/Long;)Z
invokeinterface java.util.Collection.removeIf:(Ljava/util/function/Predicate;)Z
pop
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
public long sum();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.AtomicLongMap.map:Ljava/util/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.values:()Ljava/util/Collection;
invokeinterface java.util.Collection.stream:()Ljava/util/stream/Stream;
invokedynamic applyAsLong()Ljava/util/function/ToLongFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;)J
java/lang/Long.longValue()J (5)
(Ljava/lang/Long;)J
invokeinterface java.util.stream.Stream.mapToLong:(Ljava/util/function/ToLongFunction;)Ljava/util/stream/LongStream;
invokeinterface java.util.stream.LongStream.sum:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
public java.util.Map<K, java.lang.Long> asMap();
descriptor: ()Ljava/util/Map;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.AtomicLongMap.asMap:Ljava/util/Map;
astore 1
start local 1 1: aload 1
ifnonnull 2
aload 0
aload 0
invokevirtual com.google.common.util.concurrent.AtomicLongMap.createAsMap:()Ljava/util/Map;
dup_x1
putfield com.google.common.util.concurrent.AtomicLongMap.asMap:Ljava/util/Map;
goto 3
StackMap locals: java.util.Map
StackMap stack:
2: aload 1
StackMap locals:
StackMap stack: java.util.Map
3: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
1 4 1 result Ljava/util/Map<TK;Ljava/lang/Long;>;
Signature: ()Ljava/util/Map<TK;Ljava/lang/Long;>;
private java.util.Map<K, java.lang.Long> createAsMap();
descriptor: ()Ljava/util/Map;
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.AtomicLongMap.map:Ljava/util/concurrent/ConcurrentHashMap;
invokestatic java.util.Collections.unmodifiableMap:(Ljava/util/Map;)Ljava/util/Map;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
Signature: ()Ljava/util/Map<TK;Ljava/lang/Long;>;
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
getfield com.google.common.util.concurrent.AtomicLongMap.map:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
invokevirtual java.util.concurrent.ConcurrentHashMap.containsKey:(Ljava/lang/Object;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 1 1 key Ljava/lang/Object;
MethodParameters:
Name Flags
key
public int size();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.AtomicLongMap.map:Ljava/util/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.size:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
public boolean isEmpty();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.AtomicLongMap.map:Ljava/util/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.isEmpty:()Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.AtomicLongMap.map:Ljava/util/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.clear:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.util.concurrent.AtomicLongMap.map:Ljava/util/concurrent/ConcurrentHashMap;
invokevirtual java.util.concurrent.ConcurrentHashMap.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
long putIfAbsent(K, );
descriptor: (Ljava/lang/Object;J)J
flags: (0x0000)
Code:
stack=5, locals=6, args_size=3
start local 0 start local 1 start local 2 0: new java.util.concurrent.atomic.AtomicBoolean
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
astore 4
start local 4 1: aload 0
getfield com.google.common.util.concurrent.AtomicLongMap.map:Ljava/util/concurrent/ConcurrentHashMap;
2: aload 1
3: aload 4
lload 2
invokedynamic apply(Ljava/util/concurrent/atomic/AtomicBoolean;J)Ljava/util/function/BiFunction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
com/google/common/util/concurrent/AtomicLongMap.lambda$10(Ljava/util/concurrent/atomic/AtomicBoolean;JLjava/lang/Object;Ljava/lang/Long;)Ljava/lang/Long; (6)
(Ljava/lang/Object;Ljava/lang/Long;)Ljava/lang/Long;
4: invokevirtual java.util.concurrent.ConcurrentHashMap.compute:(Ljava/lang/Object;Ljava/util/function/BiFunction;)Ljava/lang/Object;
checkcast java.lang.Long
5: astore 5
start local 5 6: aload 4
invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
ifeq 7
lconst_0
goto 8
StackMap locals: java.util.concurrent.atomic.AtomicBoolean java.lang.Long
StackMap stack:
7: aload 5
invokevirtual java.lang.Long.longValue:()J
StackMap locals:
StackMap stack: long
8: lreturn
end local 5 end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 9 1 key TK;
0 9 2 newValue J
1 9 4 noValue Ljava/util/concurrent/atomic/AtomicBoolean;
6 9 5 result Ljava/lang/Long;
Signature: (TK;J)J
MethodParameters:
Name Flags
key
newValue
boolean replace(K, long, );
descriptor: (Ljava/lang/Object;JJ)Z
flags: (0x0000)
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 4 0: lload 2
lconst_0
lcmp
ifne 3
1: aload 0
aload 1
lload 4
invokevirtual com.google.common.util.concurrent.AtomicLongMap.putIfAbsent:(Ljava/lang/Object;J)J
lconst_0
lcmp
ifne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
3: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.util.concurrent.AtomicLongMap.map:Ljava/util/concurrent/ConcurrentHashMap;
aload 1
lload 2
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
lload 4
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokevirtual java.util.concurrent.ConcurrentHashMap.replace:(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z
ireturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/util/concurrent/AtomicLongMap<TK;>;
0 4 1 key TK;
0 4 2 expectedOldValue J
0 4 4 newValue J
Signature: (TK;JJ)Z
MethodParameters:
Name Flags
key
expectedOldValue
newValue
private static java.lang.Long lambda$2(java.util.function.LongUnaryOperator, java.lang.Object, java.lang.Long);
descriptor: (Ljava/util/function/LongUnaryOperator;Ljava/lang/Object;Ljava/lang/Long;)Ljava/lang/Long;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
start local 1 start local 2 0: aload 0
aload 2
ifnonnull 1
lconst_0
goto 2
StackMap locals:
StackMap stack: java.util.function.LongUnaryOperator
1: aload 2
invokevirtual java.lang.Long.longValue:()J
StackMap locals: java.util.function.LongUnaryOperator java.lang.Object java.lang.Long
StackMap stack: java.util.function.LongUnaryOperator long
2: invokeinterface java.util.function.LongUnaryOperator.applyAsLong:(J)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
areturn
end local 2 end local 1 LocalVariableTable:
Start End Slot Name Signature
0 3 1 k TK;
0 3 2 value Ljava/lang/Long;
private static java.lang.Long lambda$3(java.util.concurrent.atomic.AtomicLong, java.util.function.LongUnaryOperator, java.lang.Object, java.lang.Long);
descriptor: (Ljava/util/concurrent/atomic/AtomicLong;Ljava/util/function/LongUnaryOperator;Ljava/lang/Object;Ljava/lang/Long;)Ljava/lang/Long;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=6, args_size=4
start local 2 start local 3 0: aload 3
ifnonnull 1
lconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 3
invokevirtual java.lang.Long.longValue:()J
StackMap locals:
StackMap stack: long
2: lstore 4
start local 4 3: aload 0
lload 4
invokevirtual java.util.concurrent.atomic.AtomicLong.set:(J)V
4: aload 1
lload 4
invokeinterface java.util.function.LongUnaryOperator.applyAsLong:(J)J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
areturn
end local 4 end local 3 end local 2 LocalVariableTable:
Start End Slot Name Signature
0 5 2 k TK;
0 5 3 value Ljava/lang/Long;
3 5 4 oldValue J
private static long lambda$4(java.util.function.LongBinaryOperator, long, long);
descriptor: (Ljava/util/function/LongBinaryOperator;JJ)J
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=3
start local 3 0: aload 0
lload 3
lload 1
invokeinterface java.util.function.LongBinaryOperator.applyAsLong:(JJ)J
lreturn
end local 3 LocalVariableTable:
Start End Slot Name Signature
0 1 3 oldValue J
private static long lambda$5(java.util.function.LongBinaryOperator, long, long);
descriptor: (Ljava/util/function/LongBinaryOperator;JJ)J
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=5, locals=5, args_size=3
start local 3 0: aload 0
lload 3
lload 1
invokeinterface java.util.function.LongBinaryOperator.applyAsLong:(JJ)J
lreturn
end local 3 LocalVariableTable:
Start End Slot Name Signature
0 1 3 oldValue J
private static long lambda$6(long, long);
descriptor: (JJ)J
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=2, locals=4, args_size=2
start local 2 0: lload 0
lreturn
end local 2 LocalVariableTable:
Start End Slot Name Signature
0 1 2 x J
private static boolean lambda$8(java.lang.Long);
descriptor: (Ljava/lang/Long;)Z
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual java.lang.Long.longValue:()J
lconst_0
lcmp
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 x Ljava/lang/Long;
private static java.lang.Long lambda$10(java.util.concurrent.atomic.AtomicBoolean, long, java.lang.Object, java.lang.Long);
descriptor: (Ljava/util/concurrent/atomic/AtomicBoolean;JLjava/lang/Object;Ljava/lang/Long;)Ljava/lang/Long;
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=4, locals=5, args_size=4
start local 3 start local 4 0: aload 4
ifnull 1
aload 4
invokevirtual java.lang.Long.longValue:()J
lconst_0
lcmp
ifne 3
1: StackMap locals:
StackMap stack:
aload 0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.set:(Z)V
2: lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
areturn
3: StackMap locals:
StackMap stack:
aload 4
areturn
end local 4 end local 3 LocalVariableTable:
Start End Slot Name Signature
0 4 3 k TK;
0 4 4 oldValue Ljava/lang/Long;
}
Signature: <K:Ljava/lang/Object;>Ljava/lang/Object;Ljava/io/Serializable;
SourceFile: "AtomicLongMap.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible()