Class Value

java.lang.Object
xyz.srnyx.annoyingapi.storage.Value

public class Value extends Object
Represents a value that may be null
This is needed so that the plugin can know whether a value was cached or not for data (because null could be a valid value)
  • Field Details

    • value

      @Nullable public final @Nullable String value
      The value
  • Constructor Details

    • Value

      public Value(@Nullable @Nullable String value)
      Constructs a new value with the given value
      Parameters:
      value - the value
    • Value

      public Value()
      Constructs a new value with a null value
  • Method Details