public final class SimpleModelState extends java.lang.Object implements IModelState
Modifier and Type | Field and Description |
---|---|
private java.util.Optional<TRSRTransformation> |
def |
private com.google.common.collect.ImmutableMap<? extends IModelPart,TRSRTransformation> |
map |
Constructor and Description |
---|
SimpleModelState(com.google.common.collect.ImmutableMap<? extends IModelPart,TRSRTransformation> map) |
SimpleModelState(com.google.common.collect.ImmutableMap<? extends IModelPart,TRSRTransformation> map,
java.util.Optional<TRSRTransformation> def) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<TRSRTransformation> |
apply(java.util.Optional<? extends IModelPart> part) |
private final com.google.common.collect.ImmutableMap<? extends IModelPart,TRSRTransformation> map
private final java.util.Optional<TRSRTransformation> def
public SimpleModelState(com.google.common.collect.ImmutableMap<? extends IModelPart,TRSRTransformation> map)
public SimpleModelState(com.google.common.collect.ImmutableMap<? extends IModelPart,TRSRTransformation> map, java.util.Optional<TRSRTransformation> def)
public java.util.Optional<TRSRTransformation> apply(java.util.Optional<? extends IModelPart> part)
apply
in interface IModelState