|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.uima.cas_data.impl.PrimitiveValueImpl
public class PrimitiveValueImpl
| Constructor Summary | |
|---|---|
PrimitiveValueImpl(float aValue)
|
|
PrimitiveValueImpl(int aValue)
|
|
PrimitiveValueImpl(java.lang.String aValue)
|
|
| Method Summary | |
|---|---|
java.lang.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. |
java.lang.String |
toString()
Gets this value as a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PrimitiveValueImpl(java.lang.String aValue)
public PrimitiveValueImpl(int aValue)
public PrimitiveValueImpl(float aValue)
| Method Detail |
|---|
public java.lang.String toString()
PrimitiveValue
toString in interface PrimitiveValuetoString in class java.lang.Objectpublic int toInt()
PrimitiveValue
toInt in interface PrimitiveValuepublic float toFloat()
PrimitiveValue
toFloat in interface PrimitiveValuepublic java.lang.Object get()
FeatureValue
get in interface FeatureValue
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||