com.rapidminer.example
Class AttributeDescription
java.lang.Object
com.rapidminer.example.AttributeDescription
- All Implemented Interfaces:
- java.io.Serializable
public class AttributeDescription
- extends java.lang.Object
- implements java.io.Serializable
This class holds all basic information about an attribute. This is useful
since a cloned attribute can simply use the same reference to a description
object wihtout the need of cloning all information. This reduces the amount
of used memory due to attribute clones.
- Author:
- Ingo Mierswa
- See Also:
- Serialized Form
|
Constructor Summary |
AttributeDescription(Attribute attribute,
java.lang.String name,
int valueType,
int blockType,
double defaultValue,
int tableIndex)
|
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
AttributeDescription
public AttributeDescription(Attribute attribute,
java.lang.String name,
int valueType,
int blockType,
double defaultValue,
int tableIndex)
clone
public java.lang.Object clone()
- Overrides:
clone in class java.lang.Object
getName
public java.lang.String getName()
setName
public void setName(java.lang.String newName)
getValueType
public int getValueType()
getBlockType
public int getBlockType()
setBlockType
public void setBlockType(int b)
getDefault
public double getDefault()
setDefault
public void setDefault(double defaultValue)
getTableIndex
public int getTableIndex()
setTableIndex
public void setTableIndex(int i)
equals
public boolean equals(java.lang.Object o)
- Returns true if the given attribute has the same name and the same table index.
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
Copyright © 2001-2009 by Rapid-I