public class NumericAttribute extends Attribute
| Constructor and Description |
|---|
NumericAttribute()
Default constructor.
|
NumericAttribute(java.lang.String name)
Explicit constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
java.lang.String |
toString()
Returns a string representation of this NumericAttribute.
|
boolean |
validValue(java.lang.Double value)
Returns whether the specified value is valid for a numeric attribute.
|
public NumericAttribute()
public NumericAttribute(java.lang.String name)
name - the name of this data setpublic java.lang.String toString()
public boolean validValue(java.lang.Double value)
value - the value for testingpublic static void main(java.lang.String[] args)