java.io.Serializable
public class AttributesInformation
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field | 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 | Description |
---|---|
AttributesInformation() |
|
AttributesInformation(Attribute[] v,
int numberAttributes) |
|
AttributesInformation(Attribute[] v,
int[] i,
int numberAttributes) |
|
AttributesInformation(AttributesInformation chunk) |
|
AttributesInformation(java.util.List<Attribute> v,
int numberAttributes) |
Modifier and Type | Method | 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(java.util.List<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.