L
- Type of label.public class LabeledVector<L> extends DatasetRow<Vector>
vector
Constructor and Description |
---|
LabeledVector()
Default constructor.
|
LabeledVector(Vector 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) |
public L label()
public void setLabel(L lb)
lb
- Label.public boolean equals(Object o)
equals
in class DatasetRow<Vector>
public int hashCode()
hashCode
in class DatasetRow<Vector>
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class DatasetRow<Vector>
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class DatasetRow<Vector>
IOException
ClassNotFoundException
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024