Package microsim.statistics
Interface ObjectSource
public interface ObjectSource
Used by statistical object to access object data. Each variable must have a unique integer id.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescription@NonNull ObjectgetObjectValue(@NonNull Enum<?> variableID) Returns the value corresponding to the given variableID
-
Method Details
-
getObjectValue
Returns the value corresponding to the given variableID- Parameters:
variableID- A unique identifier for a variable.- Returns:
- The current value of the required variable.
- Throws:
NullPointerException- whenvariableIDisnull.
-