Package overrungl

Class Configurations.Entry<T>

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

public static final class Configurations.Entry<T> extends Object implements Supplier<T>
A configuration entry.
Since:
0.1.0
Author:
squid233
  • Method Details

    • set

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

      public T get()
      Returns the value, or the default value if it is null.
      Specified by:
      get in interface Supplier<T>
      Returns:
      the value, or the default value if it is null