public abstract class DmcTypeFloat extends DmcAttribute<Float> implements Serializable
attrInfo, ID| Constructor and Description |
|---|
DmcTypeFloat()
Constructs a new Float attribute.
|
DmcTypeFloat(DmcAttributeInfo ai) |
| Modifier and Type | Method and Description |
|---|---|
Float |
cloneValue(Float original)
This method must be overridden to clone whatever value is stored in this attribute.
|
Float |
deserializeValue(DmcInputStreamIF dis)
Read a Float.
|
void |
serializeValue(DmcOutputStreamIF dos,
Float value)
Write a Float.
|
Float |
typeCheck(Object value)
Derived classes must overload this method to determine if the value passed
in conforms with their type criteria.
|
add, addModsMV, addModsSV, cloneIt, compareTo, contains, containsKey, del, deserializeIt, formatValue, formatValueAsCompactJSON, formatValueAsJSON, getAttributeInfo, getByKey, getID, getMV, getMVnth, getMVSize, getName, getNew, getSV, hasValue, modifierFormat, serializeIt, set, setAttributeInfo, setMVnth, toOIF, toOIF, valueChangedMV, valueChangedSVpublic DmcTypeFloat()
public DmcTypeFloat(DmcAttributeInfo ai)
public Float typeCheck(Object value) throws DmcValueException
DmcAttributetypeCheck in class DmcAttribute<Float>value - the value to be checkedDmcValueException - if the value is incorrectpublic Float cloneValue(Float original)
DmcAttributecloneValue in class DmcAttribute<Float>original - the original valuepublic void serializeValue(DmcOutputStreamIF dos, Float value) throws Exception
serializeValue in class DmcAttribute<Float>dos - The output stream.value - The value to be serialized.Exceptionpublic Float deserializeValue(DmcInputStreamIF dis) throws Exception
deserializeValue in class DmcAttribute<Float>dis - the input stream.ExceptionCopyright © 2023. All rights reserved.