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