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() |
spliterator
toString
finalize, getClass, notify, notifyAll, wait, wait, wait
parallelStream, removeIf, spliterator, stream
public DelayedTreeSetProxy()
public DelayedTreeSetProxy(Comparator paramComparator)
public DelayedTreeSetProxy(Collection paramCollection)
public DelayedTreeSetProxy(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 Object copy(Object paramObject)
Proxy
public Class getElementType()
ProxyCollection
getElementType
in interface ProxyCollection
protected void setElementType(Class<?> elemType)
public ProxyCollection newInstance(Class paramClass, Comparator paramComparator, boolean paramBoolean1, boolean paramBoolean2)
ProxyCollection
newInstance
in interface ProxyCollection
protected Object writeReplace() throws ObjectStreamException
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()
public Iterator iterator()
iterator
in interface Iterable
iterator
in interface Collection
iterator
in interface NavigableSet
iterator
in interface Set
iterator
in class TreeSet
public boolean remove(Object paramObject)
public int size()
public boolean isEmpty()
public boolean contains(Object object)
public Object[] toArray()
toArray
in interface Collection
toArray
in interface Set
toArray
in class AbstractCollection
public Object[] toArray(Object[] array)
toArray
in interface Collection
toArray
in interface Set
toArray
in class AbstractCollection
public Comparator comparator()
comparator
in interface SortedSet
comparator
in class TreeSet
public Object first()
public Object last()
public boolean add(Object paramObject)
public boolean containsAll(Collection c)
containsAll
in interface Collection
containsAll
in interface Set
containsAll
in class AbstractCollection
public boolean addAll(Collection paramCollection)
public boolean retainAll(Collection paramCollection)
retainAll
in interface Collection
retainAll
in interface Set
retainAll
in class AbstractCollection
public boolean removeAll(Collection paramCollection)
removeAll
in interface Collection
removeAll
in interface Set
removeAll
in class AbstractSet
public Object lower(Object e)
lower
in interface NavigableSet
lower
in class TreeSet
public Object floor(Object e)
floor
in interface NavigableSet
floor
in class TreeSet
public Object ceiling(Object e)
ceiling
in interface NavigableSet
ceiling
in class TreeSet
public Object higher(Object e)
higher
in interface NavigableSet
higher
in class TreeSet
public Object pollFirst()
pollFirst
in interface NavigableSet
pollFirst
in class TreeSet
public Object pollLast()
pollLast
in interface NavigableSet
pollLast
in class TreeSet
public NavigableSet descendingSet()
descendingSet
in interface NavigableSet
descendingSet
in class TreeSet
public Iterator descendingIterator()
descendingIterator
in interface NavigableSet
descendingIterator
in class TreeSet
public NavigableSet subSet(Object fromElement, boolean fromInclusive, Object toElement, boolean toInclusive)
subSet
in interface NavigableSet
subSet
in class TreeSet
public NavigableSet headSet(Object toElement, boolean inclusive)
headSet
in interface NavigableSet
headSet
in class TreeSet
public NavigableSet tailSet(Object fromElement, boolean inclusive)
tailSet
in interface NavigableSet
tailSet
in class TreeSet
public boolean equals(Object paramObject)
equals
in interface Collection
equals
in interface Set
equals
in class AbstractSet
public int hashCode()
hashCode
in interface Collection
hashCode
in interface Set
hashCode
in class AbstractSet
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.