public class DecimalConstant extends ConstantDomain<BigDecimal>
Constructor and Description |
---|
DecimalConstant(BigDecimal value)
Creates a new DecimalConstant instance.
|
DecimalConstant(BigDecimal value,
String format)
Creates a new DecimalConstant instance.
|
Modifier and Type | Method and Description |
---|---|
protected DataValue<BigDecimal> |
dataValueOf(BigDecimal value)
Returns a
DataValue for the given value in this domain. |
contains, getTypes, getValue, toString, values
getFormat, setFormat, withFormat
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
arrayOf, arrayOf, arrayOf, contains, containsObject, getType, select, selectValue
public DecimalConstant(BigDecimal value)
public DecimalConstant(BigDecimal value, String format)
protected DataValue<BigDecimal> dataValueOf(BigDecimal value)
DataValue
for the given value in this domain.dataValueOf
in class AbstractValueDomain<BigDecimal>
Copyright © 2024 The Cornutum Project. All rights reserved.