Interface Value<V>

Type Parameters:
V - the referenced value type
All Superinterfaces:
Supplier<V>
All Known Subinterfaces:
OffsetValue<V>
All Known Implementing Classes:
OffsetValue.DefaultOffsetValue, OffsetValue.DurationOffsetValue, OffsetValue.InstantOffsetValue, OffsetValue.TemporalOffsetValue, Value.AbstractValue

public interface Value<V> extends Supplier<V>
A mutable reference to some value.
Author:
Paul Ferraro
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    An abstract value implementation.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    set(V value)
    Updates the referenced value.

    Methods inherited from interface Supplier

    get
  • Method Details

    • set

      void set(V value)
      Updates the referenced value.
      Parameters:
      value - the new value.