Package | Description |
---|---|
org.codefx.libfx.serialization |
Provides serialization related functionality.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Serializable> |
SerializableOptional.empty()
Creates a serializable optional which wraps an empty optional.
|
static <T extends Serializable> |
SerializableOptional.fromOptional(Optional<T> optional)
Creates a serializable optional from the specified optional.
|
static <T extends Serializable> |
SerializableOptional.of(T value)
Creates a serializable optional for the specified value by wrapping it in an
Optional . |
static <T extends Serializable> |
SerializableOptional.ofNullable(T value)
Creates a serializable optional for the specified value by wrapping it in an
Optional . |
This documentation is licensed under CC-BY 4.0, attributed to Nicolai Parlog from CodeFX.