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)
Proxy
public OpenJPAStateManager getOwner()
Proxy
public int getOwnerField()
Proxy
getOwnerField
in interface Proxy
public ChangeTracker getChangeTracker()
Proxy
getChangeTracker
in interface Proxy
protected void setChangeTracker(CollectionChangeTracker ct)
public java.lang.Object copy(java.lang.Object paramObject)
Proxy
public java.lang.Class getElementType()
ProxyCollection
getElementType
in interface ProxyCollection
protected void setElementType(java.lang.Class<?> elemType)
public ProxyCollection newInstance(java.lang.Class paramClass, java.util.Comparator paramComparator, boolean paramBoolean1, boolean paramBoolean2)
ProxyCollection
newInstance
in interface ProxyCollection
public java.lang.Object clone()
clone
in class java.util.TreeSet
protected java.lang.Object writeReplace() throws java.io.ObjectStreamException
java.io.ObjectStreamException
public int getDelayedField()
DelayedProxy
getDelayedField
in interface DelayedProxy
public OpenJPAStateManager getDelayedOwner()
DelayedProxy
getDelayedOwner
in interface DelayedProxy
public boolean isDirectAccess()
DelayedProxy
isDirectAccess
in interface DelayedProxy
public void setDirectAccess(boolean direct)
DelayedProxy
setDirectAccess
in interface DelayedProxy
public BrokerFactory getBrokerFactory()
public void load()
DelayedProxy
load
in interface DelayedProxy
public Broker getBroker()
DelayedProxy
getBroker
in interface DelayedProxy
public void closeBroker()
DelayedProxy
closeBroker
in interface DelayedProxy
public OpenJPAStateManager getOwnerStateManager()
DelayedProxy
getOwnerStateManager
in interface DelayedProxy
public boolean isDetached()
DelayedProxy
isDetached
in interface DelayedProxy
public boolean isDelayLoad()
public void clear()
clear
in interface java.util.Collection
clear
in interface java.util.Set
clear
in class java.util.TreeSet
public java.util.Iterator iterator()
iterator
in interface java.lang.Iterable
iterator
in interface java.util.Collection
iterator
in interface java.util.NavigableSet
iterator
in interface java.util.Set
iterator
in class java.util.TreeSet
public boolean remove(java.lang.Object paramObject)
remove
in interface java.util.Collection
remove
in interface java.util.Set
remove
in class java.util.TreeSet
public int size()
size
in interface java.util.Collection
size
in interface java.util.Set
size
in class java.util.TreeSet
public boolean isEmpty()
isEmpty
in interface java.util.Collection
isEmpty
in interface java.util.Set
isEmpty
in class java.util.TreeSet
public boolean contains(java.lang.Object object)
contains
in interface java.util.Collection
contains
in interface java.util.Set
contains
in class java.util.TreeSet
public java.lang.Object[] toArray()
toArray
in interface java.util.Collection
toArray
in interface java.util.Set
toArray
in class java.util.AbstractCollection
public java.lang.Object[] toArray(java.lang.Object[] array)
toArray
in interface java.util.Collection
toArray
in interface java.util.Set
toArray
in class java.util.AbstractCollection
public java.util.Comparator comparator()
comparator
in interface java.util.SortedSet
comparator
in class java.util.TreeSet
public java.lang.Object first()
first
in interface java.util.SortedSet
first
in class java.util.TreeSet
public java.lang.Object last()
last
in interface java.util.SortedSet
last
in class java.util.TreeSet
public boolean add(java.lang.Object paramObject)
add
in interface java.util.Collection
add
in interface java.util.Set
add
in class java.util.TreeSet
public boolean containsAll(java.util.Collection c)
containsAll
in interface java.util.Collection
containsAll
in interface java.util.Set
containsAll
in class java.util.AbstractCollection
public boolean addAll(java.util.Collection paramCollection)
addAll
in interface java.util.Collection
addAll
in interface java.util.Set
addAll
in class java.util.TreeSet
public boolean retainAll(java.util.Collection paramCollection)
retainAll
in interface java.util.Collection
retainAll
in interface java.util.Set
retainAll
in class java.util.AbstractCollection
public boolean removeAll(java.util.Collection paramCollection)
removeAll
in interface java.util.Collection
removeAll
in interface java.util.Set
removeAll
in class java.util.AbstractSet
public java.lang.Object lower(java.lang.Object e)
lower
in interface java.util.NavigableSet
lower
in class java.util.TreeSet
public java.lang.Object floor(java.lang.Object e)
floor
in interface java.util.NavigableSet
floor
in class java.util.TreeSet
public java.lang.Object ceiling(java.lang.Object e)
ceiling
in interface java.util.NavigableSet
ceiling
in class java.util.TreeSet
public java.lang.Object higher(java.lang.Object e)
higher
in interface java.util.NavigableSet
higher
in class java.util.TreeSet
public java.lang.Object pollFirst()
pollFirst
in interface java.util.NavigableSet
pollFirst
in class java.util.TreeSet
public java.lang.Object pollLast()
pollLast
in interface java.util.NavigableSet
pollLast
in class java.util.TreeSet
public java.util.NavigableSet descendingSet()
descendingSet
in interface java.util.NavigableSet
descendingSet
in class java.util.TreeSet
public java.util.Iterator descendingIterator()
descendingIterator
in interface java.util.NavigableSet
descendingIterator
in class java.util.TreeSet
public java.util.NavigableSet subSet(java.lang.Object fromElement, boolean fromInclusive, java.lang.Object toElement, boolean toInclusive)
subSet
in interface java.util.NavigableSet
subSet
in class java.util.TreeSet
public java.util.NavigableSet headSet(java.lang.Object toElement, boolean inclusive)
headSet
in interface java.util.NavigableSet
headSet
in class java.util.TreeSet
public java.util.NavigableSet tailSet(java.lang.Object fromElement, boolean inclusive)
tailSet
in interface java.util.NavigableSet
tailSet
in class java.util.TreeSet
public java.util.SortedSet subSet(java.lang.Object fromElement, java.lang.Object toElement)
subSet
in interface java.util.NavigableSet
subSet
in interface java.util.SortedSet
subSet
in class java.util.TreeSet
public java.util.SortedSet headSet(java.lang.Object toElement)
headSet
in interface java.util.NavigableSet
headSet
in interface java.util.SortedSet
headSet
in class java.util.TreeSet
public java.util.SortedSet tailSet(java.lang.Object fromElement)
tailSet
in interface java.util.NavigableSet
tailSet
in interface java.util.SortedSet
tailSet
in class java.util.TreeSet
public boolean equals(java.lang.Object paramObject)
equals
in interface java.util.Collection
equals
in interface java.util.Set
equals
in class java.util.AbstractSet
public int hashCode()
hashCode
in interface java.util.Collection
hashCode
in interface java.util.Set
hashCode
in class java.util.AbstractSet
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.