Class NullableContainer
java.lang.Object
com.itextpdf.commons.datastructures.NullableContainer
A simple container that can hold a value. This is class is used to make the autoporting of primitive types easier. For example autoporting enums will convert them to non nullable types. But if you embed them in a NullableContainer, the autoporting will convert them to nullable types.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NullableContainer
Creates a newNullableContainer
instance.- Parameters:
-
value
- the value
-
-
Method Details
-
getValue
Gets the value.- Returns:
- the value
-