public abstract class org.eclipse.collections.impl.block.procedure.ComparatorProcedure<T> implements org.eclipse.collections.api.block.procedure.Procedure<T>
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.eclipse.collections.impl.block.procedure.ComparatorProcedure
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected final java.util.Comparator<? super T> comparator;
descriptor: Ljava/util/Comparator;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
Signature: Ljava/util/Comparator<-TT;>;
protected boolean visitedAtLeastOnce;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected T result;
descriptor: Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Signature: TT;
protected void <init>(java.util.Comparator<? super T>);
descriptor: (Ljava/util/Comparator;)V
flags: (0x0004) ACC_PROTECTED
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
putfield org.eclipse.collections.impl.block.procedure.ComparatorProcedure.comparator:Ljava/util/Comparator;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/block/procedure/ComparatorProcedure<TT;>;
0 3 1 comparator Ljava/util/Comparator<-TT;>;
Signature: (Ljava/util/Comparator<-TT;>;)V
MethodParameters:
Name Flags
comparator
public boolean isVisitedAtLeastOnce();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.block.procedure.ComparatorProcedure.visitedAtLeastOnce:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/block/procedure/ComparatorProcedure<TT;>;
public T getResult();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.block.procedure.ComparatorProcedure.visitedAtLeastOnce:Z
ifne 2
1: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.block.procedure.ComparatorProcedure.result:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/block/procedure/ComparatorProcedure<TT;>;
Signature: ()TT;
public java.util.Optional<T> getResultOptional();
descriptor: ()Ljava/util/Optional;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.collections.impl.block.procedure.ComparatorProcedure.visitedAtLeastOnce:Z
ifne 2
1: invokestatic java.util.Optional.empty:()Ljava/util/Optional;
areturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.eclipse.collections.impl.block.procedure.ComparatorProcedure.result:Ljava/lang/Object;
invokestatic java.util.Optional.of:(Ljava/lang/Object;)Ljava/util/Optional;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/block/procedure/ComparatorProcedure<TT;>;
Signature: ()Ljava/util/Optional<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lorg/eclipse/collections/api/block/procedure/Procedure<TT;>;
SourceFile: "ComparatorProcedure.java"