public class org.eclipse.collections.impl.block.comparator.FunctionComparator<T, V> implements org.eclipse.collections.api.block.SerializableComparator<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.collections.impl.block.comparator.FunctionComparator
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
private final org.eclipse.collections.api.block.function.Function<? super T, ? extends V> function;
descriptor: Lorg/eclipse/collections/api/block/function/Function;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Lorg/eclipse/collections/api/block/function/Function<-TT;+TV;>;
private final java.util.Comparator<V> comparator;
descriptor: Ljava/util/Comparator;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/Comparator<TV;>;
public void <init>(org.eclipse.collections.api.block.function.Function<? super T, ? extends V>, java.util.Comparator<V>);
descriptor: (Lorg/eclipse/collections/api/block/function/Function;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 1
putfield org.eclipse.collections.impl.block.comparator.FunctionComparator.function:Lorg/eclipse/collections/api/block/function/Function;
2: aload 0
aload 2
putfield org.eclipse.collections.impl.block.comparator.FunctionComparator.comparator:Ljava/util/Comparator;
3: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/collections/impl/block/comparator/FunctionComparator<TT;TV;>;
0 4 1 function Lorg/eclipse/collections/api/block/function/Function<-TT;+TV;>;
0 4 2 comparator Ljava/util/Comparator<TV;>;
Signature: (Lorg/eclipse/collections/api/block/function/Function<-TT;+TV;>;Ljava/util/Comparator<TV;>;)V
MethodParameters:
Name Flags
function
comparator
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: aload 0
getfield org.eclipse.collections.impl.block.comparator.FunctionComparator.function:Lorg/eclipse/collections/api/block/function/Function;
aload 1
invokeinterface org.eclipse.collections.api.block.function.Function.valueOf:(Ljava/lang/Object;)Ljava/lang/Object;
astore 3
start local 3 1: aload 0
getfield org.eclipse.collections.impl.block.comparator.FunctionComparator.function:Lorg/eclipse/collections/api/block/function/Function;
aload 2
invokeinterface org.eclipse.collections.api.block.function.Function.valueOf:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 2: aload 0
getfield org.eclipse.collections.impl.block.comparator.FunctionComparator.comparator: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/eclipse/collections/impl/block/comparator/FunctionComparator<TT;TV;>;
0 3 1 o1 TT;
0 3 2 o2 TT;
1 3 3 attrValue1 TV;
2 3 4 attrValue2 TV;
Signature: (TT;TT;)I
MethodParameters:
Name Flags
o1
o2
}
Signature: <T:Ljava/lang/Object;V:Ljava/lang/Object;>Ljava/lang/Object;Lorg/eclipse/collections/api/block/SerializableComparator<TT;>;
SourceFile: "FunctionComparator.java"