public class BehaviorWeights extends Object
| Constructor and Description |
|---|
BehaviorWeights() |
| Modifier and Type | Method and Description |
|---|---|
BehaviorWeights |
addOtherUsesItem(String otherUsesItem) |
boolean |
equals(Object o) |
String |
getBehaviorType()
行为类型。
|
List<String> |
getOtherUses()
其他用途。
|
Integer |
getWeight()
行为权重。
|
int |
hashCode() |
void |
setBehaviorType(String behaviorType) |
void |
setOtherUses(List<String> otherUses) |
void |
setWeight(Integer weight) |
String |
toString() |
BehaviorWeights |
withBehaviorType(String behaviorType) |
BehaviorWeights |
withOtherUses(java.util.function.Consumer<List<String>> otherUsesSetter) |
BehaviorWeights |
withOtherUses(List<String> otherUses) |
BehaviorWeights |
withWeight(Integer weight) |
public BehaviorWeights withBehaviorType(String behaviorType)
public String getBehaviorType()
public void setBehaviorType(String behaviorType)
public BehaviorWeights withWeight(Integer weight)
public Integer getWeight()
public void setWeight(Integer weight)
public BehaviorWeights withOtherUses(List<String> otherUses)
public BehaviorWeights addOtherUsesItem(String otherUsesItem)
public BehaviorWeights withOtherUses(java.util.function.Consumer<List<String>> otherUsesSetter)
Copyright © 2022. All rights reserved.