com.google.common.collect.Ordering.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!
???? 2? ? ? ? ? ?
M
<
!"
#
$
%
&' '( ') z
*+
,-
*.
/0
1 ?
23
45????
6
/7
8(
89:;
8<=
>
?@
*A
?B
,C
D
E
FG
H
4I
/JK IncomparableValueException InnerClassesL ArbitraryOrderingM ArbitraryOrderingHolder LEFT_IS_GREATER I
ConstantValue RIGHT_IS_GREATER???? natural &()Lcom/google/common/collect/Ordering; Code LineNumberTable Signature F()Lcom/google/common/collect/Ordering; RuntimeInvisibleAnnotations -Lcom/google/common/annotations/GwtCompatible; serializable from <(Ljava/util/Comparator;)Lcom/google/common/collect/Ordering; LocalVariableTable
comparator Ljava/util/Comparator; LocalVariableTypeTable Ljava/util/Comparator;
StackMapTable ? \(Ljava/util/Comparator;)Lcom/google/common/collect/Ordering; J(Lcom/google/common/collect/Ordering;)Lcom/google/common/collect/Ordering; ordering $Lcom/google/common/collect/Ordering; )Lcom/google/common/collect/Ordering;
Deprecated j(Lcom/google/common/collect/Ordering;)Lcom/google/common/collect/Ordering; RuntimeVisibleAnnotations Ljava/lang/Deprecated; explicit 6(Ljava/util/List;)Lcom/google/common/collect/Ordering;
valuesInOrder Ljava/util/List; Ljava/util/List; V(Ljava/util/List;)Lcom/google/common/collect/Ordering; K(Ljava/lang/Object;[Ljava/lang/Object;)Lcom/google/common/collect/Ordering;
leastValue Ljava/lang/Object; remainingValuesInOrder [Ljava/lang/Object; TT; [TT; H(TT;[TT;)Lcom/google/common/collect/Ordering; allEqual :()Lcom/google/common/collect/Ordering;
usingToString arbitrary ()V this reverse 2()Lcom/google/common/collect/Ordering;
nullsFirst nullsLast
onResultOf G(Lcom/google/common/base/Function;)Lcom/google/common/collect/Ordering; function !Lcom/google/common/base/Function; *Lcom/google/common/base/Function; k(Lcom/google/common/base/Function;)Lcom/google/common/collect/Ordering; onKeysO Entry L()Lcom/google/common/collect/Ordering;>; compound secondaryComparator Ljava/util/Comparator<-TU;>; N(Ljava/util/Comparator<-TU;>;)Lcom/google/common/collect/Ordering; :(Ljava/lang/Iterable;)Lcom/google/common/collect/Ordering; comparators Ljava/lang/Iterable; 3Ljava/lang/Iterable<+Ljava/util/Comparator<-TT;>;>; t(Ljava/lang/Iterable<+Ljava/util/Comparator<-TT;>;>;)Lcom/google/common/collect/Ordering; lexicographical H()Lcom/google/common/collect/Ordering;>; compare '(Ljava/lang/Object;Ljava/lang/Object;)I (TT;TT;)I "RuntimeVisibleParameterAnnotations Ljavax/annotation/Nullable; min ((Ljava/util/Iterator;)Ljava/lang/Object; iterator Ljava/util/Iterator; minSoFar Ljava/util/Iterator; TE;= %(Ljava/util/Iterator;)TE; ((Ljava/lang/Iterable;)Ljava/lang/Object; iterable Ljava/lang/Iterable; %(Ljava/lang/Iterable;)TE; 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; a b (TE;TE;)TE; ](Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; r arr$ len$ i$ c rest [TE; (TE;TE;TE;[TE;)TE; max maxSoFar leastOf '(Ljava/lang/Iterable;I)Ljava/util/List; array
collection Ljava/util/Collection; k Ljava/util/Collection;' 8(Ljava/lang/Iterable;I)Ljava/util/List; '(Ljava/util/Iterator;I)Ljava/util/List; list Ljava/util/ArrayList; e
pivotIndex
pivotNewIndex i left right minThresholdPosition elements bufferCap buffer threshold
bufferSize Ljava/util/ArrayList;PQ 8(Ljava/util/Iterator;I)Ljava/util/List; partition ([Ljava/lang/Object;III)I values
pivotValue
storeIndex ([TE;III)I
greatestOf
sortedCopy &(Ljava/lang/Iterable;)Ljava/util/List; 7(Ljava/lang/Iterable;)Ljava/util/List; immutableSortedCopy ?(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList;R P(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList; isOrdered (Ljava/lang/Iterable;)Z next prev it Ljava/lang/Iterable<+TT;>; Ljava/util/Iterator<+TT;>; (Ljava/lang/Iterable<+TT;>;)Z isStrictlyOrdered binarySearch %(Ljava/util/List;Ljava/lang/Object;)I
sortedList key Ljava/util/List<+TT;>; (Ljava/util/List<+TT;>;TT;)I CLjava/lang/Object;Ljava/util/Comparator;
SourceFile
Ordering.javaST PUVW "com/google/common/collect/Ordering ,com/google/common/collect/ComparatorOrdering ?XYZ[ *com/google/common/collect/ExplicitOrdering ?\]^_ p q`VabVcd j ? ? )com/google/common/collect/ReverseOrdering ?e ,com/google/common/collect/NullsFirstOrdering +com/google/common/collect/NullsLastOrdering ,com/google/common/collect/ByFunctionOrdering ?fghi ? ? *com/google/common/collect/CompoundOrdering java/util/Comparator ?j ?k 1com/google/common/collect/LexicographicalOrderingQ ?lmn ? ?R ?o ? ? ? ? ? ? ? ? java/util/Collectionpqrstuvwxy^z{|} ? ?~??????u?P???? ?? ? java/lang/Object ? ?? ??u? ???? ? V ? ??r????? ?? =com/google/common/collect/Ordering$IncomparableValueException 4com/google/common/collect/Ordering$ArbitraryOrdering :com/google/common/collect/Ordering$ArbitraryOrderingHolder? java/util/Map$Entry java/util/ArrayList java/util/Iterator java/lang/Iterable java/lang/Integer MAX_VALUE )com/google/common/collect/NaturalOrdering INSTANCE +Lcom/google/common/collect/NaturalOrdering; (Ljava/util/Comparator;)V $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; (Ljava/util/List;)V com/google/common/collect/Lists asList 7(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/util/List; *com/google/common/collect/AllEqualOrdering ,Lcom/google/common/collect/AllEqualOrdering; /com/google/common/collect/UsingToStringOrdering 1Lcom/google/common/collect/UsingToStringOrdering; ARBITRARY_ORDERING '(Lcom/google/common/collect/Ordering;)V H(Lcom/google/common/base/Function;Lcom/google/common/collect/Ordering;)V com/google/common/collect/Maps keyFunction #()Lcom/google/common/base/Function; /(Ljava/util/Comparator;Ljava/util/Comparator;)V (Ljava/lang/Iterable;)V ()Ljava/lang/Object; hasNext ()Z ()Ljava/util/Iterator; size ()I toArray ()[Ljava/lang/Object; java/util/Arrays sort ,([Ljava/lang/Object;Ljava/util/Comparator;)V &com/google/common/collect/ObjectArrays arraysCopyOf )([Ljava/lang/Object;I)[Ljava/lang/Object; %([Ljava/lang/Object;)Ljava/util/List; java/util/Collections unmodifiableList "(Ljava/util/List;)Ljava/util/List; .com/google/common/collect/CollectPreconditions checkNonnegative (ILjava/lang/String;)I 'com/google/common/collect/ImmutableList of +()Lcom/google/common/collect/ImmutableList; newArrayList +(Ljava/util/Iterator;)Ljava/util/ArrayList; )(Ljava/util/List;Ljava/util/Comparator;)V subList (II)Ljava/util/List; java/util/List clear
trimToSize java/lang/Math (II)I .([Ljava/lang/Object;IILjava/util/Comparator;)V swap ([Ljava/lang/Object;II)V #com/google/common/collect/Iterables )(Ljava/lang/Iterable;)[Ljava/lang/Object; +(Ljava/lang/Iterable;)Ljava/util/ArrayList; asImmutableList >([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; ;(Ljava/util/List;Ljava/lang/Object;Ljava/util/Comparator;)I
java/util/Map! <