Interface NonNullKey<T>

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

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

    • get

      default 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 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.