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 TypMethodeBeschreibungvoid
Adds the given value to the currentIMutableMultiValueHolder
.void
removeValue
(V value) Removes the given value from the currentIMutableMultiValueHolder
.void
Removes all values from the currentIMutableMultiValueHolder
.Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attributeapi.multiattributeapi.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 currentIMutableMultiValueHolder
does not contain the given value.
-
removeValues
void removeValues()Removes all values from the currentIMutableMultiValueHolder
.
-