public abstract class DmcTypeDouble extends DmcAttribute<Double> implements Serializable
attrInfo, ID| Constructor and Description |
|---|
DmcTypeDouble()
Constructs a new Double attribute.
|
DmcTypeDouble(DmcAttributeInfo ai) |
| Modifier and Type | Method and Description |
|---|---|
Double |
cloneValue(Double original)
This method must be overridden to clone whatever value is stored in this attribute.
|
Double |
deserializeValue(DmcInputStreamIF dis)
Read a Double.
|
void |
serializeValue(DmcOutputStreamIF dos,
Double value)
Write a Double.
|
Double |
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 DmcTypeDouble()
public DmcTypeDouble(DmcAttributeInfo ai)
public Double typeCheck(Object value) throws DmcValueException
DmcAttributetypeCheck in class DmcAttribute<Double>value - the value to be checkedDmcValueException - if the value is incorrectpublic Double cloneValue(Double original)
DmcAttributecloneValue in class DmcAttribute<Double>original - the original valuepublic void serializeValue(DmcOutputStreamIF dos, Double value) throws Exception
serializeValue in class DmcAttribute<Double>dos - The output stream.value - The value to be serialized.Exceptionpublic Double deserializeValue(DmcInputStreamIF dis) throws Exception
deserializeValue in class DmcAttribute<Double>dis - the input stream.ExceptionCopyright © 2023. All rights reserved.