public class DelayedPriorityQueueProxy extends PriorityQueue implements ProxyCollection, DelayedProxy
| Constructor and Description |
|---|
DelayedPriorityQueueProxy() |
DelayedPriorityQueueProxy(Collection paramCollection) |
DelayedPriorityQueueProxy(int paramInt) |
DelayedPriorityQueueProxy(int paramInt,
Comparator paramComparator) |
DelayedPriorityQueueProxy(PriorityQueue paramPriorityQueue) |
DelayedPriorityQueueProxy(SortedSet paramSortedSet) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Object paramObject) |
boolean |
addAll(Collection paramCollection) |
void |
clear() |
Object |
clone() |
void |
closeBroker()
Close the broker that is used to service this proxy.
|
boolean |
contains(Object object) |
boolean |
containsAll(Collection c) |
Object |
copy(Object paramObject)
Return an unproxied copy of the given instance.
|
Object |
element() |
boolean |
equals(Object paramObject) |
Broker |
getBroker()
Get the broker that is used to service this proxy.
|
BrokerFactory |
getBrokerFactory() |
ChangeTracker |
getChangeTracker()
Return the change tracker for this proxy, or null if none.
|
int |
getDelayedField()
Returns the expected field index even if this collection
was detached.
|
OpenJPAStateManager |
getDelayedOwner()
Returns a state manager that can service this proxy even if
the collection was detached.
|
Class |
getElementType()
The collection element type.
|
OpenJPAStateManager |
getOwner()
Return the owning object.
|
int |
getOwnerField()
Return the owning field index.
|
OpenJPAStateManager |
getOwnerStateManager()
Returns the state manager of the owning instance.
|
int |
hashCode() |
boolean |
isDelayLoad() |
boolean |
isDetached()
Returns whether the proxy is detached.
|
boolean |
isDirectAccess()
Returns whether the caller has direct-call access to the proxied
object.
|
boolean |
isEmpty() |
Iterator |
iterator() |
void |
load()
Load the proxy if it was delay-loaded.
|
ProxyCollection |
newInstance(Class paramClass,
Comparator paramComparator,
boolean paramBoolean1,
boolean paramBoolean2)
Create a new instance of this proxy type.
|
boolean |
offer(Object paramObject) |
Object |
peek() |
Object |
poll() |
Object |
remove() |
boolean |
remove(Object paramObject) |
boolean |
removeAll(Collection paramCollection) |
boolean |
retainAll(Collection paramCollection) |
protected void |
setChangeTracker(CollectionChangeTracker ct) |
void |
setDirectAccess(boolean direct)
Sets whether the caller has direct-call access to the proxied
object.
|
protected void |
setElementType(Class<?> elemType) |
void |
setOwner(OpenJPAStateManager paramOpenJPAStateManager,
int paramInt)
Reset the state of the proxy, and set the owning instance of the
proxy and the name of the field it is assigned to.
|
int |
size() |
Object[] |
toArray() |
Object[] |
toArray(Object[] array) |
protected Object |
writeReplace() |
comparator, spliteratortoStringfinalize, getClass, notify, notifyAll, wait, wait, waitparallelStream, removeIf, spliterator, streampublic DelayedPriorityQueueProxy(int paramInt)
public DelayedPriorityQueueProxy(int paramInt,
Comparator paramComparator)
public DelayedPriorityQueueProxy(Collection paramCollection)
public DelayedPriorityQueueProxy(PriorityQueue paramPriorityQueue)
public DelayedPriorityQueueProxy(SortedSet paramSortedSet)
public DelayedPriorityQueueProxy()
public void setOwner(OpenJPAStateManager paramOpenJPAStateManager, int paramInt)
Proxypublic OpenJPAStateManager getOwner()
Proxypublic int getOwnerField()
ProxygetOwnerField in interface Proxypublic Object clone() throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic ChangeTracker getChangeTracker()
ProxygetChangeTracker in interface Proxyprotected void setChangeTracker(CollectionChangeTracker ct)
public Object copy(Object paramObject)
Proxypublic Class getElementType()
ProxyCollectiongetElementType in interface ProxyCollectionprotected void setElementType(Class<?> elemType)
public ProxyCollection newInstance(Class paramClass, Comparator paramComparator, boolean paramBoolean1, boolean paramBoolean2)
ProxyCollectionnewInstance in interface ProxyCollectionpublic boolean add(Object paramObject)
add in interface Collectionadd in interface Queueadd in class PriorityQueuepublic void clear()
clear in interface Collectionclear in class PriorityQueuepublic Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in class PriorityQueuepublic boolean remove(Object paramObject)
remove in interface Collectionremove in class PriorityQueuepublic Object poll()
poll in interface Queuepoll in class PriorityQueuepublic boolean offer(Object paramObject)
offer in interface Queueoffer in class PriorityQueuepublic boolean addAll(Collection paramCollection)
addAll in interface CollectionaddAll in class AbstractQueuepublic Object remove()
remove in interface Queueremove in class AbstractQueuepublic boolean removeAll(Collection paramCollection)
removeAll in interface CollectionremoveAll in class AbstractCollectionpublic boolean retainAll(Collection paramCollection)
retainAll in interface CollectionretainAll in class AbstractCollectionprotected Object writeReplace() throws ObjectStreamException
ObjectStreamExceptionpublic int size()
size in interface Collectionsize in class PriorityQueuepublic boolean isEmpty()
isEmpty in interface CollectionisEmpty in class AbstractCollectionpublic boolean contains(Object object)
contains in interface Collectioncontains in class PriorityQueuepublic Object[] toArray()
toArray in interface CollectiontoArray in class PriorityQueuepublic Object[] toArray(Object[] array)
toArray in interface CollectiontoArray in class PriorityQueuepublic boolean containsAll(Collection c)
containsAll in interface CollectioncontainsAll in class AbstractCollectionpublic Object element()
element in interface Queueelement in class AbstractQueuepublic Object peek()
peek in interface Queuepeek in class PriorityQueuepublic boolean equals(Object paramObject)
equals in interface Collectionequals in class Objectpublic int hashCode()
hashCode in interface CollectionhashCode in class Objectpublic int getDelayedField()
DelayedProxygetDelayedField in interface DelayedProxypublic OpenJPAStateManager getDelayedOwner()
DelayedProxygetDelayedOwner in interface DelayedProxypublic boolean isDirectAccess()
DelayedProxyisDirectAccess in interface DelayedProxypublic void setDirectAccess(boolean direct)
DelayedProxysetDirectAccess in interface DelayedProxypublic BrokerFactory getBrokerFactory()
public void load()
DelayedProxyload in interface DelayedProxypublic Broker getBroker()
DelayedProxygetBroker in interface DelayedProxypublic void closeBroker()
DelayedProxycloseBroker in interface DelayedProxypublic OpenJPAStateManager getOwnerStateManager()
DelayedProxygetOwnerStateManager in interface DelayedProxypublic boolean isDetached()
DelayedProxyisDetached in interface DelayedProxypublic boolean isDelayLoad()
Copyright © 2006–2018 Apache Software Foundation. All rights reserved.