📄 result.java
字号:
package dataprocess;
public class Result {
Result(DistributionStrategy strategy) {
this.strategy = strategy;
}
public double[] getData() {
return this.data;
}
public boolean isSuitable() {
return this.suitable;
}
public double getExpectation() {
return expectation;
}
public double getSquareDeviation() {
return this.squaredeviation;
}
public CoodMappingtable getMappingtable() {
return this.mappingTable;
}
public DistributionStrategy getStrategy() {
return this.strategy;
}
void setMappingtable(CoodMappingtable mappingtable) {
this.mappingTable = mappingtable;
}
void setData(double[] data) {
this.data = data;
}
void setExpectation(double expectation) {
this.expectation = expectation;
}
void setSquareDeviation(double squaredeviation) {
this.squaredeviation = squaredeviation;
}
void setSuitable(boolean value) {
this.suitable = value;
}
private DistributionStrategy strategy;
private CoodMappingtable mappingTable;
private boolean suitable;
private double[] data;
private double expectation;
private double squaredeviation;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -