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