Online-IDE-files/DataPoint.java aktualisiert
Getter und Setter hinzugefügt
This commit is contained in:
@@ -19,4 +19,20 @@ public class DataPoint {
|
||||
retStr += ", x2: " + String.valueOf(this.x2);
|
||||
return retStr;
|
||||
}
|
||||
|
||||
double getX1() {
|
||||
return x1;
|
||||
}
|
||||
|
||||
double getX2() {
|
||||
return x2;
|
||||
}
|
||||
|
||||
String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
int getLabel() {
|
||||
return label;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user