public class org.apache.commons.collections4.comparators.TransformingComparator<I, O> implements java.util.Comparator<I>, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.collections4.comparators.TransformingComparator
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3456940356043606220
private final java.util.Comparator<O> decorated;
descriptor: Ljava/util/Comparator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Comparator<TO;>;
private final org.apache.commons.collections4.Transformer<? super I, ? extends O> transformer;
descriptor: Lorg/apache/commons/collections4/Transformer;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/apache/commons/collections4/Transformer<-TI;+TO;>;
public void <init>(org.apache.commons.collections4.Transformer<? super I, ? extends O>);
descriptor: (Lorg/apache/commons/collections4/Transformer;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getstatic org.apache.commons.collections4.ComparatorUtils.NATURAL_COMPARATOR:Ljava/util/Comparator;
invokespecial org.apache.commons.collections4.comparators.TransformingComparator.<init>:(Lorg/apache/commons/collections4/Transformer;Ljava/util/Comparator;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/collections4/comparators/TransformingComparator<TI;TO;>;
0 2 1 transformer Lorg/apache/commons/collections4/Transformer<-TI;+TO;>;
Signature: (Lorg/apache/commons/collections4/Transformer<-TI;+TO;>;)V
MethodParameters:
Name Flags
transformer final
public void <init>(org.apache.commons.collections4.Transformer<? super I, ? extends O>, java.util.Comparator<O>);
descriptor: (Lorg/apache/commons/collections4/Transformer;Ljava/util/Comparator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield org.apache.commons.collections4.comparators.TransformingComparator.decorated:Ljava/util/Comparator;
2: aload 0
aload 1
putfield org.apache.commons.collections4.comparators.TransformingComparator.transformer:Lorg/apache/commons/collections4/Transformer;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/collections4/comparators/TransformingComparator<TI;TO;>;
0 4 1 transformer Lorg/apache/commons/collections4/Transformer<-TI;+TO;>;
0 4 2 decorated Ljava/util/Comparator<TO;>;
Signature: (Lorg/apache/commons/collections4/Transformer<-TI;+TO;>;Ljava/util/Comparator<TO;>;)V
MethodParameters:
Name Flags
transformer final
decorated final
public int compare(I, );
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: aload 0
getfield org.apache.commons.collections4.comparators.TransformingComparator.transformer:Lorg/apache/commons/collections4/Transformer;
aload 1
invokeinterface org.apache.commons.collections4.Transformer.transform:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 1: aload 0
getfield org.apache.commons.collections4.comparators.TransformingComparator.transformer:Lorg/apache/commons/collections4/Transformer;
aload 2
invokeinterface org.apache.commons.collections4.Transformer.transform:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 2: aload 0
getfield org.apache.commons.collections4.comparators.TransformingComparator.decorated:Ljava/util/Comparator;
aload 3
aload 4
invokeinterface java.util.Comparator.compare:(Ljava/lang/Object;Ljava/lang/Object;)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/collections4/comparators/TransformingComparator<TI;TO;>;
0 3 1 obj1 TI;
0 3 2 obj2 TI;
1 3 3 value1 TO;
2 3 4 value2 TO;
Signature: (TI;TI;)I
MethodParameters:
Name Flags
obj1 final
obj2 final
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: bipush 17
istore 1
start local 1 1: iload 1
bipush 37
imul
aload 0
getfield org.apache.commons.collections4.comparators.TransformingComparator.decorated:Ljava/util/Comparator;
ifnonnull 2
iconst_0
goto 3
StackMap locals: org.apache.commons.collections4.comparators.TransformingComparator int
StackMap stack: int
2: aload 0
getfield org.apache.commons.collections4.comparators.TransformingComparator.decorated:Ljava/util/Comparator;
invokevirtual java.lang.Object.hashCode:()I
StackMap locals: org.apache.commons.collections4.comparators.TransformingComparator int
StackMap stack: int int
3: iadd
istore 1
4: iload 1
bipush 37
imul
aload 0
getfield org.apache.commons.collections4.comparators.TransformingComparator.transformer:Lorg/apache/commons/collections4/Transformer;
ifnonnull 5
iconst_0
goto 6
StackMap locals:
StackMap stack: int
5: aload 0
getfield org.apache.commons.collections4.comparators.TransformingComparator.transformer:Lorg/apache/commons/collections4/Transformer;
invokevirtual java.lang.Object.hashCode:()I
StackMap locals: org.apache.commons.collections4.comparators.TransformingComparator int
StackMap stack: int int
6: iadd
istore 1
7: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/collections4/comparators/TransformingComparator<TI;TO;>;
1 8 1 total I
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 12
5: aload 1
checkcast org.apache.commons.collections4.comparators.TransformingComparator
astore 2
start local 2 6: aload 0
getfield org.apache.commons.collections4.comparators.TransformingComparator.decorated:Ljava/util/Comparator;
ifnonnull 7
aload 2
getfield org.apache.commons.collections4.comparators.TransformingComparator.decorated:Ljava/util/Comparator;
ifnonnull 11
goto 8
StackMap locals: org.apache.commons.collections4.comparators.TransformingComparator
StackMap stack:
7: aload 0
getfield org.apache.commons.collections4.comparators.TransformingComparator.decorated:Ljava/util/Comparator;
aload 2
getfield org.apache.commons.collections4.comparators.TransformingComparator.decorated:Ljava/util/Comparator;
invokeinterface java.util.Comparator.equals:(Ljava/lang/Object;)Z
ifeq 11
8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.collections4.comparators.TransformingComparator.transformer:Lorg/apache/commons/collections4/Transformer;
ifnonnull 9
aload 2
getfield org.apache.commons.collections4.comparators.TransformingComparator.transformer:Lorg/apache/commons/collections4/Transformer;
ifnonnull 11
goto 10
StackMap locals:
StackMap stack:
9: aload 0
getfield org.apache.commons.collections4.comparators.TransformingComparator.transformer:Lorg/apache/commons/collections4/Transformer;
aload 2
getfield org.apache.commons.collections4.comparators.TransformingComparator.transformer:Lorg/apache/commons/collections4/Transformer;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 11
10: StackMap locals:
StackMap stack:
iconst_1
ireturn
StackMap locals:
StackMap stack:
11: iconst_0
ireturn
end local 2 12: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/commons/collections4/comparators/TransformingComparator<TI;TO;>;
0 13 1 object Ljava/lang/Object;
6 12 2 comp Lorg/apache/commons/collections4/comparators/TransformingComparator<**>;
MethodParameters:
Name Flags
object final
}
Signature: <I:Ljava/lang/Object;O:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/Comparator<TI;>;Ljava/io/Serializable;
SourceFile: "TransformingComparator.java"