Class GalaxiOption<T>

java.lang.Object
net.ME1312.Galaxi.Library.Container.Value<T>
net.ME1312.Galaxi.Engine.GalaxiOption<T>
Type Parameters:
T - Option Type

public final class GalaxiOption<T> extends Value<T>
Galaxi Option Enum
  • Field Details

  • Method Details

    • value

      public T value(T value)
      Sets the setting (as that which was requested by the app)
      Specified by:
      value in class Value<T>
      Parameters:
      value - Value
      Returns:
      Value
    • def

      public T def()
      Grabs the default setting
      Returns:
      The default setting
    • app

      public T app()
      Grabs the setting as set by the app
      Returns:
      The Apps Setting
    • usr

      public T usr()
      Grabs the setting as set by the user
      Returns:
      The User's Setting
    • value

      public T value()
      Grabs the setting as computed
      Specified by:
      value in class Value<T>
      Returns:
      The Setting