Interface PrimitiveValue
- All Superinterfaces:
FeatureValue, Serializable
- All Known Implementing Classes:
PrimitiveValueImpl, VinciPrimitiveValue
Represents a primitive feature value - a string, integer, or float. Arrays are represented as
FeatureStructures, not as primitive values.
-
Method Summary
Methods inherited from interface FeatureValue
get
-
Method Details
-
toString
-
toInt
int toInt()Gets this value as an integer.- Returns:
- integer value, 0 if a non-integer
-
toFloat
float toFloat()Gets this value as a float.- Returns:
- float value, 0 if a non-number.
-