com.google.common.collect.Multisets.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jelly Show documentation
Show all versions of jelly Show documentation
Java Functional Metaprogramming API
The newest version!
???? 2e
@ ? ? ?
? ? ?
? ? ?
? ?
? ? ?
? ? ?
?
?
?
?
!" ? ?#
7$
%& ?'
()
*+
= ?,- MultisetIteratorImpl InnerClasses. EntrySet/
ElementSet0
AbstractEntry FilteredMultiset ImmutableEntry UnmodifiableMultiset DECREASING_COUNT_ORDERING $Lcom/google/common/collect/Ordering; Signature Entry SLcom/google/common/collect/Ordering;>; ()V Code LineNumberTable LocalVariableTable this %Lcom/google/common/collect/Multisets; unmodifiableMultiset J(Lcom/google/common/collect/Multiset;)Lcom/google/common/collect/Multiset; result $Lcom/google/common/collect/Multiset; multiset LocalVariableTypeTable )Lcom/google/common/collect/Multiset; *Lcom/google/common/collect/Multiset<+TE;>;
StackMapTable k(Lcom/google/common/collect/Multiset<+TE;>;)Lcom/google/common/collect/Multiset; S(Lcom/google/common/collect/ImmutableMultiset;)Lcom/google/common/collect/Multiset; -Lcom/google/common/collect/ImmutableMultiset; 2Lcom/google/common/collect/ImmutableMultiset;
Deprecated s(Lcom/google/common/collect/ImmutableMultiset;)Lcom/google/common/collect/Multiset; RuntimeVisibleAnnotations Ljava/lang/Deprecated; unmodifiableSortedMultiset V(Lcom/google/common/collect/SortedMultiset;)Lcom/google/common/collect/SortedMultiset; sortedMultiset *Lcom/google/common/collect/SortedMultiset; /Lcom/google/common/collect/SortedMultiset; v(Lcom/google/common/collect/SortedMultiset;)Lcom/google/common/collect/SortedMultiset; RuntimeInvisibleAnnotations $Lcom/google/common/annotations/Beta; immutableEntry ?(Ljava/lang/Object;I)Lcom/google/common/collect/Multiset$Entry; e Ljava/lang/Object; n I TE; K(TE;I)Lcom/google/common/collect/Multiset$Entry; "RuntimeVisibleParameterAnnotations Ljavax/annotation/Nullable; filter l(Lcom/google/common/collect/Multiset;Lcom/google/common/base/Predicate;)Lcom/google/common/collect/Multiset; filtered 6Lcom/google/common/collect/Multisets$FilteredMultiset; combinedPredicate "Lcom/google/common/base/Predicate;
unfiltered predicate ;Lcom/google/common/collect/Multisets$FilteredMultiset; 'Lcom/google/common/base/Predicate; (Lcom/google/common/base/Predicate<-TE;>; ?(Lcom/google/common/collect/Multiset;Lcom/google/common/base/Predicate<-TE;>;)Lcom/google/common/collect/Multiset; #Ljavax/annotation/CheckReturnValue; inferDistinctElements (Ljava/lang/Iterable;)I elements Ljava/lang/Iterable; Ljava/lang/Iterable<*>; (Ljava/lang/Iterable<*>;)I union n(Lcom/google/common/collect/Multiset;Lcom/google/common/collect/Multiset;)Lcom/google/common/collect/Multiset; multiset1 multiset2 ?(Lcom/google/common/collect/Multiset<+TE;>;Lcom/google/common/collect/Multiset<+TE;>;)Lcom/google/common/collect/Multiset; intersection 'Lcom/google/common/collect/Multiset<*>; ?(Lcom/google/common/collect/Multiset;Lcom/google/common/collect/Multiset<*>;)Lcom/google/common/collect/Multiset; sum
difference containsOccurrences K(Lcom/google/common/collect/Multiset;Lcom/google/common/collect/Multiset;)Z
superCount entry *Lcom/google/common/collect/Multiset$Entry; i$ Ljava/util/Iterator;
superMultiset subMultiset -Lcom/google/common/collect/Multiset$Entry<*>;1 Q(Lcom/google/common/collect/Multiset<*>;Lcom/google/common/collect/Multiset<*>;)Z retainOccurrences multisetToModify multisetToRetain retainOccurrencesImpl retainCount occurrencesToRetain
entryIterator changed Z /Lcom/google/common/collect/Multiset$Entry; ELjava/util/Iterator;>; i(Lcom/google/common/collect/Multiset;Lcom/google/common/collect/Multiset<*>;)Z removeOccurrences ;(Lcom/google/common/collect/Multiset;Ljava/lang/Iterable;)Z o occurrencesToRemove A(Lcom/google/common/collect/Multiset<*>;Ljava/lang/Iterable<*>;)Z removeCount DLjava/util/Iterator<+Lcom/google/common/collect/Multiset$Entry<*>;>;
equalsImpl 9(Lcom/google/common/collect/Multiset;Ljava/lang/Object;)Z that object ? <(Lcom/google/common/collect/Multiset<*>;Ljava/lang/Object;)Z
addAllImpl =(Lcom/google/common/collect/Multiset;Ljava/util/Collection;)Z self Ljava/util/Collection; 0Lcom/google/common/collect/Multiset$Entry<+TE;>; Ljava/util/Collection<+TE;>; ^(Lcom/google/common/collect/Multiset;Ljava/util/Collection<+TE;>;)Z
removeAllImpl elementsToRemove
collection Ljava/util/Collection<*>;2 C(Lcom/google/common/collect/Multiset<*>;Ljava/util/Collection<*>;)Z
retainAllImpl elementsToRetain setCountImpl :(Lcom/google/common/collect/Multiset;Ljava/lang/Object;I)I element count oldCount delta F(Lcom/google/common/collect/Multiset;TE;I)I ;(Lcom/google/common/collect/Multiset;Ljava/lang/Object;II)Z newCount G(Lcom/google/common/collect/Multiset;TE;II)Z iteratorImpl :(Lcom/google/common/collect/Multiset;)Ljava/util/Iterator; Z(Lcom/google/common/collect/Multiset;)Ljava/util/Iterator; sizeImpl '(Lcom/google/common/collect/Multiset;)I size J *(Lcom/google/common/collect/Multiset<*>;)I cast :(Ljava/lang/Iterable;)Lcom/google/common/collect/Multiset; iterable Ljava/lang/Iterable; Z(Ljava/lang/Iterable;)Lcom/google/common/collect/Multiset; copyHighestCountFirst S(Lcom/google/common/collect/Multiset;)Lcom/google/common/collect/ImmutableMultiset;
sortedEntries Ljava/util/List; ALjava/util/List;>; s(Lcom/google/common/collect/Multiset;)Lcom/google/common/collect/ImmutableMultiset;
SourceFile Multisets.java -Lcom/google/common/annotations/GwtCompatible; R S 8com/google/common/collect/Multisets$UnmodifiableMultiset +com/google/common/collect/ImmutableMultiset345 "com/google/common/collect/Multiset R6 4com/google/common/collect/UnmodifiableSortedMultiset (com/google/common/collect/SortedMultiset R7 2com/google/common/collect/Multisets$ImmutableEntry R8 4com/google/common/collect/Multisets$FilteredMultiset ? ?9:; ? \ R<=>? ?@ %com/google/common/collect/Multisets$1 RA %com/google/common/collect/Multisets$2 %com/google/common/collect/Multisets$3 %com/google/common/collect/Multisets$4B>CD1EFGH (com/google/common/collect/Multiset$EntryIH ?JK@ ? ?L SMN ? ?OLPLN2QF ? ?RNSTUVWXWYZ[ 8com/google/common/collect/Multisets$MultisetIteratorImpl R\]^_ M N`abcd %com/google/common/collect/Multisets$5 #com/google/common/collect/Multisets java/lang/Object ,com/google/common/collect/Multisets$EntrySet .com/google/common/collect/Multisets$ElementSet 1com/google/common/collect/Multisets$AbstractEntry java/util/Iterator java/util/Collection $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; '(Lcom/google/common/collect/Multiset;)V -(Lcom/google/common/collect/SortedMultiset;)V (Ljava/lang/Object;I)V !com/google/common/base/Predicates and h(Lcom/google/common/base/Predicate;Lcom/google/common/base/Predicate;)Lcom/google/common/base/Predicate; I(Lcom/google/common/collect/Multiset;Lcom/google/common/base/Predicate;)V
elementSet ()Ljava/util/Set;
java/util/Set ()I K(Lcom/google/common/collect/Multiset;Lcom/google/common/collect/Multiset;)V entrySet iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object;
getElement (Ljava/lang/Object;)I getCount remove setCount (Ljava/lang/Object;I)I java/lang/Iterable (Ljava/lang/Object;)Z isEmpty add #com/google/common/collect/Iterators addAll -(Ljava/util/Collection;Ljava/util/Iterator;)Z removeAll (Ljava/util/Collection;)Z retainAll .com/google/common/collect/CollectPreconditions checkNonnegative (ILjava/lang/String;)I ;(Lcom/google/common/collect/Multiset;Ljava/util/Iterator;)V !com/google/common/primitives/Ints
saturatedCast (J)I "com/google/common/collect/Ordering immutableSortedCopy ?(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList; copyFromEntries E(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableMultiset; 1 ? @ M N O Q R S T / *? ? U : V W X Y Z T ? !*? ?
*? ? *L+?? Y*? ? ? ? U J M N P V [ \ ! ] \ ^ [ _ ! ] ` a O b Y c T D *? ? ? U [ V ] d ^ ] e f O g h i j k T K ? Y*? ? ? ? U ? V l m ^ l n O o p q r s T P
?
Y*? ? U ? V
t u
v w ^
t x O y z { | } T ? ,*? ? *? M,?
+? N? Y,? -? ?? Y*+? ? U "! V * ~
? ? , ? \ , ? ? ^ * ~ ?
? ? , ? _ , ? ? a " O ? h ? p q ? ? T f *? ? *? ? ? ?? U v w y V ? ? ^ ? ? a O ? ? ? T l *? W+? W? Y*+? ? U ? ?
? V ? \ ? \ ^ ? ` ? ` O ? p q ? ? T l *? W+? W? Y*+? ? U ? ?
? V ? \ ? \ ^ ? _ ? ? O ? ? ? T l *? W+? W? Y*+? ? U
V ? \ ? \ ^ ? ` ? ` O ? p q ? ? T l *? W+? W? Y*+? ? U c d
g V ? \ ? \ ^ ? _ ? ? O ? p q ? ? T ? I*? W+? W+? ? M,? ? +,? ? N*-? ? ! 6-? " ? ????? U " ? ?
? )? 7? B? D? G? V 4 7
? w ) ? ? 1 ? ? I ? \ I ? \ ^ ) ? ? I ? ? I ? ? a ? ?-? O ? ? ? T V *+? #? U ? V ? \ ? \ ^ ? ? ? ? O ?
? ? T L n*? W+? W*? ? $ M>,? ? N,? ? :+? ? ! 6? ,? % >? !? " ? *? ? & W>???? U > ? ?
? ? ? !? ,? ;? @? F? K? W? g? i? l? V > , = ? ? ; . ? w n ? \ n ? \ X ? ? V ? ? ^ * , = ? ? n ? _ n ? ? X ? ? a ? ?? 2 ?? O ? ? ? T ? D+? ? *+? ? '?*? W+? W=+? ( N-? ? -? :*? ) ?=???? U &