Klasse DoubleValueHolder
java.lang.Object
de.uplanet.lucy.server.dataobjects.impl.DoubleValueHolder
- Alle implementierten Schnittstellen:
IDoubleValueHolder,IValueHolder<Double>
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungDoubleValueHolder(double p_dblValue) DoubleValueHolder(Number p_numValue) DoubleValueHolder(Object p_value) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungGet the canonical lexical representation of this value according to it's datatype.Get the raw data that this value holder holds.getType()The type of data this value holder holds.getValue()Get the data that this value holder holds.booleanhasValue()Check if this value holder currently holds data or not.
-
Konstruktordetails
-
DoubleValueHolder
public DoubleValueHolder(double p_dblValue) -
DoubleValueHolder
-
DoubleValueHolder
-
-
Methodendetails
-
getRawValue
Beschreibung aus Schnittstelle kopiert:IValueHolderGet the raw data that this value holder holds.- Angegeben von:
getRawValuein SchnittstelleIValueHolder<Double>- Gibt zurück:
- The raw data.
-
getType
Beschreibung aus Schnittstelle kopiert:IValueHolderThe type of data this value holder holds.- Angegeben von:
getTypein SchnittstelleIValueHolder<Double>- Gibt zurück:
IxDatatype.DOUBLE.
-
getValue
Beschreibung aus Schnittstelle kopiert:IValueHolderGet the data that this value holder holds.Implementations MUST ensure that multiple calls to this method will return values that equal each other.
- Angegeben von:
getValuein SchnittstelleIValueHolder<Double>- Gibt zurück:
- The data.
-
hasValue
public boolean hasValue()Beschreibung aus Schnittstelle kopiert:IValueHolderCheck if this value holder currently holds data or not.- Angegeben von:
hasValuein SchnittstelleIValueHolder<Double>- Gibt zurück:
trueif the data holder holds data, orfalseotherwise.
-
getCanonicalLexicalRepresentation
Beschreibung aus Schnittstelle kopiert:IValueHolderGet the canonical lexical representation of this value according to it's datatype.- Angegeben von:
getCanonicalLexicalRepresentationin SchnittstelleIValueHolder<Double>- Gibt zurück:
- The canonical lexical representation of the given double, or
nullifhasValue()isfalse. - Siehe auch:
-