Class MapProxy<K,V>
- java.lang.Object
-
- org.hibernate.envers.internal.entities.mapper.relation.lazy.proxy.MapProxy<K,V>
-
- All Implemented Interfaces:
Serializable
,Map<K,V>
,LazyInitializable
public class MapProxy<K,V> extends Object implements Map<K,V>, LazyInitializable, Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
boolean
containsKey(Object o)
boolean
containsValue(Object o)
Set<Map.Entry<K,V>>
entrySet()
boolean
equals(Object obj)
void
forceInitialization()
To be called internally by the session, forcing immediate initialization.V
get(Object o)
int
hashCode()
boolean
isEmpty()
Set<K>
keySet()
V
put(K k, V v)
void
putAll(Map<? extends K,? extends V> map)
V
remove(Object o)
int
size()
String
toString()
Collection<V>
values()
boolean
wasInitialized()
Is this instance initialized?-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
MapProxy
public MapProxy()
-
MapProxy
public MapProxy(Initializor<Map<K,V>> initializor)
-
-
Method Detail
-
wasInitialized
public final boolean wasInitialized()
Description copied from interface:LazyInitializable
Is this instance initialized?- Specified by:
wasInitialized
in interfaceLazyInitializable
- Returns:
- Was this collection initialized? Or is its data still not (fully) loaded?
- See Also:
Hibernate.isInitialized(Object)
-
forceInitialization
public final void forceInitialization()
Description copied from interface:LazyInitializable
To be called internally by the session, forcing immediate initialization.- Specified by:
forceInitialization
in interfaceLazyInitializable
- See Also:
Hibernate.initialize(Object)
-
containsKey
public boolean containsKey(Object o)
- Specified by:
containsKey
in interfaceMap<K,V>
-
containsValue
public boolean containsValue(Object o)
- Specified by:
containsValue
in interfaceMap<K,V>
-
equals
public boolean equals(Object obj)
-
-