final class com.google.common.collect.CompoundOrdering<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.CompoundOrdering
super_class: com.google.common.collect.Ordering
{
final java.util.Comparator<? super T>[] comparators;
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<? super T>, java.util.Comparator<? super T>);
descriptor: (Ljava/util/Comparator;Ljava/util/Comparator;)V
flags: (0x0000)
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial com.google.common.collect.Ordering.<init>:()V
1: aload 0
iconst_2
anewarray java.util.Comparator
dup
iconst_0
aload 1
aastore
dup
iconst_1
aload 2
aastore
putfield com.google.common.collect.CompoundOrdering.comparators:[Ljava/util/Comparator;
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/collect/CompoundOrdering<TT;>;
0 3 1 primary Ljava/util/Comparator<-TT;>;
0 3 2 secondary Ljava/util/Comparator<-TT;>;
Signature: (Ljava/util/Comparator<-TT;>;Ljava/util/Comparator<-TT;>;)V
MethodParameters:
Name Flags
primary
secondary
void <init>(java.lang.Iterable<? extends java.util.Comparator<? super T>>);
descriptor: (Ljava/lang/Iterable;)V
flags: (0x0000)
Code:
stack=3, 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
iconst_0
anewarray java.util.Comparator
invokestatic com.google.common.collect.Iterables.toArray:(Ljava/lang/Iterable;[Ljava/lang/Object;)[Ljava/lang/Object;
checkcast java.util.Comparator[]
putfield com.google.common.collect.CompoundOrdering.comparators:[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/CompoundOrdering<TT;>;
0 3 1 comparators Ljava/lang/Iterable<+Ljava/util/Comparator<-TT;>;>;
Signature: (Ljava/lang/Iterable<+Ljava/util/Comparator<-TT;>;>;)V
MethodParameters:
Name Flags
comparators
public int compare(T, );
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=3
start local 0 start local 1 start local 2 0: iconst_0
istore 3
start local 3 1: goto 6
2: StackMap locals: int
StackMap stack:
aload 0
getfield com.google.common.collect.CompoundOrdering.comparators:[Ljava/util/Comparator;
iload 3
aaload
aload 1
aload 2
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
istore 4
start local 4 3: iload 4
ifeq 5
4: iload 4
ireturn
end local 4 5: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
6: iload 3
aload 0
getfield com.google.common.collect.CompoundOrdering.comparators:[Ljava/util/Comparator;
arraylength
if_icmplt 2
end local 3 7: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/common/collect/CompoundOrdering<TT;>;
0 8 1 left TT;
0 8 2 right TT;
1 7 3 i I
3 5 4 result I
Signature: (TT;TT;)I
MethodParameters:
Name Flags
left
right
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.CompoundOrdering
ifeq 5
3: aload 1
checkcast com.google.common.collect.CompoundOrdering
astore 2
start local 2 4: aload 0
getfield com.google.common.collect.CompoundOrdering.comparators:[Ljava/util/Comparator;
aload 2
getfield com.google.common.collect.CompoundOrdering.comparators:[Ljava/util/Comparator;
invokestatic java.util.Arrays.equals:([Ljava/lang/Object;[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/CompoundOrdering<TT;>;
0 6 1 object Ljava/lang/Object;
4 5 2 that Lcom/google/common/collect/CompoundOrdering<*>;
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.CompoundOrdering.comparators:[Ljava/util/Comparator;
invokestatic java.util.Arrays.hashCode:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/CompoundOrdering<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.compound("
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.google.common.collect.CompoundOrdering.comparators:[Ljava/util/Comparator;
invokestatic java.util.Arrays.toString:([Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)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/CompoundOrdering<TT;>;
}
Signature: <T:Ljava/lang/Object;>Lcom/google/common/collect/Ordering<TT;>;Ljava/io/Serializable;
SourceFile: "CompoundOrdering.java"
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true)