Interface MergedHandlerList<T>
- All Superinterfaces:
FunctionalHandlerList<T,MergedSubscription<T>>
-
Method Summary
Modifier and TypeMethodDescription@NotNull MergedHandlerList<T>biConsumer(@NotNull BiConsumer<MergedSubscription<T>, ? super T> handler) Add aBiConsumerhandler.default @NotNull MergedHandlerList<T>Add aConsumerhandler.Methods inherited from interface dev.demeng.pluginbase.event.functional.FunctionalHandlerList
register
-
Method Details
-
consumer
@NotNull default @NotNull MergedHandlerList<T> consumer(@NotNull @NotNull Consumer<? super T> handler) Description copied from interface:FunctionalHandlerListAdd aConsumerhandler.- Specified by:
consumerin interfaceFunctionalHandlerList<T,MergedSubscription<T>> - Parameters:
handler- the handler- Returns:
- this handler list
-
biConsumer
@NotNull @NotNull MergedHandlerList<T> biConsumer(@NotNull @NotNull BiConsumer<MergedSubscription<T>, ? super T> handler) Description copied from interface:FunctionalHandlerListAdd aBiConsumerhandler.- Specified by:
biConsumerin interfaceFunctionalHandlerList<T,MergedSubscription<T>> - Parameters:
handler- the handler- Returns:
- this handler list
-