Interface Dict<K,V>

All Known Subinterfaces:
Link

public interface Dict<K,V>
Interface representing a dictionary.
Since:
4.0.17
  • Method Summary

    Modifier and Type
    Method
    Description
    get(K key)
    Returns the value mapped to the given key or null if the given key isn't mapped.
    boolean
    isSet(K key)
    Indicates whether the given key is set or not.
  • Method Details

    • isSet

      @ApiDoc(comment="Indicates whether the given key is set or not.", since="4.0.17") boolean isSet(K key)
      Indicates whether the given key is set or not.
      Returns:
      true if the given key is set in this dict, false otherwise
      Since:
      4.0.17
    • get

      @ApiDoc(comment="Returns the value mapped to the given key or null if the given key isn\'t mapped.", since="4.0.17") @Nullable V get(K key)
      Returns the value mapped to the given key or null if the given key isn't mapped.
      Returns:
      the value mapped to the given key or null
      Since:
      4.0.17