Interface NonNullKey<T>

Type Parameters:
T - the value type
All Superinterfaces:
Key<@NonNull T>, MapAccessor<T>, NonNullMapAccessor<@NonNull T>, Serializable
All Known Implementing Classes:
NonNullListKey, NonNullObjectKey

public interface NonNullKey<@NonNull T> extends Key<@NonNull T>, NonNullMapAccessor<@NonNull T>
NonNullKey.
  • Method Details

    • get

      default @NonNull T get(@NonNull 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 @NonNull T get(@NonNull 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.