Class SortedMapProxy<K,V>
- java.lang.Object
-
- org.hibernate.envers.internal.entities.mapper.relation.lazy.proxy.SortedMapProxy<K,V>
-
- All Implemented Interfaces:
Serializable
,Map<K,V>
,SortedMap<K,V>
,LazyInitializable
public class SortedMapProxy<K,V> extends Object implements SortedMap<K,V>, LazyInitializable, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SortedMapProxy()
SortedMapProxy(Initializor<SortedMap<K,V>> initializor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Comparator<? super K>
comparator()
boolean
containsKey(Object o)
boolean
containsValue(Object o)
Set<Map.Entry<K,V>>
entrySet()
boolean
equals(Object o)
K
firstKey()
void
forceInitialization()
To be called internally by the session, forcing immediate initialization.V
get(Object o)
int
hashCode()
SortedMap<K,V>
headMap(K k)
boolean
isEmpty()
Set<K>
keySet()
K
lastKey()
V
put(K k, V v)
void
putAll(Map<? extends K,? extends V> map)
V
remove(Object o)
int
size()
SortedMap<K,V>
subMap(K k, K k1)
SortedMap<K,V>
tailMap(K k)
Collection<V>
values()
boolean
wasInitialized()
Is this instance initialized?-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Constructor Detail
-
SortedMapProxy
public SortedMapProxy()
-
SortedMapProxy
public SortedMapProxy(Initializor<SortedMap<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>
-
values
public Collection<V> values()
-
comparator
public Comparator<? super K> comparator()
- Specified by:
comparator
in interfaceSortedMap<K,V>
-
equals
public boolean equals(Object o)
-
-