Class FixedProperty<T>

java.lang.Object
dev.prozilla.pine.common.property.VariableProperty<T>
dev.prozilla.pine.common.property.FixedProperty<T>

public class FixedProperty<T> extends VariableProperty<T>
A property with a value that never changes.
  • Field Details

    • value

      protected final T value
  • Constructor Details

    • FixedProperty

      public FixedProperty(T value)
  • Method Details

    • getValue

      public final T getValue()
      Description copied from class: VariableProperty
      Returns the value of this property.
      Specified by:
      getValue in class VariableProperty<T>
      Returns:
      The value of this property.