
com.google.common.collect.ConcurrentHashMultiset.class Maven / Gradle / Ivy
???? 2? ? ? ?
?
?
?
? ?
? ?
V ? G ?
? ?
? ? ?
? G ? ? ?
?
?
G
) ?
)!
)"#
)$
(% G&
'( G) ?
*+ ? G,-
9./
;0 G 1
>23
@4 G5
67
68
9:
9;< Z=
>?
V@
VA
VB
V
VC
VD
VE
VF
VG
V
V ?
VHIJ EntrySet InnerClassesK FieldSettersHolder countMap $Ljava/util/concurrent/ConcurrentMap; Signature TLjava/util/concurrent/ConcurrentMap; serialVersionUID J
ConstantValue create 4()Lcom/google/common/collect/ConcurrentHashMultiset; Code LineNumberTable O()Lcom/google/common/collect/ConcurrentHashMultiset; H(Ljava/lang/Iterable;)Lcom/google/common/collect/ConcurrentHashMultiset; LocalVariableTable elements Ljava/lang/Iterable; multiset 2Lcom/google/common/collect/ConcurrentHashMultiset; LocalVariableTypeTable Ljava/lang/Iterable<+TE;>; 7Lcom/google/common/collect/ConcurrentHashMultiset; i(Ljava/lang/Iterable<+TE;>;)Lcom/google/common/collect/ConcurrentHashMultiset; X(Lcom/google/common/collect/MapMaker;)Lcom/google/common/collect/ConcurrentHashMultiset; mapMaker $Lcom/google/common/collect/MapMaker; s(Lcom/google/common/collect/MapMaker;)Lcom/google/common/collect/ConcurrentHashMultiset; RuntimeInvisibleAnnotations $Lcom/google/common/annotations/Beta; '(Ljava/util/concurrent/ConcurrentMap;)V this W(Ljava/util/concurrent/ConcurrentMap;)V 1Lcom/google/common/annotations/VisibleForTesting; count (Ljava/lang/Object;)I element Ljava/lang/Object; existingCounter +Ljava/util/concurrent/atomic/AtomicInteger;
StackMapTable ? "RuntimeVisibleParameterAnnotations Ljavax/annotation/Nullable; size ()I value i$ Ljava/util/Iterator; sumL toArray ()[Ljava/lang/Object; (([Ljava/lang/Object;)[Ljava/lang/Object; array [Ljava/lang/Object; [TT; ([TT;)[TT; snapshot ()Ljava/util/List; i I entry Entry *Lcom/google/common/collect/Multiset$Entry; list Ljava/util/List; TE; /Lcom/google/common/collect/Multiset$Entry; Ljava/util/List;MN ()Ljava/util/List; add (Ljava/lang/Object;I)I newValue overflow Ljava/lang/ArithmeticException;
newCounter oldValue occurrences (TE;I)I remove
removeExactly (Ljava/lang/Object;I)Z setCount (Ljava/lang/Object;II)Z expectedOldCount newCount (TE;II)Z createElementSet ()Ljava/util/Set; delegate Ljava/util/Set; Ljava/util/Set; ()Ljava/util/Set; createEntrySet B()Ljava/util/Set;>; distinctElements isEmpty ()Z
entryIterator ()Ljava/util/Iterator; readOnlyIterator ELjava/util/Iterator;>; G()Ljava/util/Iterator;>; clear ()V writeObject (Ljava/io/ObjectOutputStream;)V stream Ljava/io/ObjectOutputStream;
ExceptionsO
readObject (Ljava/io/ObjectInputStream;)V Ljava/io/ObjectInputStream; deserializedCountMap ;P toString ()Ljava/lang/String; hashCode equals (Ljava/lang/Object;)Z x0 entrySet
elementSet retainAll (Ljava/util/Collection;)Z Ljava/util/Collection; removeAll addAll iterator contains
access$100 X(Lcom/google/common/collect/ConcurrentHashMultiset;)Ljava/util/concurrent/ConcurrentMap; ]Lcom/google/common/collect/AbstractMultiset;Ljava/io/Serializable;
SourceFile ConcurrentHashMultiset.java ] ^ 0com/google/common/collect/ConcurrentHashMultiset &java/util/concurrent/ConcurrentHashMap { ? { | f gQ ?RSTU ? ?VWXYZ[ )java/util/concurrent/atomic/AtomicInteger\ ?]^_ ? ?L` ?abcde ? ?M ? ? ? ? ? ?fgh ? ?ij (com/google/common/collect/Multiset$Entrykbl ? ? ?mn ? ?
occurencesopq {rstuvwxy java/lang/ArithmeticException "java/lang/IllegalArgumentException java/lang/StringBuilder Overflow adding z{z| occurrences to a count of ? ? {}~??w ???? oldCount? ? 2com/google/common/collect/ConcurrentHashMultiset$1 {? 9com/google/common/collect/ConcurrentHashMultiset$EntrySet {? 2com/google/common/collect/ConcurrentHashMultiset$2 {? 2com/google/common/collect/ConcurrentHashMultiset$3 {? ? ??? ? ???? ? ?b "java/util/concurrent/ConcurrentMap????? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? *com/google/common/collect/AbstractMultiset java/io/Serializable Ccom/google/common/collect/ConcurrentHashMultiset$FieldSettersHolder java/util/Iterator java/util/List java/lang/Object java/io/IOException java/lang/ClassNotFoundException #com/google/common/collect/Iterables -(Ljava/util/Collection;Ljava/lang/Iterable;)Z "com/google/common/collect/MapMaker makeMap &()Ljava/util/concurrent/ConcurrentMap; $com/google/common/base/Preconditions
checkArgument (Z)V com/google/common/collect/Maps safeGet 5(Ljava/util/Map;Ljava/lang/Object;)Ljava/lang/Object; get values ()Ljava/util/Collection; java/util/Collection hasNext next ()Ljava/lang/Object; !com/google/common/primitives/Ints
saturatedCast (J)I com/google/common/collect/Lists newArrayListWithExpectedSize (I)Ljava/util/ArrayList;
java/util/Set "com/google/common/collect/Multiset
getElement getCount checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; .com/google/common/collect/CollectPreconditions
checkPositive (ILjava/lang/String;)V (I)V putIfAbsent 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; com/google/common/math/IntMath
checkedAdd (II)I
compareAndSet (II)Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (I)Ljava/lang/StringBuilder; (Ljava/lang/String;)V replace 9(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Z java/lang/Math max '(Ljava/lang/Object;Ljava/lang/Object;)Z checkNonnegative (ILjava/lang/String;)I keySet D(Lcom/google/common/collect/ConcurrentHashMultiset;Ljava/util/Set;)V i(Lcom/google/common/collect/ConcurrentHashMultiset;Lcom/google/common/collect/ConcurrentHashMultiset$1;)V 5(Lcom/google/common/collect/ConcurrentHashMultiset;)V I(Lcom/google/common/collect/ConcurrentHashMultiset;Ljava/util/Iterator;)V java/io/ObjectOutputStream defaultWriteObject (Ljava/lang/Object;)V java/io/ObjectInputStream defaultReadObject COUNT_MAP_FIELD_SETTER FieldSetter 5Lcom/google/common/collect/Serialization$FieldSetter;? 3com/google/common/collect/Serialization$FieldSetter set '(Ljava/lang/Object;Ljava/lang/Object;)V 'com/google/common/collect/Serialization 1 V W ? ] ^ _ ` a b c d # f g h ' ? Y? Y? ? ? i X _ j f k h d ? L+*? W+? i d e
f l m n o p q m r o s _ t f u h 6 ? Y*? ? ? i ? l v w _ x y z { | h o *? +?
? *+? ? i ? ?
? ? l } p ] ^ q } s ] ` _ ~ y ? ? h } *? +? ?
M,? ? ,? ? i
? ? l } p ? ?
? ? q } s ?
? ?C ? ? ? ? h ? 6 @*? ? ? N-? ? -? ?
:? ?a@???? ? i ? ? % ? . ? 1 ? l * % ? ? ? ? 6 } p 4 ? b q 6 } s ? ? ?? ? ? h F
*? ? ? i ? l
} p q
} s ? ? h [ *? +? ? i ? l } p ? ? q } s ? ? _ ? ? ? h N*? ? L*? ? M,? ? 4,? ? N-? :-? 6? +? W???????+? i " ? ? % ? - ? : ? C ? I ? L ? l > 5 ? ? - ? ? % $ ? ? : ? ? N } p F ? ? q * - ? ? % $ ? ? N } s F ? ? ? ? ? ?? " ? ?? ? _ ? ? ? h ? ?+? W? *+? ?!? "*? +? ?
N-? *? +?
Y? #? $ ?
N-? ?-? 6? C? %6-? &? ?? U:? (Y? )Y? *+? ,? -.? ,? -? /? 0??
Y? #:*? +? $ ? *? +-? 1 ? ??????[ L a e ' i Z ? ? ? ? ? ! ? % ? ; ? ? ? A ? G ? L ? T ? _ ? b ? e ? g ? ? ? ? ? ? ? ? ? l R T ? ? g % ? ? ? ! ? ? G p ? ? ! ? ? ? ? } p ? ? ? ? ? ? q ? } s ? ? ? ? ? + ?? B ?&? ( ?? ? _ ? ? ? h # ^? *+? ?!? "*? +? ?
N-? ?-? 6? /d? 26-? &? ? *? +-? 3 W?? ???? i B
" # $ "' (( -) 7* B+ G. S0 V2 Y3 [5 l > 7 ? ? ( 3 ? ? ^ } p ^ ? ? ^ ? ? B ? ? q ^ } s ?
? ?? 0? ? ? ? ? ? h S? ?!? "*? +? ?
N-? ?-? 6? ?d6-? &? ? *? +-? 3 W???? i > E F H J K L O $P *Q ,S 2T =U BX NZ P\ l > $ , ? ? 2 ? ? S } p S ? ? S ? ? ; ? ? q S } s ? ? ??
? !? ? ? ? ? h ? ?+? W4? 5W*? +? ?
N-? %? ?*? +?
Y? #? $ ?
N-? ?-? 6? 7? ??
Y? #:*? +? $ ? *? +-? 1 ? ?? #-? &? ? *? +-? 3 W??????o i ^ h i k l m n "p 8q <r >y Dz I{ M| O~ Y x? z? }? ?? ?? ?? ?? ?? l > Y ! ? ? D V ? ? ? ? ? ? } p ? ? ? ? ? ? q ? } s ? ? ? ?
? ?? ? ( ?? ? ? _ ? ? ? h ? ?+? W6? 5W7? 5W*? +? ?
:? *? ?? ?*? +?
Y? #? $ ? ? ?? 6? i? F? *? +? 3 W??
Y? #:*? +? $ ? *? +? 1 ? ? ?? &? ? *? +? 3 W?? i ^ ? ? ? ? ? %? )? +? /? 1? L? S? Y? ^? b? o? q? {? ?? ?? ?? ?? ?? l H { &