public class NumericalAttr extends Object
| Constructor and Description |
|---|
NumericalAttr() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getName()
特征名。
|
Float |
getWeight()
权重。
minimum: 0.001
maximum: 1
|
int |
hashCode() |
void |
setName(String name) |
void |
setWeight(Float weight) |
String |
toString() |
NumericalAttr |
withName(String name) |
NumericalAttr |
withWeight(Float weight) |
public NumericalAttr withName(String name)
public String getName()
public void setName(String name)
public NumericalAttr withWeight(Float weight)
public Float getWeight()
public void setWeight(Float weight)
Copyright © 2022. All rights reserved.