V - Some class extending Vector.L - Type of label.public class LabeledVector<V extends Vector,L> extends DatasetRow<V>
vector| Constructor and Description |
|---|
LabeledVector()
Default constructor.
|
LabeledVector(V vector,
L lb)
Construct labeled vector.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
hashCode() |
L |
label()
Get the label.
|
void |
readExternal(ObjectInput in) |
void |
setLabel(L lb)
Set the label
|
void |
writeExternal(ObjectOutput out) |
featurespublic L label()
public void setLabel(L lb)
lb - Label.public boolean equals(Object o)
equals in class DatasetRow<V extends Vector>public int hashCode()
hashCode in class DatasetRow<V extends Vector>public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class DatasetRow<V extends Vector>IOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class DatasetRow<V extends Vector>IOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.2 Release Date : February 6 2019