final class com.google.common.collect.LexicographicalOrdering<T> extends com.google.common.collect.Ordering<java.lang.Iterable<T>> implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.google.common.collect.LexicographicalOrdering
super_class: com.google.common.collect.Ordering
{
final java.util.Comparator<? super T> elementOrder;
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>);
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
putfield com.google.common.collect.LexicographicalOrdering.elementOrder: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/LexicographicalOrdering<TT;>;
0 3 1 elementOrder Ljava/util/Comparator<-TT;>;
Signature: (Ljava/util/Comparator<-TT;>;)V
MethodParameters:
Name Flags
elementOrder
public int compare(java.lang.Iterable<T>, java.lang.Iterable<T>);
descriptor: (Ljava/lang/Iterable;Ljava/lang/Iterable;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 3
start local 3 1: aload 2
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
astore 4
start local 4 2: goto 8
3: StackMap locals: java.util.Iterator java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 5
4: iconst_1
ireturn
5: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.collect.LexicographicalOrdering.elementOrder:Ljava/util/Comparator;
aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
istore 5
start local 5 6: iload 5
ifeq 8
7: iload 5
ireturn
end local 5 8: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
9: aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 11
10: iconst_m1
ireturn
11: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/google/common/collect/LexicographicalOrdering<TT;>;
0 12 1 leftIterable Ljava/lang/Iterable<TT;>;
0 12 2 rightIterable Ljava/lang/Iterable<TT;>;
1 12 3 left Ljava/util/Iterator<TT;>;
2 12 4 right Ljava/util/Iterator<TT;>;
6 8 5 result I
Signature: (Ljava/lang/Iterable<TT;>;Ljava/lang/Iterable<TT;>;)I
MethodParameters:
Name Flags
leftIterable
rightIterable
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.LexicographicalOrdering
ifeq 5
3: aload 1
checkcast com.google.common.collect.LexicographicalOrdering
astore 2
start local 2 4: aload 0
getfield com.google.common.collect.LexicographicalOrdering.elementOrder:Ljava/util/Comparator;
aload 2
getfield com.google.common.collect.LexicographicalOrdering.elementOrder: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/LexicographicalOrdering<TT;>;
0 6 1 object Ljava/lang/Object;
4 5 2 that Lcom/google/common/collect/LexicographicalOrdering<*>;
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=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.collect.LexicographicalOrdering.elementOrder:Ljava/util/Comparator;
invokevirtual java.lang.Object.hashCode:()I
ldc 2075626741
ixor
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/collect/LexicographicalOrdering<TT;>;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
aload 0
getfield com.google.common.collect.LexicographicalOrdering.elementOrder:Ljava/util/Comparator;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
ldc ".lexicographical()"
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/LexicographicalOrdering<TT;>;
public int compare(java.lang.Object, java.lang.Object);
descriptor: (Ljava/lang/Object;Ljava/lang/Object;)I
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=3, locals=3, args_size=3
0: aload 0
aload 1
checkcast java.lang.Iterable
aload 2
checkcast java.lang.Iterable
invokevirtual com.google.common.collect.LexicographicalOrdering.compare:(Ljava/lang/Iterable;Ljava/lang/Iterable;)I
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <T:Ljava/lang/Object;>Lcom/google/common/collect/Ordering<Ljava/lang/Iterable<TT;>;>;Ljava/io/Serializable;
SourceFile: "LexicographicalOrdering.java"
RuntimeInvisibleAnnotations:
com.google.common.annotations.GwtCompatible(serializable = true)