public class DelayedTreeSetProxy extends java.util.TreeSet implements ProxyCollection, DelayedProxy
| Constructor and Description |
|---|
DelayedTreeSetProxy() |
DelayedTreeSetProxy(java.util.Collection paramCollection) |
DelayedTreeSetProxy(java.util.Comparator paramComparator) |
DelayedTreeSetProxy(java.util.SortedSet paramSortedSet) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(java.lang.Object paramObject) |
boolean |
addAll(java.util.Collection paramCollection) |
java.lang.Object |
ceiling(java.lang.Object e) |
void |
clear() |
java.lang.Object |
clone() |
void |
closeBroker()
Close the broker that is used to service this proxy.
|
java.util.Comparator |
comparator() |
boolean |
contains(java.lang.Object object) |
boolean |
containsAll(java.util.Collection c) |
java.lang.Object |
copy(java.lang.Object paramObject)
Return an unproxied copy of the given instance.
|
java.util.Iterator |
descendingIterator() |
java.util.NavigableSet |
descendingSet() |
boolean |
equals(java.lang.Object paramObject) |
java.lang.Object |
first() |
java.lang.Object |
floor(java.lang.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.
|
java.lang.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() |
java.util.SortedSet |
headSet(java.lang.Object toElement) |
java.util.NavigableSet |
headSet(java.lang.Object toElement,
boolean inclusive) |
java.lang.Object |
higher(java.lang.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() |
java.util.Iterator |
iterator() |
java.lang.Object |
last() |
void |
load()
Load the proxy if it was delay-loaded.
|
java.lang.Object |
lower(java.lang.Object e) |
ProxyCollection |
newInstance(java.lang.Class paramClass,
java.util.Comparator paramComparator,
boolean paramBoolean1,
boolean paramBoolean2)
Create a new instance of this proxy type.
|
java.lang.Object |
pollFirst() |
java.lang.Object |
pollLast() |
boolean |
remove(java.lang.Object paramObject) |
boolean |
removeAll(java.util.Collection paramCollection) |
boolean |
retainAll(java.util.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(java.lang.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() |
java.util.NavigableSet |
subSet(java.lang.Object fromElement,
boolean fromInclusive,
java.lang.Object toElement,
boolean toInclusive) |
java.util.SortedSet |
subSet(java.lang.Object fromElement,
java.lang.Object toElement) |
java.util.SortedSet |
tailSet(java.lang.Object fromElement) |
java.util.NavigableSet |
tailSet(java.lang.Object fromElement,
boolean inclusive) |
java.lang.Object[] |
toArray() |
java.lang.Object[] |
toArray(java.lang.Object[] array) |
protected java.lang.Object |
writeReplace() |
public DelayedTreeSetProxy()
public DelayedTreeSetProxy(java.util.Comparator paramComparator)
public DelayedTreeSetProxy(java.util.Collection paramCollection)
public DelayedTreeSetProxy(java.util.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 java.lang.Object copy(java.lang.Object paramObject)
Proxypublic java.lang.Class getElementType()
ProxyCollectiongetElementType in interface ProxyCollectionprotected void setElementType(java.lang.Class<?> elemType)
public ProxyCollection newInstance(java.lang.Class paramClass, java.util.Comparator paramComparator, boolean paramBoolean1, boolean paramBoolean2)
ProxyCollectionnewInstance in interface ProxyCollectionpublic java.lang.Object clone()
clone in class java.util.TreeSetprotected java.lang.Object writeReplace()
throws java.io.ObjectStreamException
java.io.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()
clear in interface java.util.Collectionclear in interface java.util.Setclear in class java.util.TreeSetpublic java.util.Iterator iterator()
iterator in interface java.lang.Iterableiterator in interface java.util.Collectioniterator in interface java.util.NavigableSetiterator in interface java.util.Setiterator in class java.util.TreeSetpublic boolean remove(java.lang.Object paramObject)
remove in interface java.util.Collectionremove in interface java.util.Setremove in class java.util.TreeSetpublic int size()
size in interface java.util.Collectionsize in interface java.util.Setsize in class java.util.TreeSetpublic boolean isEmpty()
isEmpty in interface java.util.CollectionisEmpty in interface java.util.SetisEmpty in class java.util.TreeSetpublic boolean contains(java.lang.Object object)
contains in interface java.util.Collectioncontains in interface java.util.Setcontains in class java.util.TreeSetpublic java.lang.Object[] toArray()
toArray in interface java.util.CollectiontoArray in interface java.util.SettoArray in class java.util.AbstractCollectionpublic java.lang.Object[] toArray(java.lang.Object[] array)
toArray in interface java.util.CollectiontoArray in interface java.util.SettoArray in class java.util.AbstractCollectionpublic java.util.Comparator comparator()
comparator in interface java.util.SortedSetcomparator in class java.util.TreeSetpublic java.lang.Object first()
first in interface java.util.SortedSetfirst in class java.util.TreeSetpublic java.lang.Object last()
last in interface java.util.SortedSetlast in class java.util.TreeSetpublic boolean add(java.lang.Object paramObject)
add in interface java.util.Collectionadd in interface java.util.Setadd in class java.util.TreeSetpublic boolean containsAll(java.util.Collection c)
containsAll in interface java.util.CollectioncontainsAll in interface java.util.SetcontainsAll in class java.util.AbstractCollectionpublic boolean addAll(java.util.Collection paramCollection)
addAll in interface java.util.CollectionaddAll in interface java.util.SetaddAll in class java.util.TreeSetpublic boolean retainAll(java.util.Collection paramCollection)
retainAll in interface java.util.CollectionretainAll in interface java.util.SetretainAll in class java.util.AbstractCollectionpublic boolean removeAll(java.util.Collection paramCollection)
removeAll in interface java.util.CollectionremoveAll in interface java.util.SetremoveAll in class java.util.AbstractSetpublic java.lang.Object lower(java.lang.Object e)
lower in interface java.util.NavigableSetlower in class java.util.TreeSetpublic java.lang.Object floor(java.lang.Object e)
floor in interface java.util.NavigableSetfloor in class java.util.TreeSetpublic java.lang.Object ceiling(java.lang.Object e)
ceiling in interface java.util.NavigableSetceiling in class java.util.TreeSetpublic java.lang.Object higher(java.lang.Object e)
higher in interface java.util.NavigableSethigher in class java.util.TreeSetpublic java.lang.Object pollFirst()
pollFirst in interface java.util.NavigableSetpollFirst in class java.util.TreeSetpublic java.lang.Object pollLast()
pollLast in interface java.util.NavigableSetpollLast in class java.util.TreeSetpublic java.util.NavigableSet descendingSet()
descendingSet in interface java.util.NavigableSetdescendingSet in class java.util.TreeSetpublic java.util.Iterator descendingIterator()
descendingIterator in interface java.util.NavigableSetdescendingIterator in class java.util.TreeSetpublic java.util.NavigableSet subSet(java.lang.Object fromElement,
boolean fromInclusive,
java.lang.Object toElement,
boolean toInclusive)
subSet in interface java.util.NavigableSetsubSet in class java.util.TreeSetpublic java.util.NavigableSet headSet(java.lang.Object toElement,
boolean inclusive)
headSet in interface java.util.NavigableSetheadSet in class java.util.TreeSetpublic java.util.NavigableSet tailSet(java.lang.Object fromElement,
boolean inclusive)
tailSet in interface java.util.NavigableSettailSet in class java.util.TreeSetpublic java.util.SortedSet subSet(java.lang.Object fromElement,
java.lang.Object toElement)
subSet in interface java.util.NavigableSetsubSet in interface java.util.SortedSetsubSet in class java.util.TreeSetpublic java.util.SortedSet headSet(java.lang.Object toElement)
headSet in interface java.util.NavigableSetheadSet in interface java.util.SortedSetheadSet in class java.util.TreeSetpublic java.util.SortedSet tailSet(java.lang.Object fromElement)
tailSet in interface java.util.NavigableSettailSet in interface java.util.SortedSettailSet in class java.util.TreeSetpublic boolean equals(java.lang.Object paramObject)
equals in interface java.util.Collectionequals in interface java.util.Setequals in class java.util.AbstractSetpublic int hashCode()
hashCode in interface java.util.CollectionhashCode in interface java.util.SethashCode in class java.util.AbstractSetCopyright © 2006-2013 Apache Software Foundation. All Rights Reserved.