Package microsim.statistics
Interface StringSource
- All Known Implementing Classes:
StringInvoker
public interface StringSource
Used by statistical object to access string data. Each variable must have a unique integer id.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescription@NonNull String
getStringValue
(@NonNull Enum<?> variableID) Return the double value corresponding to the given variableID
-
Field Details
-
DEFAULT
static final int DEFAULTThe default variable id.- See Also:
-
-
Method Details
-
getStringValue
Return the double value corresponding to the given variableID- Parameters:
variableID
- A unique identifier for a variable.- Returns:
- The current double value of the required variable.
- Throws:
NullPointerException
- whenvariableID
isnull
.
-