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 voidclear()booleancontainsKey(Object o)booleancontainsValue(Object o)Set<Map.Entry<K,V>>entrySet()booleanequals(Object obj)voidforceInitialization()To be called internally by the session, forcing immediate initialization.Vget(Object o)inthashCode()booleanisEmpty()Set<K>keySet()Vput(K k, V v)voidputAll(Map<? extends K,? extends V> map)Vremove(Object o)intsize()StringtoString()Collection<V>values()booleanwasInitialized()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:LazyInitializableIs this instance initialized?- Specified by:
wasInitializedin 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:LazyInitializableTo be called internally by the session, forcing immediate initialization.- Specified by:
forceInitializationin interfaceLazyInitializable- See Also:
Hibernate.initialize(Object)
-
containsKey
public boolean containsKey(Object o)
- Specified by:
containsKeyin interfaceMap<K,V>
-
containsValue
public boolean containsValue(Object o)
- Specified by:
containsValuein interfaceMap<K,V>
-
equals
public boolean equals(Object obj)
-
-