Package akka.stream.impl
Class BuilderKey
- java.lang.Object
-
- akka.stream.impl.BuilderKey
-
- All Implemented Interfaces:
TraversalBuildStep
public final class BuilderKey extends java.lang.Object implements TraversalBuildStep
INTERNAL APIHelper class that is only used to identify a
TraversalBuilder
in aCompositeTraversalBuilder
. The reason why this is needed is because the builder is referenced at various places, while it needs to be mutated. In an immutable data structure this is best done with an indirection, i.e. places refer to this immutable key and look up the current state in an extra Map. See comments in akka.stream.impl.package for more details.
-
-
Constructor Summary
Constructors Constructor Description BuilderKey()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-