| Modifier and Type | Method and Description |
|---|---|
static <T> Option<T> |
of(Class<T> type,
T defaultValue)
Defines an option with the provided type and default value.
|
static <T> Option<T> |
withDefault(T defaultValue)
Defines a boolean option with the provided default value.
|
public static <T> Option<T> of(Class<T> type, T defaultValue)
T - The type of value associated with the option.type - The type of value associated with the option.defaultValue - The default value for the option.public static <T> Option<T> withDefault(T defaultValue)
T - The type of value associated with the option.defaultValue - The default value for the option.Copyright © 2025 Open Identity Platform Community. All rights reserved.