Package io.molr.mole.core.tree.tracking
Class LeafTracker<T>
- java.lang.Object
-
- io.molr.mole.core.tree.tracking.LeafTracker<T>
-
- All Implemented Interfaces:
BlockTracker<T>
public class LeafTracker<T> extends java.lang.Object implements BlockTracker<T>
-
-
Constructor Summary
Constructors Constructor Description LeafTracker(T initialValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description reactor.core.publisher.Flux<T>
asStream()
void
push(T result)
T
result()
-
-
-
Constructor Detail
-
LeafTracker
public LeafTracker(T initialValue)
-
-
Method Detail
-
asStream
public reactor.core.publisher.Flux<T> asStream()
- Specified by:
asStream
in interfaceBlockTracker<T>
-
push
public void push(T result)
-
result
public T result()
- Specified by:
result
in interfaceBlockTracker<T>
-
-