final class reactor.core.publisher.MonoCollect<T, R> extends reactor.core.publisher.MonoFromFluxOperator<T, R> implements reactor.core.Fuseable
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: reactor.core.publisher.MonoCollect
super_class: reactor.core.publisher.MonoFromFluxOperator
{
final java.util.function.Supplier<R> supplier;
descriptor: Ljava/util/function/Supplier;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/function/Supplier<TR;>;
final java.util.function.BiConsumer<? super R, ? super T> action;
descriptor: Ljava/util/function/BiConsumer;
flags: (0x0010) ACC_FINAL
Signature: Ljava/util/function/BiConsumer<-TR;-TT;>;
void <init>(reactor.core.publisher.Flux<? extends T>, java.util.function.Supplier<R>, java.util.function.BiConsumer<? super R, ? super T>);
descriptor: (Lreactor/core/publisher/Flux;Ljava/util/function/Supplier;Ljava/util/function/BiConsumer;)V
flags: (0x0000)
Code:
stack=3, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
invokespecial reactor.core.publisher.MonoFromFluxOperator.<init>:(Lreactor/core/publisher/Flux;)V
1: aload 0
aload 2
ldc "supplier"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
checkcast java.util.function.Supplier
putfield reactor.core.publisher.MonoCollect.supplier:Ljava/util/function/Supplier;
2: aload 0
aload 3
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.util.function.BiConsumer
putfield reactor.core.publisher.MonoCollect.action:Ljava/util/function/BiConsumer;
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lreactor/core/publisher/MonoCollect<TT;TR;>;
0 4 1 source Lreactor/core/publisher/Flux<+TT;>;
0 4 2 supplier Ljava/util/function/Supplier<TR;>;
0 4 3 action Ljava/util/function/BiConsumer<-TR;-TT;>;
Signature: (Lreactor/core/publisher/Flux<+TT;>;Ljava/util/function/Supplier<TR;>;Ljava/util/function/BiConsumer<-TR;-TT;>;)V
MethodParameters:
Name Flags
source
supplier
action
public reactor.core.CoreSubscriber<? super T> subscribeOrReturn(reactor.core.CoreSubscriber<? super R>);
descriptor: (Lreactor/core/CoreSubscriber;)Lreactor/core/CoreSubscriber;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield reactor.core.publisher.MonoCollect.supplier:Ljava/util/function/Supplier;
invokeinterface java.util.function.Supplier.get:()Ljava/lang/Object;
1: ldc "The supplier returned a null container"
2: invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
astore 2
start local 2 3: new reactor.core.publisher.MonoCollect$CollectSubscriber
dup
aload 1
aload 0
getfield reactor.core.publisher.MonoCollect.action:Ljava/util/function/BiConsumer;
aload 2
invokespecial reactor.core.publisher.MonoCollect$CollectSubscriber.<init>:(Lreactor/core/CoreSubscriber;Ljava/util/function/BiConsumer;Ljava/lang/Object;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lreactor/core/publisher/MonoCollect<TT;TR;>;
0 4 1 actual Lreactor/core/CoreSubscriber<-TR;>;
3 4 2 container TR;
Signature: (Lreactor/core/CoreSubscriber<-TR;>;)Lreactor/core/CoreSubscriber<-TT;>;
MethodParameters:
Name Flags
actual
public java.lang.Object scanUnsafe(reactor.core.Scannable$Attr);
descriptor: (Lreactor/core/Scannable$Attr;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
getstatic reactor.core.Scannable$Attr.RUN_STYLE:Lreactor/core/Scannable$Attr;
if_acmpne 1
getstatic reactor.core.Scannable$Attr$RunStyle.SYNC:Lreactor/core/Scannable$Attr$RunStyle;
areturn
1: StackMap locals:
StackMap stack:
aload 0
aload 1
invokespecial reactor.core.publisher.MonoFromFluxOperator.scanUnsafe:(Lreactor/core/Scannable$Attr;)Ljava/lang/Object;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lreactor/core/publisher/MonoCollect<TT;TR;>;
0 2 1 key Lreactor/core/Scannable$Attr;
MethodParameters:
Name Flags
key
}
Signature: <T:Ljava/lang/Object;R:Ljava/lang/Object;>Lreactor/core/publisher/MonoFromFluxOperator<TT;TR;>;Lreactor/core/Fuseable;
SourceFile: "MonoCollect.java"
NestMembers:
reactor.core.publisher.MonoCollect$CollectSubscriber
InnerClasses:
public Attr = reactor.core.Scannable$Attr of reactor.core.Scannable
public final RunStyle = reactor.core.Scannable$Attr$RunStyle of reactor.core.Scannable$Attr
final CollectSubscriber = reactor.core.publisher.MonoCollect$CollectSubscriber of reactor.core.publisher.MonoCollect