Schnittstelle IFluentMutableMultiValueHolder<H extends IFluentMutableMultiValueHolder<H,V>,V>
- Typparameter:
H- is the type of aIFluentMutableMultiValueHolder.V- is the type of the values of aIFluentMutableMultiValueHolder.
- Alle Superschnittstellen:
IMultiValueHolder<V>
public interface IFluentMutableMultiValueHolder<H extends IFluentMutableMultiValueHolder<H,V>,V>
extends IMultiValueHolder<V>
A
IFluentMutableMultiValueHolder is a IMultiValueHolder whose
values can be added and removed programmatically and fluently.- Version:
- 2023-08-25
- Autor:
- Silvan Wyss
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungAdds the given value to the currentIFluentMutableMultiValueHolder.voidremoveValue(V value) Removes the given value from the currentIFluentMutableMultiValueHolder.voidRemoves all values from the currentIFluentMutableMultiValueHolder.Von Schnittstelle geerbte Methoden ch.nolix.coreapi.attribute.multiattribute.IMultiValueHolder
getStoredValues
-
Methodendetails
-
addValue
Adds the given value to the currentIFluentMutableMultiValueHolder.- Parameter:
value-- Gibt zurück:
- the current
IFluentMutableMultiValueHolder. - Löst aus:
RuntimeException- if the given value is null.
-
removeValue
Removes the given value from the currentIFluentMutableMultiValueHolder.- Parameter:
value-- Löst aus:
RuntimeException- if the currentIFluentMutableMultiValueHolderdoes not contain the given value.
-
removeValues
void removeValues()Removes all values from the currentIFluentMutableMultiValueHolder.
-