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 attribute.
|
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)
throws java.lang.Exception
name - the name of this data setjava.lang.Exceptionpublic java.lang.String toString()
public boolean validValue(java.lang.Double value)
throws java.lang.Exception
value - the value for testingjava.lang.Exception - if an exception occurspublic static void main(java.lang.String[] args)