All Downloads are FREE. Search and download functionalities are using the official Maven repository.

streams.weka.StringAttribute Maven / Gradle / Ivy

/**
 * 
 */
package streams.weka;

import java.util.ArrayList;

import weka.core.Attribute;

/**
 * @author chris
 * 
 */
public class StringAttribute extends Attribute {

	/** The unique class ID */
	private static final long serialVersionUID = -6478741288493392903L;

	/**
	 * @param attributeName The attribute name
	 */
	public StringAttribute(String attributeName) {
		super(attributeName, new ArrayList());
		this.m_Type = Attribute.STRING;
	}

	public StringAttribute(String name, String firstValue) {
		this(name);
		this.addStringValue(firstValue);
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy