Interface ValueProvider<T>

Type Parameters:
T - type of the value
All Known Implementing Classes:
ConstantProvider, FieldProvider

public interface ValueProvider<T>
A generic interface for providing and storing a single value.
  • Method Summary

    Modifier and Type
    Method
    Description
    get()
    Returns the value.
    void
    set(T value)
    Updates the value.
  • Method Details

    • get

      T get()
      Returns the value.
    • set

      void set(T value)
      Updates the value. get() should now return this new value.
      Parameters:
      value -