![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.collect.MapMakerInternalMap$Segment.class Maven / Gradle / Ivy
???? 4w
@
? ?
?
?
?
? ?
?
!"
?#
?$
?%
?&
?'
?(
?)*
+,
-
. ?/
?0 1 2
?3 4
56 7
?8
?9
?: ;
<
?=
?>
?? ?@
?A@
?B
?C
?D
EF :H
I
?J
?KLM map /Lcom/google/common/collect/MapMakerInternalMap; Signature =Lcom/google/common/collect/MapMakerInternalMap; RuntimeInvisibleAnnotations $Lcom/google/j2objc/annotations/Weak; count I modCount threshold table 2Ljava/util/concurrent/atomic/AtomicReferenceArray; 7Ljava/util/concurrent/atomic/AtomicReferenceArray; RuntimeVisibleAnnotations Ljavax/annotation/CheckForNull; readCount +Ljava/util/concurrent/atomic/AtomicInteger; 3(Lcom/google/common/collect/MapMakerInternalMap;I)V Code LineNumberTable LocalVariableTable this Segment InnerClasses 7Lcom/google/common/collect/MapMakerInternalMap$Segment; initialCapacity LocalVariableTypeTable ELcom/google/common/collect/MapMakerInternalMap$Segment; MethodParameters A(Lcom/google/common/collect/MapMakerInternalMap;I)V self 9()Lcom/google/common/collect/MapMakerInternalMap$Segment; ()TS; maybeDrainReferenceQueues ()V 8Lcom/google/errorprone/annotations/concurrent/GuardedBy; value maybeClearReferenceQueues setValue
InternalEntry R(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;Ljava/lang/Object;)V entry =Lcom/google/common/collect/MapMakerInternalMap$InternalEntry; Ljava/lang/Object; TE; TV; (TE;TV;)V copyEntry ?(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;)Lcom/google/common/collect/MapMakerInternalMap$InternalEntry; original newNext (TE;TE;)TE;
newEntryArray 5(I)Ljava/util/concurrent/atomic/AtomicReferenceArray; size :(I)Ljava/util/concurrent/atomic/AtomicReferenceArray; initTable 5(Ljava/util/concurrent/atomic/AtomicReferenceArray;)V newTable :(Ljava/util/concurrent/atomic/AtomicReferenceArray;)V castForTesting |(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;)Lcom/google/common/collect/MapMakerInternalMap$InternalEntry; K(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;)TE; getKeyReferenceQueueForTesting ()Ljava/lang/ref/ReferenceQueue; %()Ljava/lang/ref/ReferenceQueue; getValueReferenceQueueForTesting %()Ljava/lang/ref/ReferenceQueue; getWeakValueReferenceForTesting WeakValueReference ?(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;)Lcom/google/common/collect/MapMakerInternalMap$WeakValueReference; FLcom/google/common/collect/MapMakerInternalMap$InternalEntry; ?(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;)Lcom/google/common/collect/MapMakerInternalMap$WeakValueReference; newWeakValueReferenceForTesting ?(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;Ljava/lang/Object;)Lcom/google/common/collect/MapMakerInternalMap$WeakValueReference; ?(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;TV;)Lcom/google/common/collect/MapMakerInternalMap$WeakValueReference; setWeakValueReferenceForTesting ?(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;Lcom/google/common/collect/MapMakerInternalMap$WeakValueReference;)V valueReference BLcom/google/common/collect/MapMakerInternalMap$WeakValueReference; ?Lcom/google/common/collect/MapMakerInternalMap$WeakValueReference;>; ?(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;Lcom/google/common/collect/MapMakerInternalMap$WeakValueReference;>;)V setTableEntryForTesting A(ILcom/google/common/collect/MapMakerInternalMap$InternalEntry;)V i J(ILcom/google/common/collect/MapMakerInternalMap$InternalEntry;)V copyForTesting ?(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;)TE; "RuntimeVisibleParameterAnnotations setValueForTesting L(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;TV;)V newEntryForTesting ?(Ljava/lang/Object;ILcom/google/common/collect/MapMakerInternalMap$InternalEntry;)Lcom/google/common/collect/MapMakerInternalMap$InternalEntry; key hash next TK; O(TK;ILcom/google/common/collect/MapMakerInternalMap$InternalEntry;)TE; removeTableEntryForTesting @(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;)Z I(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;)Z 8Lcom/google/errorprone/annotations/CanIgnoreReturnValue; removeFromChainForTesting first getLiveValueForTesting Q(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;)Ljava/lang/Object; K(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;)TV; tryDrainReferenceQueues
StackMapTableN drainKeyReferenceQueue !(Ljava/lang/ref/ReferenceQueue;)V keyReferenceQueue Ljava/lang/ref/ReferenceQueue; ref Ljava/lang/ref/Reference; #Ljava/lang/ref/ReferenceQueue; Ljava/lang/ref/Reference<+TK;>;OP &(Ljava/lang/ref/ReferenceQueue;)V drainValueReferenceQueue valueReferenceQueue MLcom/google/common/collect/MapMakerInternalMap$WeakValueReference; #Ljava/lang/ref/ReferenceQueue; Ljava/lang/ref/Reference<+TV;>; &(Ljava/lang/ref/ReferenceQueue;)V clearReferenceQueue referenceQueue #Ljava/lang/ref/ReferenceQueue; <(Ljava/lang/ref/ReferenceQueue;)V getFirst @(I)Lcom/google/common/collect/MapMakerInternalMap$InternalEntry; (I)TE; getEntry R(Ljava/lang/Object;I)Lcom/google/common/collect/MapMakerInternalMap$InternalEntry; entryKey eQ (Ljava/lang/Object;I)TE; getLiveEntry get '(Ljava/lang/Object;I)Ljava/lang/Object; (Ljava/lang/Object;I)TV; containsKey (Ljava/lang/Object;I)Z
containsValue (Ljava/lang/Object;)Z
entryValue length 1Lcom/google/common/annotations/VisibleForTesting; put :(Ljava/lang/Object;ILjava/lang/Object;Z)Ljava/lang/Object; newCount index newEntry onlyIfAbsent Z
(TK;ITV;Z)TV; expand newIndex newFirst tail tailIndex headIndex head oldIndex oldTable oldCapacity newMask replace :(Ljava/lang/Object;ILjava/lang/Object;Ljava/lang/Object;)Z oldValue newValue
(TK;ITV;TV;)Z 9(Ljava/lang/Object;ILjava/lang/Object;)Ljava/lang/Object; (TK;ITV;)TV; remove ((Ljava/lang/Object;ILjava/lang/Object;)Z explicitRemoval clear removeFromChain
reclaimKey A(Lcom/google/common/collect/MapMakerInternalMap$InternalEntry;I)Z (TE;I)Z reclaimValue X(Ljava/lang/Object;ILcom/google/common/collect/MapMakerInternalMap$WeakValueReference;)Z v T(TK;ILcom/google/common/collect/MapMakerInternalMap$WeakValueReference;)Z clearValueForTesting ?(TK;ILcom/google/common/collect/MapMakerInternalMap$WeakValueReference;>;)Z removeEntryForTesting (TE;)Z isCollected {;>(TE;)Z getLiveValue (TE;)TV; postReadCleanup preWriteCleanup
runCleanup runLockedCleanup ?;S:Lcom/google/common/collect/MapMakerInternalMap$Segment;>Ljava/util/concurrent/locks/ReentrantLock;
SourceFile MapMakerInternalMap.java -com/google/common/collect/MapMakerInternalMap R d )java/util/concurrent/atomic/AtomicInteger P Q A B v w z {RT ` aU hVWX 0java/util/concurrent/atomic/AtomicReferenceArray RY ?Z J H K L java/lang/AssertionError ~ [\ ?] ? ? r ?^_ c d` dab ;com/google/common/collect/MapMakerInternalMap$InternalEntry ?c @com/google/common/collect/MapMakerInternalMap$WeakValueReference ?d ?e G H ? ?fZgh ? dijklmno ? ? ? ? dphqrs d d ? d I H h j q r ? g d[Y