public class org.apache.commons.collections4.comparators.ReverseComparator<E> implements java.util.Comparator<E>, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.collections4.comparators.ReverseComparator
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 2858887242028539265
private final java.util.Comparator<? super E> comparator;
descriptor: Ljava/util/Comparator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Comparator<-TE;>;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial org.apache.commons.collections4.comparators.ReverseComparator.<init>:(Ljava/util/Comparator;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/collections4/comparators/ReverseComparator<TE;>;
public void <init>(java.util.Comparator<? super E>);
descriptor: (Ljava/util/Comparator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
ifnonnull 2
getstatic org.apache.commons.collections4.ComparatorUtils.NATURAL_COMPARATOR:Ljava/util/Comparator;
goto 3
StackMap locals: org.apache.commons.collections4.comparators.ReverseComparator java.util.Comparator
StackMap stack: org.apache.commons.collections4.comparators.ReverseComparator
2: aload 1
StackMap locals: org.apache.commons.collections4.comparators.ReverseComparator java.util.Comparator
StackMap stack: org.apache.commons.collections4.comparators.ReverseComparator java.util.Comparator
3: putfield org.apache.commons.collections4.comparators.ReverseComparator.comparator:Ljava/util/Comparator;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/collections4/comparators/ReverseComparator<TE;>;
0 5 1 comparator Ljava/util/Comparator<-TE;>;
Signature: (Ljava/util/Comparator<-TE;>;)V
MethodParameters:
Name Flags
comparator final
public int compare(E, );
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 org.apache.commons.collections4.comparators.ReverseComparator.comparator:Ljava/util/Comparator;
aload 2
aload 1
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 Lorg/apache/commons/collections4/comparators/ReverseComparator<TE;>;
0 1 1 obj1 TE;
0 1 2 obj2 TE;
Signature: (TE;TE;)I
MethodParameters:
Name Flags
obj1 final
obj2 final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: ldc "ReverseComparator"
invokevirtual java.lang.String.hashCode:()I
aload 0
getfield org.apache.commons.collections4.comparators.ReverseComparator.comparator:Ljava/util/Comparator;
invokevirtual java.lang.Object.hashCode:()I
ixor
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/collections4/comparators/ReverseComparator<TE;>;
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 0
aload 1
if_acmpne 2
1: iconst_1
ireturn
2: StackMap locals:
StackMap stack:
aload 1
ifnonnull 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 7
5: aload 1
checkcast org.apache.commons.collections4.comparators.ReverseComparator
astore 2
start local 2 6: aload 0
getfield org.apache.commons.collections4.comparators.ReverseComparator.comparator:Ljava/util/Comparator;
aload 2
getfield org.apache.commons.collections4.comparators.ReverseComparator.comparator:Ljava/util/Comparator;
invokeinterface java.util.Comparator.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/collections4/comparators/ReverseComparator<TE;>;
0 8 1 object Ljava/lang/Object;
6 7 2 thatrc Lorg/apache/commons/collections4/comparators/ReverseComparator<*>;
MethodParameters:
Name Flags
object final
}
Signature: <E:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Comparator<TE;>;Ljava/io/Serializable;
SourceFile: "ReverseComparator.java"