javax.datamining.data
Interface CategorySetFactory

All Superinterfaces:
Factory

public interface CategorySetFactory
extends Factory

A factory class that creates instances of CategorySet.

Author:
JSR-73 Java Data Mining Expert Group
See Also:
Factory

Method Summary
 CategorySet create(AttributeDataType dataType)
          Creates an instance of CategorySet that contains categorical values of the specified data type.
 CategorySet create(CategorySet categorySet)
          Creates an instance of CategorySet from the given category set.
 

Method Detail

create

public CategorySet create(AttributeDataType dataType)
                   throws JDMException
Creates an instance of CategorySet that contains categorical values of the specified data type.

Parameters:
dataType - The data type of the categorical values in the set.
Returns:
CategorySet
Throws:
JDMException

create

public CategorySet create(CategorySet categorySet)
                   throws JDMException
Creates an instance of CategorySet from the given category set. This is essentially a copy operation.

Parameters:
categorySet -
Returns:
CategorySet
Throws:
JDMException