public abstract class com.google.common.collect.Ordering<T> implements java.util.Comparator<T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.google.common.collect.Ordering
super_class: java.lang.Object
{
static final int LEFT_IS_GREATER;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int RIGHT_IS_GREATER;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: -1
public static <C extends java.lang.Comparable> com.google.common.collect.Ordering<C> natural();
descriptor: ()Lcom/google/common/collect/Ordering;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.collect.NaturalOrdering.INSTANCE:Lcom/google/common/collect/NaturalOrdering;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: <C::Ljava/lang/Comparable;>()Lcom/google/common/collect/Ordering<TC;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true)
public static <T> com.google.common.collect.Ordering<T> from(java.util.Comparator<T>);
descriptor: (Ljava/util/Comparator;)Lcom/google/common/collect/Ordering;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof com.google.common.collect.Ordering
ifeq 2
1: aload 0
checkcast com.google.common.collect.Ordering
goto 3
2: StackMap locals:
StackMap stack:
new com.google.common.collect.ComparatorOrdering
dup
aload 0
invokespecial com.google.common.collect.ComparatorOrdering.<init>:(Ljava/util/Comparator;)V
3: StackMap locals:
StackMap stack: com.google.common.collect.Ordering
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 comparator Ljava/util/Comparator<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/Comparator<TT;>;)Lcom/google/common/collect/Ordering<TT;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true)
MethodParameters:
Name Flags
comparator
public static <T> com.google.common.collect.Ordering<T> from(com.google.common.collect.Ordering<T>);
descriptor: (Lcom/google/common/collect/Ordering;)Lcom/google/common/collect/Ordering;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast com.google.common.collect.Ordering
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 ordering Lcom/google/common/collect/Ordering<TT;>;
Signature: <T:Ljava/lang/Object;>(Lcom/google/common/collect/Ordering<TT;>;)Lcom/google/common/collect/Ordering<TT;>;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true)
MethodParameters:
Name Flags
ordering
public static <T> com.google.common.collect.Ordering<T> explicit(java.util.List<T>);
descriptor: (Ljava/util/List;)Lcom/google/common/collect/Ordering;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.collect.ExplicitOrdering
dup
aload 0
invokespecial com.google.common.collect.ExplicitOrdering.<init>:(Ljava/util/List;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 valuesInOrder Ljava/util/List<TT;>;
Signature: <T:Ljava/lang/Object;>(Ljava/util/List<TT;>;)Lcom/google/common/collect/Ordering<TT;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true)
MethodParameters:
Name Flags
valuesInOrder
public static <T> com.google.common.collect.Ordering<T> explicit(T, T[]);
descriptor: (Ljava/lang/Object;[Ljava/lang/Object;)Lcom/google/common/collect/Ordering;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.google.common.collect.Lists.asList:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/util/List;
invokestatic com.google.common.collect.Ordering.explicit:(Ljava/util/List;)Lcom/google/common/collect/Ordering;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 leastValue TT;
0 1 1 remainingValuesInOrder [Ljava/lang/Object;
Signature: <T:Ljava/lang/Object;>(TT;[TT;)Lcom/google/common/collect/Ordering<TT;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true)
MethodParameters:
Name Flags
leastValue
remainingValuesInOrder
public static com.google.common.collect.Ordering<java.lang.Object> allEqual();
descriptor: ()Lcom/google/common/collect/Ordering;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.collect.AllEqualOrdering.INSTANCE:Lcom/google/common/collect/AllEqualOrdering;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lcom/google/common/collect/Ordering<Ljava/lang/Object;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true)
public static com.google.common.collect.Ordering<java.lang.Object> usingToString();
descriptor: ()Lcom/google/common/collect/Ordering;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.collect.UsingToStringOrdering.INSTANCE:Lcom/google/common/collect/UsingToStringOrdering;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lcom/google/common/collect/Ordering<Ljava/lang/Object;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true)
public static com.google.common.collect.Ordering<java.lang.Object> arbitrary();
descriptor: ()Lcom/google/common/collect/Ordering;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.google.common.collect.Ordering$ArbitraryOrderingHolder.ARBITRARY_ORDERING:Lcom/google/common/collect/Ordering;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Lcom/google/common/collect/Ordering<Ljava/lang/Object;>;
protected void <init>();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Ordering<TT;>;
public <S extends T> com.google.common.collect.Ordering<S> reverse();
descriptor: ()Lcom/google/common/collect/Ordering;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.collect.ReverseOrdering
dup
aload 0
invokespecial com.google.common.collect.ReverseOrdering.<init>:(Lcom/google/common/collect/Ordering;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Ordering<TT;>;
Signature: <S:TT;>()Lcom/google/common/collect/Ordering<TS;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true)
public <S extends T> com.google.common.collect.Ordering<S> nullsFirst();
descriptor: ()Lcom/google/common/collect/Ordering;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.collect.NullsFirstOrdering
dup
aload 0
invokespecial com.google.common.collect.NullsFirstOrdering.<init>:(Lcom/google/common/collect/Ordering;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Ordering<TT;>;
Signature: <S:TT;>()Lcom/google/common/collect/Ordering<TS;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true)
public <S extends T> com.google.common.collect.Ordering<S> nullsLast();
descriptor: ()Lcom/google/common/collect/Ordering;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.collect.NullsLastOrdering
dup
aload 0
invokespecial com.google.common.collect.NullsLastOrdering.<init>:(Lcom/google/common/collect/Ordering;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Ordering<TT;>;
Signature: <S:TT;>()Lcom/google/common/collect/Ordering<TS;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true)
public <F> com.google.common.collect.Ordering<F> onResultOf(com.google.common.base.Function<F, ? extends T>);
descriptor: (Lcom/google/common/base/Function;)Lcom/google/common/collect/Ordering;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.google.common.collect.ByFunctionOrdering
dup
aload 1
aload 0
invokespecial com.google.common.collect.ByFunctionOrdering.<init>:(Lcom/google/common/base/Function;Lcom/google/common/collect/Ordering;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Ordering<TT;>;
0 1 1 function Lcom/google/common/base/Function<TF;+TT;>;
Signature: <F:Ljava/lang/Object;>(Lcom/google/common/base/Function<TF;+TT;>;)Lcom/google/common/collect/Ordering<TF;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true)
MethodParameters:
Name Flags
function
<T2 extends T> com.google.common.collect.Ordering<java.util.Map$Entry<T2, ?>> onKeys();
descriptor: ()Lcom/google/common/collect/Ordering;
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.collect.Maps.keyFunction:()Lcom/google/common/base/Function;
invokevirtual com.google.common.collect.Ordering.onResultOf:(Lcom/google/common/base/Function;)Lcom/google/common/collect/Ordering;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Ordering<TT;>;
Signature: <T2:TT;>()Lcom/google/common/collect/Ordering<Ljava/util/Map$Entry<TT2;*>;>;
public <U extends T> com.google.common.collect.Ordering<U> compound(java.util.Comparator<? super U>);
descriptor: (Ljava/util/Comparator;)Lcom/google/common/collect/Ordering;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.google.common.collect.CompoundOrdering
dup
aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Comparator
invokespecial com.google.common.collect.CompoundOrdering.<init>:(Ljava/util/Comparator;Ljava/util/Comparator;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Ordering<TT;>;
0 1 1 secondaryComparator Ljava/util/Comparator<-TU;>;
Signature: <U:TT;>(Ljava/util/Comparator<-TU;>;)Lcom/google/common/collect/Ordering<TU;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true)
MethodParameters:
Name Flags
secondaryComparator
public static <T> com.google.common.collect.Ordering<T> compound(java.lang.Iterable<? extends java.util.Comparator<? super T>>);
descriptor: (Ljava/lang/Iterable;)Lcom/google/common/collect/Ordering;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.collect.CompoundOrdering
dup
aload 0
invokespecial com.google.common.collect.CompoundOrdering.<init>:(Ljava/lang/Iterable;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 comparators Ljava/lang/Iterable<+Ljava/util/Comparator<-TT;>;>;
Signature: <T:Ljava/lang/Object;>(Ljava/lang/Iterable<+Ljava/util/Comparator<-TT;>;>;)Lcom/google/common/collect/Ordering<TT;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true)
MethodParameters:
Name Flags
comparators
public <S extends T> com.google.common.collect.Ordering<java.lang.Iterable<S>> lexicographical();
descriptor: ()Lcom/google/common/collect/Ordering;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new com.google.common.collect.LexicographicalOrdering
dup
aload 0
invokespecial com.google.common.collect.LexicographicalOrdering.<init>:(Ljava/util/Comparator;)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Ordering<TT;>;
Signature: <S:TT;>()Lcom/google/common/collect/Ordering<Ljava/lang/Iterable<TS;>;>;
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true)
public abstract int compare(T, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: (TT;TT;)I
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
left
right
public <E extends T> E min(java.util.Iterator<E>);
descriptor: (Ljava/util/Iterator;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 2
start local 2 1: goto 3
2: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 2
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual com.google.common.collect.Ordering.min:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 2
3: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/Ordering<TT;>;
0 5 1 iterator Ljava/util/Iterator<TE;>;
1 5 2 minSoFar TE;
Signature: <E:TT;>(Ljava/util/Iterator<TE;>;)TE;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
iterator
public <E extends T> E min(java.lang.Iterable<E>);
descriptor: (Ljava/lang/Iterable;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokevirtual com.google.common.collect.Ordering.min:(Ljava/util/Iterator;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Ordering<TT;>;
0 1 1 iterable Ljava/lang/Iterable<TE;>;
Signature: <E:TT;>(Ljava/lang/Iterable<TE;>;)TE;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
iterable
public <E extends T> E min(E, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual com.google.common.collect.Ordering.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifgt 1
aload 1
goto 2
StackMap locals:
StackMap stack:
1: aload 2
StackMap locals:
StackMap stack: java.lang.Object
2: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/Ordering<TT;>;
0 3 1 a TE;
0 3 2 b TE;
Signature: <E:TT;>(TE;TE;)TE;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
a
b
public <E extends T> E min(E, E, E, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 0
aload 1
aload 2
invokevirtual com.google.common.collect.Ordering.min:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
aload 3
invokevirtual com.google.common.collect.Ordering.min:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 1: aload 4
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 5
StackMap locals: com.google.common.collect.Ordering java.lang.Object java.lang.Object java.lang.Object java.lang.Object[] java.lang.Object top int int java.lang.Object[]
StackMap stack:
2: aload 9
iload 7
aaload
astore 6
start local 6 3: aload 0
aload 5
aload 6
invokevirtual com.google.common.collect.Ordering.min:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 5
end local 6 4: iinc 7 1
StackMap locals:
StackMap stack:
5: iload 7
iload 8
if_icmplt 2
6: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/collect/Ordering<TT;>;
0 7 1 a TE;
0 7 2 b TE;
0 7 3 c TE;
0 7 4 rest [Ljava/lang/Object;
1 7 5 minSoFar TE;
3 4 6 r TE;
Signature: <E:TT;>(TE;TE;TE;[TE;)TE;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
a
b
c
rest
public <E extends T> E max(java.util.Iterator<E>);
descriptor: (Ljava/util/Iterator;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 2
start local 2 1: goto 3
2: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 2
aload 1
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual com.google.common.collect.Ordering.max:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 2
3: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/collect/Ordering<TT;>;
0 5 1 iterator Ljava/util/Iterator<TE;>;
1 5 2 maxSoFar TE;
Signature: <E:TT;>(Ljava/util/Iterator<TE;>;)TE;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
iterator
public <E extends T> E max(java.lang.Iterable<E>);
descriptor: (Ljava/lang/Iterable;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokevirtual com.google.common.collect.Ordering.max:(Ljava/util/Iterator;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Ordering<TT;>;
0 1 1 iterable Ljava/lang/Iterable<TE;>;
Signature: <E:TT;>(Ljava/lang/Iterable<TE;>;)TE;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
iterable
public <E extends T> E max(E, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual com.google.common.collect.Ordering.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
iflt 1
aload 1
goto 2
StackMap locals:
StackMap stack:
1: aload 2
StackMap locals:
StackMap stack: java.lang.Object
2: areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/Ordering<TT;>;
0 3 1 a TE;
0 3 2 b TE;
Signature: <E:TT;>(TE;TE;)TE;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
a
b
public <E extends T> E max(E, E, E, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=4, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 0
aload 1
aload 2
invokevirtual com.google.common.collect.Ordering.max:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
aload 3
invokevirtual com.google.common.collect.Ordering.max:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 5
start local 5 1: aload 4
dup
astore 9
arraylength
istore 8
iconst_0
istore 7
goto 5
StackMap locals: com.google.common.collect.Ordering java.lang.Object java.lang.Object java.lang.Object java.lang.Object[] java.lang.Object top int int java.lang.Object[]
StackMap stack:
2: aload 9
iload 7
aaload
astore 6
start local 6 3: aload 0
aload 5
aload 6
invokevirtual com.google.common.collect.Ordering.max:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
astore 5
end local 6 4: iinc 7 1
StackMap locals:
StackMap stack:
5: iload 7
iload 8
if_icmplt 2
6: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/collect/Ordering<TT;>;
0 7 1 a TE;
0 7 2 b TE;
0 7 3 c TE;
0 7 4 rest [Ljava/lang/Object;
1 7 5 maxSoFar TE;
3 4 6 r TE;
Signature: <E:TT;>(TE;TE;TE;[TE;)TE;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
a
b
c
rest
public <E extends T> java.util.List<E> leastOf(java.lang.Iterable<E>, int);
descriptor: (Ljava/lang/Iterable;I)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
instanceof java.util.Collection
ifeq 8
1: aload 1
checkcast java.util.Collection
astore 3
start local 3 2: aload 3
invokeinterface java.util.Collection.size:()I
i2l
ldc 2
iload 2
i2l
lmul
lcmp
ifgt 8
3: aload 3
invokeinterface java.util.Collection.toArray:()[Ljava/lang/Object;
astore 4
start local 4 4: aload 4
aload 0
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;Ljava/util/Comparator;)V
5: aload 4
arraylength
iload 2
if_icmple 7
6: aload 4
iload 2
invokestatic java.util.Arrays.copyOf:([Ljava/lang/Object;I)[Ljava/lang/Object;
astore 4
7: StackMap locals: java.util.Collection java.lang.Object[]
StackMap stack:
aload 4
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 4 end local 3 8: StackMap locals:
StackMap stack:
aload 0
aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
iload 2
invokevirtual com.google.common.collect.Ordering.leastOf:(Ljava/util/Iterator;I)Ljava/util/List;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/google/common/collect/Ordering<TT;>;
0 9 1 iterable Ljava/lang/Iterable<TE;>;
0 9 2 k I
2 8 3 collection Ljava/util/Collection<TE;>;
4 8 4 array [Ljava/lang/Object;
Signature: <E:TT;>(Ljava/lang/Iterable<TE;>;I)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
iterable
k
public <E extends T> java.util.List<E> leastOf(java.util.Iterator<E>, int);
descriptor: (Ljava/util/Iterator;I)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: iload 2
ldc "k"
invokestatic com.google.common.collect.CollectPreconditions.checkNonnegative:(ILjava/lang/String;)I
pop
2: iload 2
ifeq 3
aload 1
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
3: StackMap locals:
StackMap stack:
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
areturn
4: StackMap locals:
StackMap stack:
iload 2
ldc 1073741823
if_icmplt 11
5: aload 1
invokestatic com.google.common.collect.Lists.newArrayList:(Ljava/util/Iterator;)Ljava/util/ArrayList;
astore 3
start local 3 6: aload 3
aload 0
invokestatic java.util.Collections.sort:(Ljava/util/List;Ljava/util/Comparator;)V
7: aload 3
invokevirtual java.util.ArrayList.size:()I
iload 2
if_icmple 9
8: aload 3
iload 2
aload 3
invokevirtual java.util.ArrayList.size:()I
invokevirtual java.util.ArrayList.subList:(II)Ljava/util/List;
invokeinterface java.util.List.clear:()V
9: StackMap locals: java.util.ArrayList
StackMap stack:
aload 3
invokevirtual java.util.ArrayList.trimToSize:()V
10: aload 3
invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
areturn
end local 3 11: StackMap locals:
StackMap stack:
iload 2
aload 0
invokestatic com.google.common.collect.TopKSelector.least:(ILjava/util/Comparator;)Lcom/google/common/collect/TopKSelector;
astore 3
start local 3 12: aload 3
aload 1
invokevirtual com.google.common.collect.TopKSelector.offerAll:(Ljava/util/Iterator;)V
13: aload 3
invokevirtual com.google.common.collect.TopKSelector.topK:()Ljava/util/List;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/google/common/collect/Ordering<TT;>;
0 14 1 iterator Ljava/util/Iterator<TE;>;
0 14 2 k I
6 11 3 list Ljava/util/ArrayList<TE;>;
12 14 3 selector Lcom/google/common/collect/TopKSelector<TE;>;
Signature: <E:TT;>(Ljava/util/Iterator<TE;>;I)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
iterator
k
public <E extends T> java.util.List<E> greatestOf(java.lang.Iterable<E>, int);
descriptor: (Ljava/lang/Iterable;I)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.google.common.collect.Ordering.reverse:()Lcom/google/common/collect/Ordering;
aload 1
iload 2
invokevirtual com.google.common.collect.Ordering.leastOf:(Ljava/lang/Iterable;I)Ljava/util/List;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Ordering<TT;>;
0 1 1 iterable Ljava/lang/Iterable<TE;>;
0 1 2 k I
Signature: <E:TT;>(Ljava/lang/Iterable<TE;>;I)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
iterable
k
public <E extends T> java.util.List<E> greatestOf(java.util.Iterator<E>, int);
descriptor: (Ljava/util/Iterator;I)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.google.common.collect.Ordering.reverse:()Lcom/google/common/collect/Ordering;
aload 1
iload 2
invokevirtual com.google.common.collect.Ordering.leastOf:(Ljava/util/Iterator;I)Ljava/util/List;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Ordering<TT;>;
0 1 1 iterator Ljava/util/Iterator<TE;>;
0 1 2 k I
Signature: <E:TT;>(Ljava/util/Iterator<TE;>;I)Ljava/util/List<TE;>;
MethodParameters:
Name Flags
iterator
k
public <E extends T> java.util.List<E> sortedCopy(java.lang.Iterable<E>);
descriptor: (Ljava/lang/Iterable;)Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.collect.Iterables.toArray:(Ljava/lang/Iterable;)[Ljava/lang/Object;
astore 2
start local 2 1: aload 2
aload 0
invokestatic java.util.Arrays.sort:([Ljava/lang/Object;Ljava/util/Comparator;)V
2: aload 2
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokestatic com.google.common.collect.Lists.newArrayList:(Ljava/lang/Iterable;)Ljava/util/ArrayList;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/Ordering<TT;>;
0 3 1 elements Ljava/lang/Iterable<TE;>;
1 3 2 array [Ljava/lang/Object;
Signature: <E:TT;>(Ljava/lang/Iterable<TE;>;)Ljava/util/List<TE;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
elements
public <E extends T> com.google.common.collect.ImmutableList<E> immutableSortedCopy(java.lang.Iterable<E>);
descriptor: (Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.google.common.collect.ImmutableList.sortedCopyOf:(Ljava/util/Comparator;Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableList;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Ordering<TT;>;
0 1 1 elements Ljava/lang/Iterable<TE;>;
Signature: <E:TT;>(Ljava/lang/Iterable<TE;>;)Lcom/google/common/collect/ImmutableList<TE;>;
RuntimeInvisibleAnnotations:
com.google.errorprone.annotations.CanIgnoreReturnValue()
MethodParameters:
Name Flags
elements
public boolean isOrdered(java.lang.Iterable<? extends T>);
descriptor: (Ljava/lang/Iterable;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 2
start local 2 1: aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 9
2: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
start local 3 3: goto 8
4: StackMap locals: java.util.Iterator java.lang.Object
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 4
start local 4 5: aload 0
aload 3
aload 4
invokevirtual com.google.common.collect.Ordering.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ifle 7
6: iconst_0
ireturn
7: StackMap locals: java.lang.Object
StackMap stack:
aload 4
astore 3
end local 4 8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 3 9: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/google/common/collect/Ordering<TT;>;
0 10 1 iterable Ljava/lang/Iterable<+TT;>;
1 10 2 it Ljava/util/Iterator<+TT;>;
3 9 3 prev TT;
5 8 4 next TT;
Signature: (Ljava/lang/Iterable<+TT;>;)Z
MethodParameters:
Name Flags
iterable
public boolean isStrictlyOrdered(java.lang.Iterable<? extends T>);
descriptor: (Ljava/lang/Iterable;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 2
start local 2 1: aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 9
2: aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 3
start local 3 3: goto 8
4: StackMap locals: java.util.Iterator java.lang.Object
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 4
start local 4 5: aload 0
aload 3
aload 4
invokevirtual com.google.common.collect.Ordering.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
iflt 7
6: iconst_0
ireturn
7: StackMap locals: java.lang.Object
StackMap stack:
aload 4
astore 3
end local 4 8: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
end local 3 9: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/google/common/collect/Ordering<TT;>;
0 10 1 iterable Ljava/lang/Iterable<+TT;>;
1 10 2 it Ljava/util/Iterator<+TT;>;
3 9 3 prev TT;
5 8 4 next TT;
Signature: (Ljava/lang/Iterable<+TT;>;)Z
MethodParameters:
Name Flags
iterable
public int binarySearch(java.util.List<? extends T>, );
descriptor: (Ljava/util/List;Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
aload 0
invokestatic java.util.Collections.binarySearch:(Ljava/util/List;Ljava/lang/Object;Ljava/util/Comparator;)I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/Ordering<TT;>;
0 1 1 sortedList Ljava/util/List<+TT;>;
0 1 2 key TT;
Signature: (Ljava/util/List<+TT;>;TT;)I
RuntimeVisibleAnnotations:
java.lang.Deprecated()
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
sortedList
key
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Comparator<TT;>;
SourceFile: "Ordering.java"
NestMembers:
com.google.common.collect.Ordering$ArbitraryOrdering com.google.common.collect.Ordering$ArbitraryOrderingHolder com.google.common.collect.Ordering$IncomparableValueException
InnerClasses:
ArbitraryOrdering = com.google.common.collect.Ordering$ArbitraryOrdering of com.google.common.collect.Ordering
private ArbitraryOrderingHolder = com.google.common.collect.Ordering$ArbitraryOrderingHolder of com.google.common.collect.Ordering
IncomparableValueException = com.google.common.collect.Ordering$IncomparableValueException of com.google.common.collect.Ordering
public abstract Entry = java.util.Map$Entry of java.util.Map
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible()