Schnittstelle IUpdaterCollector<O>
- Typparameter:
O- is the type of theObjects the updaters of aIUpdaterCollectorcan mutate.
- Alle Superschnittstellen:
Clearable,EmptinessRequestable
- Alle bekannten Implementierungsklassen:
UpdaterCollector
- Version:
- 2025-01-12
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidaddUpdater(Consumer<O> updater) Adds the given updater to the currentIUpdaterCollector.voidaddUpdaters(IContainer<Consumer<O>> updaters) Adds the given updaters to the currentIUpdaterCollector.voidupdateObjectAndClear(O object) Updates the given object and clears the currentIUpdaterCollector.Von Schnittstelle geerbte Methoden ch.nolix.coreapi.state.staterequest.EmptinessRequestable
containsAny, isEmpty
-
Methodendetails
-
addUpdater
Adds the given updater to the currentIUpdaterCollector.- Parameter:
updater-- Löst aus:
RuntimeException- if the given updater is null.
-
addUpdaters
Adds the given updaters to the currentIUpdaterCollector.- Parameter:
updaters-- Löst aus:
RuntimeException- if the given updaters is null.RuntimeException- if one of the given updaters is null.
-
updateObjectAndClear
Updates the given object and clears the currentIUpdaterCollector.- Parameter:
object-- Löst aus:
RuntimeException- if the given object is null.
-