com.google.common.collect.ImmutableSortedMultiset.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plantuml Show documentation
Show all versions of plantuml Show documentation
PlantUML is a component that allows to quickly write :
* sequence diagram,
* use case diagram,
* class diagram,
* activity diagram,
* component diagram,
* state diagram
* object diagram
???? 4 java/util/function/Function identity ()Ljava/util/function/Function;
applyAsInt $()Ljava/util/function/ToIntFunction;
1com/google/common/collect/ImmutableSortedMultiset toImmutableSortedMultiset s(Ljava/util/Comparator;Ljava/util/function/Function;Ljava/util/function/ToIntFunction;)Ljava/util/stream/Collector;
$com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; get 5(Ljava/util/Comparator;)Ljava/util/function/Supplier; accept `(Ljava/util/function/Function;Ljava/util/function/ToIntFunction;)Ljava/util/function/BiConsumer; ! " apply %()Ljava/util/function/BinaryOperator; $ ! % 5(Ljava/util/Comparator;)Ljava/util/function/Function; ' *java/util/stream/Collector$Characteristics ) * + , - java/util/stream/Collector of ?(Ljava/util/function/Supplier;Ljava/util/function/BiConsumer;Ljava/util/function/BinaryOperator;Ljava/util/function/Function;[Ljava/util/stream/Collector$Characteristics;)Ljava/util/stream/Collector; / 0 1 2 3 8com/google/common/collect/RegularImmutableSortedMultiset NATURAL_EMPTY_MULTISET 3Lcom/google/common/collect/ImmutableSortedMultiset;
5 6 7 , 8 ,com/google/common/collect/ImmutableSortedSet F(Ljava/lang/Comparable;)Lcom/google/common/collect/ImmutableSortedSet; : 3com/google/common/collect/RegularImmutableSortedSet
/ < = > <(Lcom/google/common/collect/RegularImmutableSortedSet;[JII)V
@ A B C D "com/google/common/collect/Ordering natural &()Lcom/google/common/collect/Ordering; F java/lang/Comparable
H I J K L java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List;
N O P copyOf _(Ljava/util/Comparator;Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSortedMultiset;
R S T U V com/google/common/collect/Lists newArrayListWithCapacity (I)Ljava/util/ArrayList;
X Y Z [ \ java/util/Collections addAll ,(Ljava/util/Collection;[Ljava/lang/Object;)Z
^ O _ _(Ljava/util/Comparator;Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableSortedMultiset; a 9com/google/common/collect/ImmutableSortedMultiset$Builder
` c = d (Ljava/util/Comparator;)V
` f [ g Q(Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableSortedMultiset$Builder;
` i j k build 5()Lcom/google/common/collect/ImmutableSortedMultiset;
m n o
comparator ()Ljava/util/Comparator; q r s t u java/util/Comparator equals (Ljava/lang/Object;)Z
w x y
isPartialView ()Z
{ | } entrySet *()Lcom/google/common/collect/ImmutableSet;
? ? K ? &com/google/common/collect/ImmutableSet +()Lcom/google/common/collect/ImmutableList;
? ? ? copyOfSortedEntries a(Ljava/util/Comparator;Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSortedMultiset;
R ? ? ? newArrayList +(Ljava/lang/Iterable;)Ljava/util/ArrayList;
? ? ? ? ? &com/google/common/collect/TreeMultiset create @(Ljava/util/Comparator;)Lcom/google/common/collect/TreeMultiset;
? ? ? [ ? #com/google/common/collect/Iterables -(Ljava/util/Collection;Ljava/lang/Iterable;)Z
? ? | ? ()Ljava/util/Set; ? m ? (com/google/common/collect/SortedMultiset ? ? ? ? ? ? y java/util/Collection isEmpty
? ? ?
emptyMultiset K(Ljava/util/Comparator;)Lcom/google/common/collect/ImmutableSortedMultiset; ? /com/google/common/collect/ImmutableList$Builder ? ? ? ? size ()I
? ? = ? (I)V ? ? ? ? iterator ()Ljava/util/Iterator; ? ? ? ? y java/util/Iterator hasNext ? ? ? ? next ()Ljava/lang/Object; ? (com/google/common/collect/Multiset$Entry ? ? ? ?
getElement
? ? ? ? add E(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder; ? ? ? ? getCount
? ? j ?
9 ? = ? B(Lcom/google/common/collect/ImmutableList;Ljava/util/Comparator;)V
? r ? java/lang/Object
/ c
? ? ? = ? +com/google/common/collect/ImmutableMultiset ()V
? ? ?
elementSet 0()Lcom/google/common/collect/ImmutableSortedSet;
5 m ? ? 3 descendingMultiset
?
@ ? ? ? from <(Ljava/util/Comparator;)Lcom/google/common/collect/Ordering;
@ ? ? D reverse ? ;com/google/common/collect/DescendingImmutableSortedMultiset
? ? = ? 6(Lcom/google/common/collect/ImmutableSortedMultiset;)V ? 'java/lang/UnsupportedOperationException
? ? q ? ? ? compare '(Ljava/lang/Object;Ljava/lang/Object;)I ? -Expected lowerBound <= upperBound but %s > %s
? ? ?
checkArgument :(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;)V
? ? ? tailMultiset l(Ljava/lang/Object;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/ImmutableSortedMultiset;
? ? ? headMultiset @com/google/common/collect/ImmutableSortedMultiset$SerializedForm
? = -(Lcom/google/common/collect/SortedMultiset;)V java/io/InvalidObjectException Use SerializedForm
=
(Ljava/lang/String;)V
subMultiset ?(Ljava/lang/Object;Lcom/google/common/collect/BoundType;Ljava/lang/Object;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/ImmutableSortedMultiset;
? k ? "com/google/common/collect/Multiset [ (Ljava/util/Collection;)Z ! java/util/function/ToIntFunction (Ljava/lang/Object;)I ? (Ljava/lang/Object;I)I Signature 8Lcom/google/common/collect/ImmutableSortedMultiset; RuntimeVisibleAnnotations 7Lcom/google/errorprone/annotations/concurrent/LazyInit; Ljavax/annotation/CheckForNull; serialVersionUID J
ConstantValue???????? 4(Ljava/util/Comparator;)Ljava/util/stream/Collector; Code LineNumberTable LocalVariableTable Ljava/util/Comparator; LocalVariableTypeTable Ljava/util/Comparator<-TE;>; MethodParameters ?(Ljava/util/Comparator<-TE;>;)Ljava/util/stream/Collector;>; elementFunction Ljava/util/function/Function;
countFunction "Ljava/util/function/ToIntFunction; 'Ljava/util/function/Function<-TT;+TE;>; (Ljava/util/function/ToIntFunction<-TT;>; ?(Ljava/util/Comparator<-TE;>;Ljava/util/function/Function<-TT;+TE;>;Ljava/util/function/ToIntFunction<-TT;>;)Ljava/util/stream/Collector;>; RuntimeVisibleTypeAnnotations 5Lorg/checkerframework/checker/nullness/qual/Nullable; P()Lcom/google/common/collect/ImmutableSortedMultiset; K(Ljava/lang/Comparable;)Lcom/google/common/collect/ImmutableSortedMultiset; e1 Ljava/lang/Comparable; 5Lcom/google/common/collect/RegularImmutableSortedSet; cumulativeCounts [J TE; :Lcom/google/common/collect/RegularImmutableSortedSet; ^;>(TE;)Lcom/google/common/collect/ImmutableSortedMultiset; a(Ljava/lang/Comparable;Ljava/lang/Comparable;)Lcom/google/common/collect/ImmutableSortedMultiset; e2 a;>(TE;TE;)Lcom/google/common/collect/ImmutableSortedMultiset; w(Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;)Lcom/google/common/collect/ImmutableSortedMultiset; e3 d;>(TE;TE;TE;)Lcom/google/common/collect/ImmutableSortedMultiset; ?(Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;)Lcom/google/common/collect/ImmutableSortedMultiset; e4 g;>(TE;TE;TE;TE;)Lcom/google/common/collect/ImmutableSortedMultiset; ?(Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;)Lcom/google/common/collect/ImmutableSortedMultiset; e5 j;>(TE;TE;TE;TE;TE;)Lcom/google/common/collect/ImmutableSortedMultiset; ?(Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;Ljava/lang/Comparable;[Ljava/lang/Comparable;)Lcom/google/common/collect/ImmutableSortedMultiset; e6 remaining [Ljava/lang/Comparable; I all Ljava/util/List; [TE; Ljava/util/List; q;>(TE;TE;TE;TE;TE;TE;[TE;)Lcom/google/common/collect/ImmutableSortedMultiset; L([Ljava/lang/Comparable;)Lcom/google/common/collect/ImmutableSortedMultiset; elements _;>([TE;)Lcom/google/common/collect/ImmutableSortedMultiset; I(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSortedMultiset; Ljava/lang/Iterable; naturalOrder $Lcom/google/common/collect/Ordering; Ljava/lang/Iterable<+TE;>; )Lcom/google/common/collect/Ordering; j(Ljava/lang/Iterable<+TE;>;)Lcom/google/common/collect/ImmutableSortedMultiset; I(Ljava/util/Iterator;)Lcom/google/common/collect/ImmutableSortedMultiset; Ljava/util/Iterator; Ljava/util/Iterator<+TE;>; j(Ljava/util/Iterator<+TE;>;)Lcom/google/common/collect/ImmutableSortedMultiset; ?(Ljava/util/Comparator<-TE;>;Ljava/util/Iterator<+TE;>;)Lcom/google/common/collect/ImmutableSortedMultiset; multiset
sortedCopy (Lcom/google/common/collect/TreeMultiset; -Lcom/google/common/collect/TreeMultiset;
StackMapTable ?(Ljava/util/Comparator<-TE;>;Ljava/lang/Iterable<+TE;>;)Lcom/google/common/collect/ImmutableSortedMultiset; copyOfSorted _(Lcom/google/common/collect/SortedMultiset;)Lcom/google/common/collect/ImmutableSortedMultiset; sortedMultiset *Lcom/google/common/collect/SortedMultiset; /Lcom/google/common/collect/SortedMultiset; (Lcom/google/common/collect/SortedMultiset;)Lcom/google/common/collect/ImmutableSortedMultiset; entry *Lcom/google/common/collect/Multiset$Entry; entries Ljava/util/Collection; elementsBuilder 1Lcom/google/common/collect/ImmutableList$Builder; i /Lcom/google/common/collect/Multiset$Entry; GLjava/util/Collection;>; 6Lcom/google/common/collect/ImmutableList$Builder;C ?(Ljava/util/Comparator<-TE;>;Ljava/util/Collection;>;)Lcom/google/common/collect/ImmutableSortedMultiset; l(Ljava/util/Comparator<-TE;>;)Lcom/google/common/collect/ImmutableSortedMultiset; this ()Ljava/util/Comparator<-TE;>; 5()Lcom/google/common/collect/ImmutableSortedSet; result :()Lcom/google/common/collect/ImmutableSortedMultiset; pollFirstEntry ,()Lcom/google/common/collect/Multiset$Entry;
Deprecated 1()Lcom/google/common/collect/Multiset$Entry; Ljava/lang/Deprecated; RuntimeInvisibleAnnotations 8Lcom/google/errorprone/annotations/CanIgnoreReturnValue; -Lcom/google/errorprone/annotations/DoNotCall; value +Always throws UnsupportedOperationException
pollLastEntry
upperBound boundType b(TE;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/ImmutableSortedMultiset;
lowerBound Ljava/lang/Object; lowerBoundType %Lcom/google/common/collect/BoundType; upperBoundType ?(TE;Lcom/google/common/collect/BoundType;TE;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/ImmutableSortedMultiset; orderedBy S(Ljava/util/Comparator;)Lcom/google/common/collect/ImmutableSortedMultiset$Builder; Ljava/util/Comparator; s(Ljava/util/Comparator;)Lcom/google/common/collect/ImmutableSortedMultiset$Builder; reverseOrder =()Lcom/google/common/collect/ImmutableSortedMultiset$Builder; `;>()Lcom/google/common/collect/ImmutableSortedMultiset$Builder; writeReplace 0Lcom/google/common/annotations/J2ktIncompatible;
readObject (Ljava/io/ObjectInputStream;)V stream Ljava/io/ObjectInputStream;
Exceptions toImmutableMultiset ()Ljava/util/stream/Collector; l()Ljava/util/stream/Collector;>; Use toImmutableSortedMultiset. ](Ljava/util/function/Function;Ljava/util/function/ToIntFunction;)Ljava/util/stream/Collector; ?(Ljava/util/function/Function<-TT;+TE;>;Ljava/util/function/ToIntFunction<-TT;>;)Ljava/util/stream/Collector;>; builder X()Lcom/google/common/collect/ImmutableSortedMultiset$Builder; Use naturalOrder. G(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMultiset; S(TE;)Lcom/google/common/collect/ImmutableSortedMultiset; LElements must be Comparable. (Or, pass a Comparator to orderedBy or copyOf.) Y(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMultiset; V(TE;TE;)Lcom/google/common/collect/ImmutableSortedMultiset; k(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMultiset; Y(TE;TE;TE;)Lcom/google/common/collect/ImmutableSortedMultiset; }(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMultiset; \(TE;TE;TE;TE;)Lcom/google/common/collect/ImmutableSortedMultiset; ?(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMultiset; _(TE;TE;TE;TE;TE;)Lcom/google/common/collect/ImmutableSortedMultiset; ?(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMultiset; [Ljava/lang/Object; f(TE;TE;TE;TE;TE;TE;[TE;)Lcom/google/common/collect/ImmutableSortedMultiset; H([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedMultiset; [TZ; T([TZ;)Lcom/google/common/collect/ImmutableSortedMultiset; c(Ljava/lang/Object;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/SortedMultiset; ?(Ljava/lang/Object;Lcom/google/common/collect/BoundType;Ljava/lang/Object;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/SortedMultiset; ,()Lcom/google/common/collect/SortedMultiset; ()Ljava/util/NavigableSet; ()Ljava/util/SortedSet; "lambda$toImmutableSortedMultiset$4 o(Ljava/util/Comparator;Lcom/google/common/collect/Multiset;)Lcom/google/common/collect/ImmutableSortedMultiset; $Lcom/google/common/collect/Multiset; "lambda$toImmutableSortedMultiset$3 n(Lcom/google/common/collect/Multiset;Lcom/google/common/collect/Multiset;)Lcom/google/common/collect/Multiset; multiset1 multiset2 "lambda$toImmutableSortedMultiset$2 x(Ljava/util/function/Function;Ljava/util/function/ToIntFunction;Lcom/google/common/collect/Multiset;Ljava/lang/Object;)V t "lambda$toImmutableSortedMultiset$1 <(Ljava/util/Comparator;)Lcom/google/common/collect/Multiset; "lambda$toImmutableSortedMultiset$0 e wLcom/google/common/collect/ImmutableMultiset;Lcom/google/common/collect/SortedMultiset;
SourceFile ImmutableSortedMultiset.java ;Lcom/google/common/collect/ElementTypesAreNonnullByDefault; /Lcom/google/common/annotations/GwtIncompatible; BootstrapMethods?
?? ??
???? &()Lcom/google/common/collect/Multiset;? '(Ljava/lang/Object;Ljava/lang/Object;)V?
???? 9(Lcom/google/common/collect/Multiset;Ljava/lang/Object;)V? 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;?
???? ?
???? Y(Lcom/google/common/collect/Multiset;)Lcom/google/common/collect/ImmutableSortedMultiset;?
?? "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 Characteristics Builder 'com/google/common/collect/ImmutableList Entry SerializedForm %java/lang/invoke/MethodHandles$Lookup
java/lang/invoke/MethodHandles Lookup! ? ? ? ? 3 ! "#
$ % &' ( ) 6 + , I
*? ? ? ? - I.
n/ 0
n1 2 n ! 3 , ? /*? W+? W,? W*? +,? ? *? # ? &? (? - \ ]
^ _. / n/ /45 /67 0 / n1 /48 /69 2
n 4 6 ! :;
<