final class com.google.common.collect.ComparatorOrdering<T> extends com.google.common.collect.Ordering<T> implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.ComparatorOrdering
super_class: com.google.common.collect.Ordering
{
final java.util.Comparator<T> comparator;
descriptor: Ljava/util/Comparator;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/Comparator<TT;>;
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
void <init>(java.util.Comparator<T>);
descriptor: (Ljava/util/Comparator;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial com.google.common.collect.Ordering.<init>:()V
1: aload 0
aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.Comparator
putfield com.google.common.collect.ComparatorOrdering.comparator:Ljava/util/Comparator;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/ComparatorOrdering<TT;>;
0 3 1 comparator Ljava/util/Comparator<TT;>;
Signature: (Ljava/util/Comparator<TT;>;)V
MethodParameters:
Name Flags
comparator
public int compare(T, );
descriptor: (Ljava/lang/Object;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 0
getfield com.google.common.collect.ComparatorOrdering.comparator:Ljava/util/Comparator;
aload 1
aload 2
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)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/ComparatorOrdering<TT;>;
0 1 1 a TT;
0 1 2 b TT;
Signature: (TT;TT;)I
MethodParameters:
Name Flags
a
b
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
aload 0
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
instanceof com.google.common.collect.ComparatorOrdering
ifeq 5
3: aload 1
checkcast com.google.common.collect.ComparatorOrdering
astore 2
start local 2 4: aload 0
getfield com.google.common.collect.ComparatorOrdering.comparator:Ljava/util/Comparator;
aload 2
getfield com.google.common.collect.ComparatorOrdering.comparator:Ljava/util/Comparator;
invokeinterface java.util.Comparator.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 5: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/collect/ComparatorOrdering<TT;>;
0 6 1 object Ljava/lang/Object;
4 5 2 that Lcom/google/common/collect/ComparatorOrdering<*>;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
object
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.ComparatorOrdering.comparator:Ljava/util/Comparator;
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/ComparatorOrdering<TT;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.ComparatorOrdering.comparator:Ljava/util/Comparator;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/ComparatorOrdering<TT;>;
}
Signature: <T:Ljava/lang/Object;>Lcom/google/common/collect/Ordering<TT;>;Ljava/io/Serializable;
SourceFile: "ComparatorOrdering.java"
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true)