Top Fields Methods
org.hibernate.internal.util.collections

public Interface ReadOnlyMap<K, V>

Known Direct Implementers
org.hibernate.internal.util.collections.EmptyReadOnlyMap, org.hibernate.internal.util.collections.MapBackedClassValue

Field Summary

Modifier and TypeField and Description
public static final ReadOnlyMap<K, V>

Method Summary

Modifier and TypeMethod and Description
public 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.

public V

Returns:

the corresponding object, or null if there is no association with any entry.
get
(K key)

The main operation.

Field Detail

EMPTYback to summary
public static final ReadOnlyMap<K, V> EMPTY

Method Detail

disposeback to summary
public 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.

getback to summary
public V get(K key)

The main operation.

Returns:V

the corresponding object, or null if there is no association with any entry.