public class PrimitiveValueImpl extends Object implements PrimitiveValue
| Constructor and Description |
|---|
PrimitiveValueImpl(float aValue) |
PrimitiveValueImpl(int aValue) |
PrimitiveValueImpl(String aValue) |
| Modifier and Type | Method and Description |
|---|---|
Object |
get()
Gets the feature value as a Java object.
|
float |
toFloat()
Gets this value as a float.
|
int |
toInt()
Gets this value as an integer.
|
String |
toString()
Gets this value as a string.
|
public PrimitiveValueImpl(String aValue)
public PrimitiveValueImpl(int aValue)
public PrimitiveValueImpl(float aValue)
public String toString()
PrimitiveValuetoString in interface PrimitiveValuetoString in class Objectpublic int toInt()
PrimitiveValuetoInt in interface PrimitiveValuepublic float toFloat()
PrimitiveValuetoFloat in interface PrimitiveValuepublic Object get()
FeatureValueget in interface FeatureValueCopyright © 2006–2021 The Apache Software Foundation. All rights reserved.