Interface ReadOnlyMap<K,V>
- All Known Implementing Classes:
MapBackedClassValue
public interface ReadOnlyMap<K,V>
-
Field Summary
Fields -
Method Summary
-
Field Details
-
EMPTY
-
-
Method Details
-
get
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.
-