Interface NullableKey<T>

Type Parameters:
T - the value type
All Superinterfaces:
Key<T>, MapAccessor<T>
All Known Implementing Classes:
NullableObjectKey, TransientKey

public interface NullableKey<T> extends Key<T>
NullableKey.
  • Method Details

    • get

      default @Nullable T get(Map<? super Key<?>,Object> a)
      Description copied from interface: Key
      Gets the value of the attribute denoted by this Key from a Map.
      Specified by:
      get in interface Key<T>
      Specified by:
      get in interface MapAccessor<T>
      Parameters:
      a - A Map.
      Returns:
      The value of the attribute.
    • get

      default @Nullable T get(ReadOnlyMap<? super Key<?>,Object> a)
      Gets the value of the attribute denoted by this Key from a Map.
      Specified by:
      get in interface Key<T>
      Specified by:
      get in interface MapAccessor<T>
      Parameters:
      a - A Map.
      Returns:
      The value of the attribute.