|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnz.ac.waikato.mcennis.rat.reusablecores.instancefactory.DoubleInstanceFactory
public class DoubleInstanceFactory
Class for transforming Double property values into an Instance. Cretaes a single numeric attribute with the double value as its value.
| Constructor Summary | |
|---|---|
DoubleInstanceFactory()
|
|
| Method Summary | |
|---|---|
DoubleInstanceFactory |
prototype()
|
Instance |
transform(java.lang.Object value,
java.lang.String name)
Transform an object into an Instance where the name of the dataset and the names of the attributes are derived from the name provided. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DoubleInstanceFactory()
| Method Detail |
|---|
public Instance transform(java.lang.Object value,
java.lang.String name)
InstanceFactory
transform in interface InstanceFactoryvalue - Property value to be transformedname - string utilized to derive a dataset name and attribute names.
public DoubleInstanceFactory prototype()
prototype in interface InstanceFactory
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||