
com.google.common.collect.MapMakerInternalMap$Segment.class Maven / Gradle / Ivy
The newest version!
???? 2~
@
? ? ?
?
?
?
! ?" ?#$
?%
&'
?(
?)
?*
?+
?,
?-
./0
12
3
4 ?5
?6 7 8
?9 :
;< =
?>
??
?@ A
B
?C
?D
?E ?F
?G@
?H
?I
?J
KL :N
O
?P
?QRS 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; maxSegmentSize readCount +Ljava/util/concurrent/atomic/AtomicInteger; 4(Lcom/google/common/collect/MapMakerInternalMap;II)V Code LineNumberTable LocalVariableTable this Segment InnerClasses 7Lcom/google/common/collect/MapMakerInternalMap$Segment; initialCapacity LocalVariableTypeTable ELcom/google/common/collect/MapMakerInternalMap$Segment; B(Lcom/google/common/collect/MapMakerInternalMap;II)V self 9()Lcom/google/common/collect/MapMakerInternalMap$Segment; ()TS; maybeDrainReferenceQueues ()V 'Ljavax/annotation/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
StackMapTable :(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 Ljavax/annotation/Nullable; 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; RuntimeVisibleAnnotations tryDrainReferenceQueuesT 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;>;RUV &(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 e0W (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 v2 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 Q b )java/util/concurrent/atomic/AtomicInteger O P A B N H t u x yXY[ ^ _\ f]^_ 0java/util/concurrent/atomic/AtomicReferenceArray Q` ?a J H K L java/lang/AssertionError } ~bc ?d ? ? p ?ef a bg bUhi ;com/google/common/collect/MapMakerInternalMap$InternalEntry ?j @com/google/common/collect/MapMakerInternalMap$WeakValueReference ?k ?l G H ? ?mano ? bpqrstuv ? ? ? ? bwoxyz b b ? b I H f h o p ? e bb`