AI-generated Key Takeaways
-
LocalValue is a holder object for the value of a single LocalField within a LocalDataPoint.
-
LocalValue objects are not constructed directly but are created for each field of the LocalDataType for every data point.
-
The value of a LocalValue has a specific format and should be read using format-specific methods like asFloat() or asInt().
-
The format of the value can be obtained using the getFormat() method, which corresponds to a format constant in LocalField.
Holder object for the value of a single LocalField
in a LocalDataPoint
.
Values are not constructed directly; a value for each field of the LocalDataType
is created for each data point.
A field value has a particular format, and should be read using the format-specific
methods. For instance, a float value should be read via asFloat()
.
Formats are defined as constants in LocalField
Public Method Summary
| float | |
| int | |
| boolean | |
| int | getFormat
()
Returns the format of this value, which matches the appropriate field in the
LocalDataType
definition. |
| int | hashCode
()
|
| String | toString
()
|
Inherited Method Summary
Public Methods
public float asFloat ()
Returns the value of this object as a float.
Throws
public int asInt ()
Returns the value of this object as an int.
Throws
public boolean equals ( Object other)
public int getFormat ()
Returns the format of this value, which matches the appropriate field in the LocalDataType
definition.
Returns
- One of the format constants from
LocalField.

