com.google.common.collect.ImmutableMultiset$Builder.class Maven / Gradle / Ivy
???? 4 ?
,com/google/common/collect/LinkedHashMultiset create 0()Lcom/google/common/collect/LinkedHashMultiset;
3com/google/common/collect/ImmutableMultiset$Builder '(Lcom/google/common/collect/Multiset;)V
5com/google/common/collect/ImmutableCollection$Builder ()V contents $Lcom/google/common/collect/Multiset;
$com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; ! "com/google/common/collect/Multiset add (Ljava/lang/Object;)Z
# $ L([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableCollection$Builder; & ' (Ljava/lang/Object;I)I ) * ' setCount
, - . / 0 #com/google/common/collect/Multisets cast :(Ljava/lang/Iterable;)Lcom/google/common/collect/Multiset; 2 3 4 accept Z(Lcom/google/common/collect/ImmutableMultiset$Builder;)Ljava/util/function/ObjIntConsumer; 6 7 8 forEachEntry &(Ljava/util/function/ObjIntConsumer;)V
: ; < addAll M(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableCollection$Builder;
> ; ? M(Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableCollection$Builder;
A B C D E +com/google/common/collect/ImmutableMultiset copyOf C(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableMultiset; G H I isEmpty ()Z
A K L M of /()Lcom/google/common/collect/ImmutableMultiset; O P Q entrySet ()Ljava/util/Set;
S T U V 4com/google/common/collect/JdkBackedImmutableMultiset E(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableMultiset;
X Y M build
[ ; \ K(Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableMultiset$Builder;
^ ; _ K(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableMultiset$Builder;
a b J([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMultiset$Builder;
d e I(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMultiset$Builder; Signature )Lcom/google/common/collect/Multiset; Code LineNumberTable LocalVariableTable this 5Lcom/google/common/collect/ImmutableMultiset$Builder; LocalVariableTypeTable :Lcom/google/common/collect/ImmutableMultiset$Builder; MethodParameters ,(Lcom/google/common/collect/Multiset;)V element Ljava/lang/Object; TE; ?(TE;)Lcom/google/common/collect/ImmutableMultiset$Builder; RuntimeInvisibleAnnotations 8Lcom/google/errorprone/annotations/CanIgnoreReturnValue; elements [Ljava/lang/Object; [TE; @([TE;)Lcom/google/common/collect/ImmutableMultiset$Builder; addCopies J(Ljava/lang/Object;I)Lcom/google/common/collect/ImmutableMultiset$Builder; occurrences I @(TE;I)Lcom/google/common/collect/ImmutableMultiset$Builder; count multiset Ljava/lang/Iterable; *Lcom/google/common/collect/Multiset<+TE;>; Ljava/lang/Iterable<+TE;>;
StackMapTable V(Ljava/lang/Iterable<+TE;>;)Lcom/google/common/collect/ImmutableMultiset$Builder; Ljava/util/Iterator; Ljava/util/Iterator<+TE;>; V(Ljava/util/Iterator<+TE;>;)Lcom/google/common/collect/ImmutableMultiset$Builder; 4()Lcom/google/common/collect/ImmutableMultiset; buildJdkBacked 1Lcom/google/common/annotations/VisibleForTesting; 1()Lcom/google/common/collect/ImmutableCollection; K(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableCollection$Builder; lambda$addAll$0 (Ljava/lang/Object;I)V e n RLcom/google/common/collect/ImmutableCollection$Builder;
SourceFile ImmutableMultiset.java BootstrapMethods ? ?
? ? ? ?
? ? ? ? ? "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; InnerClasses Builder ? -com/google/common/collect/ImmutableCollection ? %java/lang/invoke/MethodHandles$Lookup ? java/lang/invoke/MethodHandles Lookup ! f g h H *? ? ? i
? ? j k l m k n h b
*?
*+? ? i ? ? ? j
k l
m
k n
g o f p e h d *? +? ? W*? i
? ? j k l q r m k n q s o q f t u v ? b h \ *+? "W*? i
j k l w x m k n w y o w f z u v { | h o *? +? ? % W*? i
j k l q r } ~ m k n q s o q } f u v * | h o *? +? ? ( W*? i
% &