![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.collect.RegularImmutableSortedMultiset.class Maven / Gradle / Ivy
???? 4 ?
1com/google/common/collect/ImmutableSortedMultiset ()V
,com/google/common/collect/ImmutableSortedSet emptySet M(Ljava/util/Comparator;)Lcom/google/common/collect/RegularImmutableSortedSet; 8com/google/common/collect/RegularImmutableSortedMultiset
elementSet 5Lcom/google/common/collect/RegularImmutableSortedSet; ZERO_CUMULATIVE_COUNTS [J cumulativeCounts offset I length
" # $ % & 3com/google/common/collect/RegularImmutableSortedSet asList +()Lcom/google/common/collect/ImmutableList;
( ) * + , 'com/google/common/collect/ImmutableList get (I)Ljava/lang/Object;
. / 0 getCount (I)I
2 3 4 5 6 #com/google/common/collect/Multisets immutableEntry ?(Ljava/lang/Object;I)Lcom/google/common/collect/Multiset$Entry;
8 9 : ; < $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; > ? @ A B !java/util/function/ObjIntConsumer accept (Ljava/lang/Object;I)V
D E F isEmpty ()Z
H I J getEntry -(I)Lcom/google/common/collect/Multiset$Entry;
" L M N indexOf (Ljava/lang/Object;)I
P Q R S T !com/google/common/primitives/Ints
saturatedCast (J)I V W X Y Z #com/google/common/collect/BoundType CLOSED %Lcom/google/common/collect/BoundType;
" \ ] ^ headIndex (Ljava/lang/Object;Z)I
` a b getSubMultiset 7(II)Lcom/google/common/collect/ImmutableSortedMultiset;
" d e ^ tailIndex
8 g h i checkPositionIndexes (III)V
k l m
comparator ()Ljava/util/Comparator;
o p q
emptyMultiset K(Ljava/util/Comparator;)Lcom/google/common/collect/ImmutableSortedMultiset;
" s t u getSubSet 9(II)Lcom/google/common/collect/RegularImmutableSortedSet;
w x <(Lcom/google/common/collect/RegularImmutableSortedSet;[JII)V
z { | writeReplace ()Ljava/lang/Object;
~ ? tailMultiset l(Ljava/lang/Object;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/ImmutableSortedMultiset;
? ? ? headMultiset
? ? 0()Lcom/google/common/collect/ImmutableSortedSet;
? ? ? ? ? "com/google/common/collect/Ordering natural &()Lcom/google/common/collect/Ordering;
? ? (Ljava/util/Comparator;)V ? ? ? NATURAL_EMPTY_MULTISET 3Lcom/google/common/collect/ImmutableSortedMultiset; Signature 6Lcom/google/common/collect/ImmutableSortedMultiset<*>; :Lcom/google/common/collect/RegularImmutableSortedSet; RuntimeInvisibleAnnotations 1Lcom/google/common/annotations/VisibleForTesting; Code LineNumberTable LocalVariableTable this :Lcom/google/common/collect/RegularImmutableSortedMultiset; Ljava/util/Comparator; LocalVariableTypeTable ?Lcom/google/common/collect/RegularImmutableSortedMultiset; Ljava/util/Comparator<-TE;>; MethodParameters (Ljava/util/Comparator<-TE;>;)V A(Lcom/google/common/collect/RegularImmutableSortedSet;[JII)V index 2(I)Lcom/google/common/collect/Multiset$Entry; forEachEntry &(Ljava/util/function/ObjIntConsumer;)V i action #Ljava/util/function/ObjIntConsumer; )Ljava/util/function/ObjIntConsumer<-TE;>;
StackMapTable ,(Ljava/util/function/ObjIntConsumer<-TE;>;)V
firstEntry ,()Lcom/google/common/collect/Multiset$Entry; ? (com/google/common/collect/Multiset$Entry 1()Lcom/google/common/collect/Multiset$Entry; RuntimeVisibleAnnotations Ljavax/annotation/CheckForNull; lastEntry count element Ljava/lang/Object; "RuntimeVisibleParameterAnnotations size ()I J 5()Lcom/google/common/collect/ImmutableSortedSet;
upperBound boundType TE; ? java/lang/Object b(TE;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/ImmutableSortedMultiset;
lowerBound
subElementSet from to <(II)Lcom/google/common/collect/ImmutableSortedMultiset;
isPartialView 0Lcom/google/common/annotations/J2ktIncompatible; c(Ljava/lang/Object;Lcom/google/common/collect/BoundType;)Lcom/google/common/collect/SortedMultiset; ()Ljava/util/NavigableSet; ()Ljava/util/SortedSet; ()Ljava/util/Set; *()Lcom/google/common/collect/ImmutableSet; NLcom/google/common/collect/ImmutableSortedMultiset;
SourceFile #RegularImmutableSortedMultiset.java ;Lcom/google/common/collect/ElementTypesAreNonnullByDefault; /Lcom/google/common/annotations/GwtIncompatible; InnerClasses ? "com/google/common/collect/Multiset Entry 0 ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? *? *+? ?
*? ? *? *? ? ? 0 1 2 3 4 5 ? ? ? l ? ? ? ? l ? ? l ? ? x ? ? *? *+?
*,? *? *? ? ? 8 9 : ; <