public class org.eclipse.collections.impl.block.procedure.MaxProcedure<T> implements org.eclipse.collections.api.block.procedure.Procedure<T>
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.collections.impl.block.procedure.MaxProcedure
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected boolean visitedAtLeastOnce;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected T result;
descriptor: Ljava/lang/Object;
flags: (0x0004) ACC_PROTECTED
Signature: TT;
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/collections/impl/block/procedure/MaxProcedure<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.MaxProcedure.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.MaxProcedure.result:Ljava/lang/Object;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/collections/impl/block/procedure/MaxProcedure<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.MaxProcedure.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.MaxProcedure.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/MaxProcedure<TT;>;
Signature: ()Ljava/util/Optional<TT;>;
public void value();
descriptor: (Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.collections.impl.block.procedure.MaxProcedure.visitedAtLeastOnce:Z
ifeq 4
1: aload 1
checkcast java.lang.Comparable
aload 0
getfield org.eclipse.collections.impl.block.procedure.MaxProcedure.result:Ljava/lang/Object;
invokeinterface java.lang.Comparable.compareTo:(Ljava/lang/Object;)I
ifle 6
2: aload 0
aload 1
putfield org.eclipse.collections.impl.block.procedure.MaxProcedure.result:Ljava/lang/Object;
3: goto 6
4: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.eclipse.collections.impl.block.procedure.MaxProcedure.visitedAtLeastOnce:Z
5: aload 0
aload 1
putfield org.eclipse.collections.impl.block.procedure.MaxProcedure.result:Ljava/lang/Object;
6: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/collections/impl/block/procedure/MaxProcedure<TT;>;
0 7 1 each TT;
Signature: (TT;)V
MethodParameters:
Name Flags
each
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;Lorg/eclipse/collections/api/block/procedure/Procedure<TT;>;
SourceFile: "MaxProcedure.java"