com.solarmetric.conf
Class DoubleValue
java.lang.Object
|
+--com.solarmetric.conf.Value
|
+--com.solarmetric.conf.DoubleValue
- All Implemented Interfaces:
- Cloneable
- public class DoubleValue
- extends Value
A double Value
.
Methods inherited from class com.solarmetric.conf.Value |
addAlias, alias, clone, equals, getAliases, getChangeSupport, getDefault, getProperty, getString, hashCode, setAliases, setChangeSupport, setDefault, setProperty, setString, unalias |
DoubleValue
public DoubleValue(String prop)
getValueType
public Class getValueType()
- Description copied from class:
Value
- Returns the type of the property that this Value represents.
- Overrides:
getValueType
in class Value
set
public void set(double value)
- The internal value.
get
public double get()
- The internal value.
getInternalString
protected String getInternalString()
- Description copied from class:
Value
- Return the internal string form of this value.
- Overrides:
getInternalString
in class Value
setInternalString
protected void setInternalString(String val)
- Description copied from class:
Value
- Set this value from the given string.
- Overrides:
setInternalString
in class Value
Copyright 2001,2002 SolarMetric, Inc. All Rights Reserved.