Schnittstelle IMutableMultiValueHolder<V>
- Typparameter:
V- is the type of the values of aIMutableMultiValueHolder.
- Alle Superschnittstellen:
IMultiValueHolder<V>
A
IMutableMultiValueHolder is a IMultiValueHolder whose
values can be added and removed programmatically.- Version:
- 2023-09-11
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoidAdds the given value to the currentIMutableMultiValueHolder.voidremoveValue(V value) Removes the given value from the currentIMutableMultiValueHolder.voidRemoves all values from the currentIMutableMultiValueHolder.Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attribute.multiattribute.IMultiValueHolder
getStoredValues
-
Methodendetails
-
addValue
Adds the given value to the currentIMutableMultiValueHolder.- Parameter:
value-- Löst aus:
RuntimeException- if the given value is null.
-
removeValue
Removes the given value from the currentIMutableMultiValueHolder.- Parameter:
value-- Löst aus:
RuntimeException- if the currentIMutableMultiValueHolderdoes not contain the given value.
-
removeValues
void removeValues()Removes all values from the currentIMutableMultiValueHolder.
-