Class JTomlOptions.Builder
java.lang.Object
io.github.wasabithumb.jtoml.option.JTomlOptions.Builder
- Enclosing class:
- JTomlOptions
-
Method Summary
Modifier and TypeMethodDescription@NotNull JTomlOptionsbuild()<T> @NotNull JTomlOptions.Builderset(@NotNull JTomlOption<T> key, T value) @NotNull JTomlOptions.Builderunset(@NotNull JTomlOption<?> key)
-
Method Details
-
set
@Contract(value="_, _ -> this", mutates="this") @NotNull public <T> @NotNull JTomlOptions.Builder set(@NotNull @NotNull JTomlOption<T> key, @Nullable T value) throws IllegalArgumentException - Throws:
IllegalArgumentException
-
unset
@Contract(value="_ -> this", mutates="this") @NotNull public @NotNull JTomlOptions.Builder unset(@NotNull @NotNull JTomlOption<?> key) -
build
-