public final class MultiModelState extends java.lang.Object implements IModelState
Modifier and Type | Class and Description |
---|---|
private static class |
MultiModelState.MultiModelPart |
private static class |
MultiModelState.PartPart |
private static class |
MultiModelState.PartState |
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.ImmutableMap<MultiModelState.MultiModelPart,? extends IModelState> |
states |
Constructor and Description |
---|
MultiModelState(com.google.common.collect.ImmutableList<org.apache.commons.lang3.tuple.Pair<M,S>> states) |
Modifier and Type | Method and Description |
---|---|
java.util.Optional<TRSRTransformation> |
apply(java.util.Optional<? extends IModelPart> part) |
static IModelState |
getPartState(IModelState state,
IModel model,
int index) |
private final com.google.common.collect.ImmutableMap<MultiModelState.MultiModelPart,? extends IModelState> states
public MultiModelState(com.google.common.collect.ImmutableList<org.apache.commons.lang3.tuple.Pair<M,S>> states)
public static IModelState getPartState(IModelState state, IModel model, int index)
public java.util.Optional<TRSRTransformation> apply(java.util.Optional<? extends IModelPart> part)
apply
in interface IModelState