public class AttributesInformation extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected Attribute[] |
attributes
The attribute information.
|
protected Attribute |
defaultNumericAttribute
The attribute used for default for numerical values
|
protected int[] |
indexValues |
protected int |
numberAttributes
The number of attributes.
|
Constructor and Description |
---|
AttributesInformation() |
AttributesInformation(Attribute[] v,
int numberAttributes) |
AttributesInformation(Attribute[] v,
int[] i,
int numberAttributes) |
AttributesInformation(AttributesInformation chunk) |
AttributesInformation(List<Attribute> v,
int numberAttributes) |
Modifier and Type | Method and Description |
---|---|
Attribute |
attribute(int indexAttribute)
Attribute.
|
void |
deleteAttributeAt(int position) |
void |
insertAttributeAt(Attribute attribute,
int position) |
int |
locateIndex(int index)
Locates the greatest index that is not greater than the given index.
|
void |
setAttributes(Attribute[] v)
Sets the attribute information.
|
void |
setAttributes(Attribute[] v,
int[] indexValues) |
protected Attribute[] attributes
protected int[] indexValues
protected int numberAttributes
protected Attribute defaultNumericAttribute
public AttributesInformation(AttributesInformation chunk)
public AttributesInformation(Attribute[] v, int[] i, int numberAttributes)
public AttributesInformation(Attribute[] v, int numberAttributes)
public AttributesInformation()
public Attribute attribute(int indexAttribute)
indexAttribute
- the index Attributepublic void setAttributes(Attribute[] v)
v
- the new attribute informationpublic int locateIndex(int index)
public void setAttributes(Attribute[] v, int[] indexValues)
public void deleteAttributeAt(int position)
public void insertAttributeAt(Attribute attribute, int position)
Copyright © 2019 University of Waikato, Hamilton, NZ. All Rights Reserved.