Interface ValueAware<T>

Type Parameters:
T - value type
All Known Subinterfaces:
Annotation<T>, OpaqueObject<T>, ScalarTypeObject<T>
All Known Implementing Classes:
AbstractOpaqueObject, CodecOpaqueObject

@Beta public sealed interface ValueAware<T> permits Annotation<T>, OpaqueObject<T>, ScalarTypeObject<T>
Simple interface for reuse with BindingObjects which expose a single value in some representation. This interface is not meant to be directly implemented.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull T
    Return the value associated with this object.
  • Method Details

    • getValue

      @NonNull T getValue()
      Return the value associated with this object.
      Returns:
      This object's value.