Class OverrunGLConfig.Entry<T>

java.lang.Object
overrungl.OverrunGLConfig.Entry<T>
Type Parameters:
T - the type of the configuration
All Implemented Interfaces:
Supplier<T>
Enclosing class:
OverrunGLConfig

public static final class OverrunGLConfig.Entry<T> extends Object implements Supplier<T>
A configuration entry.
Since:
0.2.0
  • Method Details

    • set

      public void set(T value)
      Sets the value.
      Parameters:
      value - the new value
    • get

      public T get()
      Returns the value, or the supplied default value if not set.
      Specified by:
      get in interface Supplier<T>
      Returns:
      the value, or the supplied default value if not set