Class JTomlOptions

java.lang.Object
io.github.wasabithumb.jtoml.option.JTomlOptions

public final class JTomlOptions extends Object
An immutable map of JTomlOptions and their associated values. If a mapping does not exist, the default value for that option is reported.
See Also:
  • Method Details

    • defaults

      @Contract(pure=true) @NotNull public static @NotNull JTomlOptions defaults()
    • builder

      @Contract("-> new") @NotNull public static @NotNull JTomlOptions.Builder builder()
    • get

      @Contract(pure=true) @NotNull public <T> T get(@NotNull @NotNull JTomlOption<T> option)
    • get

      @Contract(pure=true) public boolean get(@NotNull JTomlOption.Bool option)
    • toString

      @NotNull public @NotNull String toString()
      Overrides:
      toString in class Object