Interface ReadOnlyMap<K,V>

All Known Implementing Classes:
MapBackedClassValue

public interface ReadOnlyMap<K,V>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ReadOnlyMap
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Some implementations might hold on to references, which could be just heavy or potentially harmful, such as ClassLoader leaks: allow for proper cleanup.
    get(K key)
    The main operation.
  • Field Details

  • Method Details

    • get

      V get(K key)
      The main operation.
      Parameters:
      key -
      Returns:
      the corresponding object, or null if there is no association with any entry.
    • dispose

      void dispose()
      Some implementations might hold on to references, which could be just heavy or potentially harmful, such as ClassLoader leaks: allow for proper cleanup.