public final class XtfZones extends Object
These are zone names with a set of variables associated, and with one numeric value for each variable per zone.
Modifier and Type | Method and Description |
---|---|
Double |
getValue(String zone,
String variable)
Get the value for the specified variable of the given zone.
|
List<String> |
getVariables()
Return a list of the variables defined for each zone.
|
List<String> |
getZones()
Return a list of all the zones in this instance.
|
String |
toString() |
public List<String> getZones()
public List<String> getVariables()
public Double getValue(String zone, String variable)
zone
- Zone to get value from.variable
- Variable to get value from.IllegalArgumentException
- If zone or variable is null or
not among the zones or variables defined.Copyright © 2024 Petroware AS - https://petroware.no