Package org.lemsml.jlems.api
Class LEMSResultsContainer
- java.lang.Object
-
- org.lemsml.jlems.api.LEMSResultsContainer
-
- All Implemented Interfaces:
ILEMSResultsContainer
public class LEMSResultsContainer extends java.lang.Object implements ILEMSResultsContainer
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<IStateIdentifier,LEMSRecordedState>
_recordedStates
-
Constructor Summary
Constructors Constructor Description LEMSResultsContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addState(IStateIdentifier state, java.lang.String dimension)
void
addStateValue(IStateIdentifier state, ALEMSValue value)
LEMSRecordedState
getState(IStateIdentifier state)
java.util.Map<IStateIdentifier,LEMSRecordedState>
getStates()
ALEMSValue
getStateValue(IStateIdentifier state, int timeStep)
boolean
hasState(IStateIdentifier stateIdentifier)
-
-
-
Field Detail
-
_recordedStates
private java.util.Map<IStateIdentifier,LEMSRecordedState> _recordedStates
-
-
Method Detail
-
getState
public LEMSRecordedState getState(IStateIdentifier state)
- Specified by:
getState
in interfaceILEMSResultsContainer
-
getStateValue
public ALEMSValue getStateValue(IStateIdentifier state, int timeStep)
- Specified by:
getStateValue
in interfaceILEMSResultsContainer
-
addState
public void addState(IStateIdentifier state, java.lang.String dimension)
- Specified by:
addState
in interfaceILEMSResultsContainer
-
addStateValue
public void addStateValue(IStateIdentifier state, ALEMSValue value)
- Specified by:
addStateValue
in interfaceILEMSResultsContainer
-
getStates
public java.util.Map<IStateIdentifier,LEMSRecordedState> getStates()
- Specified by:
getStates
in interfaceILEMSResultsContainer
-
hasState
public boolean hasState(IStateIdentifier stateIdentifier)
- Specified by:
hasState
in interfaceILEMSResultsContainer
-
-