final class com.google.common.collect.ExplicitOrdering<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.ExplicitOrdering
super_class: com.google.common.collect.Ordering
{
final com.google.common.collect.ImmutableMap<T, java.lang.Integer> rankMap;
descriptor: Lcom/google/common/collect/ImmutableMap;
flags: (0x0010) ACC_FINAL
Signature: Lcom/google/common/collect/ImmutableMap<TT;Ljava/lang/Integer;>;
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
void <init>(java.util.List<T>);
descriptor: (Ljava/util/List;)V
flags: (0x0000)
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic com.google.common.collect.Maps.indexMap:(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableMap;
invokespecial com.google.common.collect.ExplicitOrdering.<init>:(Lcom/google/common/collect/ImmutableMap;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/google/common/collect/ExplicitOrdering<TT;>;
0 2 1 valuesInOrder Ljava/util/List<TT;>;
Signature: (Ljava/util/List<TT;>;)V
MethodParameters:
Name Flags
valuesInOrder
void <init>(com.google.common.collect.ImmutableMap<T, java.lang.Integer>);
descriptor: (Lcom/google/common/collect/ImmutableMap;)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
putfield com.google.common.collect.ExplicitOrdering.rankMap:Lcom/google/common/collect/ImmutableMap;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/ExplicitOrdering<TT;>;
0 3 1 rankMap Lcom/google/common/collect/ImmutableMap<TT;Ljava/lang/Integer;>;
Signature: (Lcom/google/common/collect/ImmutableMap<TT;Ljava/lang/Integer;>;)V
MethodParameters:
Name Flags
rankMap
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
aload 1
invokevirtual com.google.common.collect.ExplicitOrdering.rank:(Ljava/lang/Object;)I
aload 0
aload 2
invokevirtual com.google.common.collect.ExplicitOrdering.rank:(Ljava/lang/Object;)I
isub
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/ExplicitOrdering<TT;>;
0 1 1 left TT;
0 1 2 right TT;
Signature: (TT;TT;)I
MethodParameters:
Name Flags
left
right
private int rank();
descriptor: (Ljava/lang/Object;)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield com.google.common.collect.ExplicitOrdering.rankMap:Lcom/google/common/collect/ImmutableMap;
aload 1
invokevirtual com.google.common.collect.ImmutableMap.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.Integer
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new com.google.common.collect.Ordering$IncomparableValueException
dup
aload 1
invokespecial com.google.common.collect.Ordering$IncomparableValueException.<init>:(Ljava/lang/Object;)V
athrow
3: StackMap locals: java.lang.Integer
StackMap stack:
aload 2
invokevirtual java.lang.Integer.intValue:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/ExplicitOrdering<TT;>;
0 4 1 value TT;
1 4 2 rank Ljava/lang/Integer;
Signature: (TT;)I
MethodParameters:
Name Flags
value
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
instanceof com.google.common.collect.ExplicitOrdering
ifeq 3
1: aload 1
checkcast com.google.common.collect.ExplicitOrdering
astore 2
start local 2 2: aload 0
getfield com.google.common.collect.ExplicitOrdering.rankMap:Lcom/google/common/collect/ImmutableMap;
aload 2
getfield com.google.common.collect.ExplicitOrdering.rankMap:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 3: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/collect/ExplicitOrdering<TT;>;
0 4 1 object Ljava/lang/Object;
2 3 2 that Lcom/google/common/collect/ExplicitOrdering<*>;
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.ExplicitOrdering.rankMap:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/ExplicitOrdering<TT;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
ldc "Ordering.explicit("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.google.common.collect.ExplicitOrdering.rankMap:Lcom/google/common/collect/ImmutableMap;
invokevirtual com.google.common.collect.ImmutableMap.keySet:()Lcom/google/common/collect/ImmutableSet;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ")"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/ExplicitOrdering<TT;>;
}
Signature: <T:Ljava/lang/Object;>Lcom/google/common/collect/Ordering<TT;>;Ljava/io/Serializable;
SourceFile: "ExplicitOrdering.java"
InnerClasses:
IncomparableValueException = com.google.common.collect.Ordering$IncomparableValueException of com.google.common.collect.Ordering
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true)