mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-17 01:31:01 +00:00
Implemented addValue for SettingsList
This commit is contained in:
1 parent
051b5448d2
commit
86a84eae8f
1 file changed
+6
@@ -86,6 +86,12 @@ public class SettingsList<T extends AbstractGenericSerializableSettings> extends
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void addValue(T value) {
|
||||
ValueCollectionValue<List<Value>> valueObject = ensureValue();
|
||||
this.values.add(value);
|
||||
valueObject.addValue(value.getInnerValueObject());
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
|
||||
Reference in new issue
Block a user