Package io.molr.mole.core.tree.tracking
Class TreeTracker<T>
- java.lang.Object
-
- io.molr.mole.core.tree.tracking.TreeTracker<T>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TreeTracker.Builder<T>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<io.molr.commons.domain.Block,T>
blockResults()
static <T> TreeTracker<T>
create(io.molr.commons.domain.MissionRepresentation representation, TreeTracker<T> oldTracker)
static <T> TreeTracker<T>
create(io.molr.commons.domain.MissionRepresentation representation, T defaultValue, java.util.function.Function<java.lang.Iterable<T>,T> summarizer)
void
push(io.molr.commons.domain.Block node, T result)
T
resultFor(io.molr.commons.domain.Block block)
reactor.core.publisher.Flux<T>
resultUpdatesFor(io.molr.commons.domain.Block block)
-
-
-
Method Detail
-
create
public static <T> TreeTracker<T> create(io.molr.commons.domain.MissionRepresentation representation, T defaultValue, java.util.function.Function<java.lang.Iterable<T>,T> summarizer)
-
create
public static <T> TreeTracker<T> create(io.molr.commons.domain.MissionRepresentation representation, TreeTracker<T> oldTracker)
-
push
public void push(io.molr.commons.domain.Block node, T result)
-
resultFor
public T resultFor(io.molr.commons.domain.Block block)
-
resultUpdatesFor
public reactor.core.publisher.Flux<T> resultUpdatesFor(io.molr.commons.domain.Block block)
-
blockResults
public java.util.Map<io.molr.commons.domain.Block,T> blockResults()
- Specified by:
blockResults
in interfaceTracker<T>
-
-