Package org.tensorics.core.tree.domain
Interface EditableResolvingContext
-
- All Superinterfaces:
ResolvingContext
- All Known Implementing Classes:
ResolvingContextImpl
public interface EditableResolvingContext extends ResolvingContext
EditableResolvingContext
corresponding to the mutable version of theResolvingContext
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <R,E extends Expression<R>>
voidput(E key, R value)
Put a key and value in the resolving context.void
putAllNew(ResolvingContext context)
Put all new key/value pairs in the resolving context from a previous version of it-
Methods inherited from interface org.tensorics.core.tree.domain.ResolvingContext
resolvedValueOf, resolves, size
-
-
-
-
Method Detail
-
put
<R,E extends Expression<R>> void put(E key, R value)
Put a key and value in the resolving context. The key is usually an unresolved node and the value is the resolved version of this node- Parameters:
key
- the unresolved nodevalue
- the resolved version of the key node
-
putAllNew
void putAllNew(ResolvingContext context)
Put all new key/value pairs in the resolving context from a previous version of it- Parameters:
context
- the context to extract the new key/value pairs
-
-