Schnittstelle IOptionalValueHolder<V>
- Typparameter:
V- is the type of the value of aIOptionalValueHolder.
- Alle bekannten Unterschnittstellen:
IFluentMutableOptionalValueHolder<H,,V> IMutableOptionalValueHolder<V>,IMutableXmlNode,IXmlNode<N>
- Alle bekannten Implementierungsklassen:
MutableXmlNode
public interface IOptionalValueHolder<V>
A
IOptionalValueHolder can have a value.- Version:
- 2023-02-03
- Autor:
- Silvan Wyss
-
Methodenübersicht
-
Methodendetails
-
getValue
V getValue()- Gibt zurück:
- the value of the current
IOptionalValueHolder. - Löst aus:
RuntimeException- if the currentIOptionalValueHolderdoes not have a value.
-
hasValue
boolean hasValue()- Gibt zurück:
- true if the current
IOptionalValueHolderhas a value.
-