public class DelayedTreeSetProxy extends TreeSet implements ProxyCollection, DelayedProxy
| Constructor and Description |
|---|
DelayedTreeSetProxy() |
DelayedTreeSetProxy(Collection paramCollection) |
DelayedTreeSetProxy(Comparator paramComparator) |
DelayedTreeSetProxy(SortedSet paramSortedSet) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Object paramObject) |
boolean |
addAll(Collection paramCollection) |
Object |
ceiling(Object e) |
void |
clear() |
Object |
clone() |
void |
closeBroker()
Close the broker that is used to service this proxy.
|
Comparator |
comparator() |
boolean |
contains(Object object) |
boolean |
containsAll(Collection c) |
Object |
copy(Object paramObject)
Return an unproxied copy of the given instance.
|
Iterator |
descendingIterator() |
NavigableSet |
descendingSet() |
boolean |
equals(Object paramObject) |
Object |
first() |
Object |
floor(Object e) |
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() |
SortedSet |
headSet(Object toElement) |
NavigableSet |
headSet(Object toElement,
boolean inclusive) |
Object |
higher(Object e) |
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() |
Object |
last() |
void |
load()
Load the proxy if it was delay-loaded.
|
Object |
lower(Object e) |
ProxyCollection |
newInstance(Class paramClass,
Comparator paramComparator,
boolean paramBoolean1,
boolean paramBoolean2)
Create a new instance of this proxy type.
|
Object |
pollFirst() |
Object |
pollLast() |
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() |
NavigableSet |
subSet(Object fromElement,
boolean fromInclusive,
Object toElement,
boolean toInclusive) |
SortedSet |
subSet(Object fromElement,
Object toElement) |
SortedSet |
tailSet(Object fromElement) |
NavigableSet |
tailSet(Object fromElement,
boolean inclusive) |
Object[] |
toArray() |
Object[] |
toArray(Object[] array) |
protected Object |
writeReplace() |
spliteratortoStringfinalize, getClass, notify, notifyAll, wait, wait, waitparallelStream, removeIf, spliterator, streampublic DelayedTreeSetProxy()
public DelayedTreeSetProxy(Comparator paramComparator)
public DelayedTreeSetProxy(Collection paramCollection)
public DelayedTreeSetProxy(SortedSet paramSortedSet)
public void setOwner(OpenJPAStateManager paramOpenJPAStateManager, int paramInt)
Proxypublic OpenJPAStateManager getOwner()
Proxypublic int getOwnerField()
ProxygetOwnerField in interface Proxypublic 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 ProxyCollectionprotected Object writeReplace() throws ObjectStreamException
ObjectStreamExceptionpublic 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()
public void clear()
public Iterator iterator()
iterator in interface Iterableiterator in interface Collectioniterator in interface NavigableSetiterator in interface Setiterator in class TreeSetpublic boolean remove(Object paramObject)
public int size()
public boolean isEmpty()
public boolean contains(Object object)
public Object[] toArray()
toArray in interface CollectiontoArray in interface SettoArray in class AbstractCollectionpublic Object[] toArray(Object[] array)
toArray in interface CollectiontoArray in interface SettoArray in class AbstractCollectionpublic Comparator comparator()
comparator in interface SortedSetcomparator in class TreeSetpublic Object first()
public Object last()
public boolean add(Object paramObject)
public boolean containsAll(Collection c)
containsAll in interface CollectioncontainsAll in interface SetcontainsAll in class AbstractCollectionpublic boolean addAll(Collection paramCollection)
public boolean retainAll(Collection paramCollection)
retainAll in interface CollectionretainAll in interface SetretainAll in class AbstractCollectionpublic boolean removeAll(Collection paramCollection)
removeAll in interface CollectionremoveAll in interface SetremoveAll in class AbstractSetpublic Object lower(Object e)
lower in interface NavigableSetlower in class TreeSetpublic Object floor(Object e)
floor in interface NavigableSetfloor in class TreeSetpublic Object ceiling(Object e)
ceiling in interface NavigableSetceiling in class TreeSetpublic Object higher(Object e)
higher in interface NavigableSethigher in class TreeSetpublic Object pollFirst()
pollFirst in interface NavigableSetpollFirst in class TreeSetpublic Object pollLast()
pollLast in interface NavigableSetpollLast in class TreeSetpublic NavigableSet descendingSet()
descendingSet in interface NavigableSetdescendingSet in class TreeSetpublic Iterator descendingIterator()
descendingIterator in interface NavigableSetdescendingIterator in class TreeSetpublic NavigableSet subSet(Object fromElement, boolean fromInclusive, Object toElement, boolean toInclusive)
subSet in interface NavigableSetsubSet in class TreeSetpublic NavigableSet headSet(Object toElement, boolean inclusive)
headSet in interface NavigableSetheadSet in class TreeSetpublic NavigableSet tailSet(Object fromElement, boolean inclusive)
tailSet in interface NavigableSettailSet in class TreeSetpublic boolean equals(Object paramObject)
equals in interface Collectionequals in interface Setequals in class AbstractSetpublic int hashCode()
hashCode in interface CollectionhashCode in interface SethashCode in class AbstractSetCopyright © 2006–2022 Apache Software Foundation. All rights reserved.