Package | Description |
---|---|
org.apache.openjpa.util |
OpenJPA Utilities
This package provides utilities to facilitate the handling of second
class objects and OpenJPA object ids.
|
Modifier and Type | Method and Description |
---|---|
ProxyMap |
ProxyMap.newInstance(Class keyType,
Class valueType,
Comparator compare,
boolean trackChanges,
boolean autoOff)
Create a new instance of this proxy type.
|
Modifier and Type | Method and Description |
---|---|
static Set |
ProxyMaps.afterEntrySet(ProxyMap map,
Set entries)
Wrap the given entry set in a proxy.
|
static Object |
ProxyMaps.afterGet(ProxyMap map,
Object key,
Object ret,
boolean before)
Call after invoking
Map.get(java.lang.Object) on super. |
static Object |
ProxyMaps.afterPut(ProxyMap map,
Object key,
Object value,
Object ret,
boolean before)
Call after invoking
Map.put(K, V) on super. |
static Object |
ProxyMaps.afterRemove(ProxyMap map,
Object key,
Object ret,
boolean before)
Call after invoking
Map.remove(java.lang.Object) on super. |
static boolean |
ProxyConcurrentMaps.afterRemove(ProxyMap map,
Object key,
Object value,
boolean ret,
boolean before)
Call after invoking
Map#remove(key, value) on super. |
static Object |
ProxyMaps.afterSetProperty(ProxyMap map,
String key,
String value,
Object ret,
boolean before)
Call after invoking
Properties.setProperty(java.lang.String, java.lang.String) on super. |
static void |
ProxyMaps.beforeClear(ProxyMap map)
Call before invoking
Map.clear() on super. |
static boolean |
ProxyMaps.beforeGet(ProxyMap map,
Object key)
Call before invoking
Map.get(java.lang.Object) on super. |
static void |
ProxyMaps.beforeLoad(ProxyMap map,
InputStream in)
Call before invoking
Properties.load(java.io.Reader) on super. |
static void |
ProxyMaps.beforeLoadFromXML(ProxyMap map,
InputStream in)
Call before invoking
Properties#loadXML on super. |
static boolean |
ProxyMaps.beforePut(ProxyMap map,
Object key,
Object value)
Call before invoking
Map.put(K, V) on super. |
static boolean |
ProxyMaps.beforeRemove(ProxyMap map,
Object key)
Call before invoking
Map.remove(java.lang.Object) on super. |
static boolean |
ProxyConcurrentMaps.beforeRemove(ProxyMap map,
Object key,
Object value)
Call before invoking
Map#remove(key, value) on super. |
static boolean |
ProxyMaps.beforeSetProperty(ProxyMap map,
String key,
String value)
Call before invoking
Properties.setProperty(java.lang.String, java.lang.String) on super. |
static Set |
ProxyMaps.keySet(ProxyMap map)
Override for
Map.keySet() . |
static void |
ProxyMaps.putAll(ProxyMap map,
Map values)
Overload for
Map.putAll(java.util.Map<? extends K, ? extends V>) . |
static Collection |
ProxyMaps.values(ProxyMap map)
Override for
Map.values() . |
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.