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 | Class and Description |
---|---|
class |
DelayedArrayListProxy
ArrayList proxy with delay loading capability.
|
class |
DelayedHashSetProxy
HashSet proxy with delay loading capability.
|
class |
DelayedLinkedHashSetProxy
LinkedHashSet proxy with delay loading capability.
|
class |
DelayedLinkedListProxy
LinkedList proxy with delay loading capability.
|
class |
DelayedPriorityQueueProxy
PriorityQueue proxy with delay loading capability.
|
class |
DelayedTreeSetProxy
TreeSet proxy with delay loading capability.
|
class |
DelayedVectorProxy
Vector proxy with delay loading capability.
|
Modifier and Type | Method and Description |
---|---|
ProxyCollection |
DelayedHashSetProxy.newInstance(Class paramClass,
Comparator paramComparator,
boolean paramBoolean1,
boolean paramBoolean2) |
ProxyCollection |
DelayedLinkedHashSetProxy.newInstance(Class paramClass,
Comparator paramComparator,
boolean paramBoolean1,
boolean paramBoolean2) |
ProxyCollection |
DelayedVectorProxy.newInstance(Class paramClass,
Comparator paramComparator,
boolean paramBoolean1,
boolean paramBoolean2) |
ProxyCollection |
DelayedTreeSetProxy.newInstance(Class paramClass,
Comparator paramComparator,
boolean paramBoolean1,
boolean paramBoolean2) |
ProxyCollection |
DelayedArrayListProxy.newInstance(Class paramClass,
Comparator paramComparator,
boolean paramBoolean1,
boolean paramBoolean2) |
ProxyCollection |
ProxyCollection.newInstance(Class elementType,
Comparator comp,
boolean trackChanges,
boolean autoOff)
Create a new instance of this proxy type.
|
ProxyCollection |
DelayedLinkedListProxy.newInstance(Class paramClass,
Comparator paramComparator,
boolean paramBoolean1,
boolean paramBoolean2) |
ProxyCollection |
DelayedPriorityQueueProxy.newInstance(Class paramClass,
Comparator paramComparator,
boolean paramBoolean1,
boolean paramBoolean2) |
Modifier and Type | Method and Description |
---|---|
static boolean |
ProxyCollections.addAll(ProxyCollection coll,
Collection values)
Override for
Collection.addAll(java.util.Collection<? extends E>) . |
static boolean |
ProxyCollections.addAll(ProxyCollection coll,
int index,
Collection values)
Override for
List.addAll(int, Collection) . |
static boolean |
ProxyCollections.afterAdd(ProxyCollection coll,
Object value,
boolean added)
Call after invoking
Collection.add(Object) on super. |
static void |
ProxyCollections.afterAddElement(ProxyCollection coll,
Object value)
Call after invoking
Vector.addElement(Object) on super. |
static void |
ProxyCollections.afterAddLast(ProxyCollection coll,
Object value)
Call after invoking
LinkedList.addLast(Object) on super. |
static Iterator |
ProxyCollections.afterIterator(ProxyCollection coll,
Iterator itr)
Wrap given iterator in a proxy.
|
static ListIterator |
ProxyCollections.afterListIterator(ProxyCollection coll,
int idx,
ListIterator itr)
Wrap given iterator in a proxy.
|
static ListIterator |
ProxyCollections.afterListIterator(ProxyCollection coll,
ListIterator itr)
Wrap given iterator in a proxy.
|
static boolean |
ProxyCollections.afterOffer(ProxyCollection coll,
Object value,
boolean added)
Call after invoking
Queue#offer(Object) on super. |
static Object |
ProxyCollections.afterPoll(ProxyCollection coll,
Object removed)
Call after invoking
Queue#poll on super. |
static Object |
ProxyCollections.afterRemove(ProxyCollection coll,
int index,
Object removed)
Call after invoking
List.remove(int) on super. |
static Object |
ProxyCollections.afterRemove(ProxyCollection coll,
Object removed)
Call after invoking
Queue#remove on super. |
static boolean |
ProxyCollections.afterRemove(ProxyCollection coll,
Object o,
boolean removed)
Call after invoking
Collection.remove(java.lang.Object) on super. |
static boolean |
ProxyCollections.afterRemoveElement(ProxyCollection coll,
Object o,
boolean removed)
Call after invoking
Vector.removeElement(java.lang.Object) on super. |
static Object |
ProxyCollections.afterRemoveFirst(ProxyCollection coll,
Object removed)
Call after invoking
LinkedList.removeFirst() on super. |
static Object |
ProxyCollections.afterRemoveLast(ProxyCollection coll,
Object removed)
Call after invoking
LinkedList.removeLast() on super. |
static Object |
ProxyCollections.afterSet(ProxyCollection coll,
int index,
Object element,
Object replaced)
Call after invoking
List.set(int, E) on super. |
static Object |
ProxyCollections.afterSetElementAt(ProxyCollection coll,
Object element,
int index,
Object replaced)
Call after invoking
Vector.setElementAt(E, int) on super. |
static void |
ProxyCollections.beforeAdd(ProxyCollection coll,
int index,
Object value)
Call before invoking
List.add(int,Object) on super. |
static void |
ProxyCollections.beforeAdd(ProxyCollection coll,
Object value)
Call before invoking
Collection.add(Object) on super. |
static void |
ProxyCollections.beforeAddElement(ProxyCollection coll,
Object value)
Call before invoking
Vector.addElement(Object) on super. |
static void |
ProxyCollections.beforeAddFirst(ProxyCollection coll,
Object value)
Call before invoking
LinkedList.addFirst(Object) on super. |
static void |
ProxyCollections.beforeAddLast(ProxyCollection coll,
Object value)
Call before invoking
LinkedList.addLast(Object) on super. |
static void |
ProxyCollections.beforeClear(ProxyCollection coll)
Call before clearing collection.
|
static void |
ProxyCollections.beforeInsertElementAt(ProxyCollection coll,
Object value,
int index)
Call before invoking
Vector.insertElementAt(Object,int) on super. |
static void |
ProxyCollections.beforeOffer(ProxyCollection coll,
Object value)
Call before invoking
Queue#offer(Object) on super. |
static void |
ProxyCollections.beforePoll(ProxyCollection coll)
Call before invoking
Queue#poll on super. |
static void |
ProxyCollections.beforeRemove(ProxyCollection coll)
Call before invoking
Queue#remove on super. |
static void |
ProxyCollections.beforeRemove(ProxyCollection coll,
int index)
Call before invoking
List.remove(int) on super. |
static void |
ProxyCollections.beforeRemove(ProxyCollection coll,
Object o)
Call before invoking
Collection.remove(java.lang.Object) on super. |
static void |
ProxyCollections.beforeRemoveAllElements(ProxyCollection coll)
Call before clearing vector.
|
static void |
ProxyCollections.beforeRemoveElement(ProxyCollection coll,
Object o)
Call before invoking
Vector.removeElement(java.lang.Object) on super. |
static void |
ProxyCollections.beforeRemoveElementAt(ProxyCollection coll,
int index)
Call before invoking
Vector.removeElementAt(int) on super. |
static void |
ProxyCollections.beforeRemoveFirst(ProxyCollection coll)
Call before invoking
LinkedList.removeFirst() on super. |
static void |
ProxyCollections.beforeRemoveLast(ProxyCollection coll)
Call after invoking
LinkedList.removeLast() on super. |
static void |
ProxyCollections.beforeSet(ProxyCollection coll,
int index,
Object element)
Call before invoking
List.set(int, E) on super. |
static void |
ProxyCollections.beforeSetElementAt(ProxyCollection coll,
Object element,
int index)
Call before invoking
Vector.setElementAt(E, int) on super. |
static boolean |
ProxyCollections.isDelayed(ProxyCollection proxy) |
static void |
ProxyCollections.loadCollection(ProxyCollection proxy) |
static void |
ProxyCollections.loadCollection(ProxyCollection proxy,
boolean detaching) |
static boolean |
ProxyCollections.removeAll(ProxyCollection coll,
Collection<?> vals)
Override for
Collection.removeAll(java.util.Collection<?>) . |
static boolean |
ProxyCollections.retainAll(ProxyCollection coll,
Collection<?> vals)
Override for
Collection.retainAll(java.util.Collection<?>) . |
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.