public class DelayedVectorProxy extends Vector implements ProxyCollection, DelayedProxy
capacityIncrement, elementCount, elementData
modCount
Constructor and Description |
---|
DelayedVectorProxy() |
DelayedVectorProxy(Collection paramCollection) |
DelayedVectorProxy(int paramInt) |
DelayedVectorProxy(int paramInt1,
int paramInt2) |
Modifier and Type | Method and Description |
---|---|
void |
add(int paramInt,
Object paramObject) |
boolean |
add(Object paramObject) |
boolean |
addAll(Collection paramCollection) |
boolean |
addAll(int paramInt,
Collection paramCollection) |
void |
addElement(Object paramObject) |
int |
capacity() |
void |
clear() |
Object |
clone() |
void |
closeBroker()
Close the broker that is used to service this proxy.
|
boolean |
contains(Object object) |
boolean |
containsAll(Collection collection) |
Object |
copy(Object paramObject)
Return an unproxied copy of the given instance.
|
void |
copyInto(Object[] anArray) |
Object |
elementAt(int index) |
Enumeration |
elements() |
void |
ensureCapacity(int minCapacity) |
boolean |
equals(Object paramObject) |
Object |
firstElement() |
Object |
get(int location) |
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() |
int |
indexOf(Object object) |
int |
indexOf(Object object,
int index) |
void |
insertElementAt(Object paramObject,
int paramInt) |
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 |
lastElement() |
int |
lastIndexOf(Object object) |
int |
lastIndexOf(Object o,
int index) |
ListIterator |
listIterator() |
ListIterator |
listIterator(int paramInt) |
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.
|
Object |
remove(int paramInt) |
boolean |
remove(Object paramObject) |
boolean |
removeAll(Collection paramCollection) |
void |
removeAllElements() |
boolean |
removeElement(Object paramObject) |
void |
removeElementAt(int paramInt) |
protected void |
removeRange(int fromIndex,
int toIndex) |
boolean |
retainAll(Collection paramCollection) |
Object |
set(int paramInt,
Object paramObject) |
protected void |
setChangeTracker(CollectionChangeTracker ct) |
void |
setDirectAccess(boolean direct)
Sets whether the caller has direct-call access to the proxied
object.
|
void |
setElementAt(Object paramObject,
int paramInt) |
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.
|
void |
setSize(int paramInt) |
int |
size() |
List |
subList(int start,
int end) |
Object[] |
toArray() |
Object[] |
toArray(Object[] array) |
String |
toString() |
void |
trimToSize() |
protected Object |
writeReplace() |
forEach, removeIf, replaceAll, sort, spliterator
finalize, getClass, notify, notifyAll, wait, wait, wait
parallelStream, removeIf, spliterator, stream
public DelayedVectorProxy(int paramInt)
public DelayedVectorProxy()
public DelayedVectorProxy(Collection paramCollection)
public DelayedVectorProxy(int paramInt1, int paramInt2)
public void setOwner(OpenJPAStateManager paramOpenJPAStateManager, int paramInt)
Proxy
public int getDelayedField()
DelayedProxy
getDelayedField
in interface DelayedProxy
public OpenJPAStateManager getDelayedOwner()
DelayedProxy
getDelayedOwner
in interface DelayedProxy
public OpenJPAStateManager getOwner()
Proxy
public int getOwnerField()
Proxy
getOwnerField
in interface Proxy
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 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
public boolean add(Object paramObject)
public void add(int paramInt, Object paramObject)
public void clear()
public boolean addAll(int paramInt, Collection paramCollection)
public boolean addAll(Collection paramCollection)
public void addElement(Object paramObject)
addElement
in class Vector
public Object remove(int paramInt)
public boolean remove(Object paramObject)
public boolean removeAll(Collection paramCollection)
public boolean retainAll(Collection paramCollection)
public void insertElementAt(Object paramObject, int paramInt)
insertElementAt
in class Vector
public void removeAllElements()
removeAllElements
in class Vector
public boolean removeElement(Object paramObject)
removeElement
in class Vector
public void removeElementAt(int paramInt)
removeElementAt
in class Vector
public void setElementAt(Object paramObject, int paramInt)
setElementAt
in class Vector
public Iterator iterator()
public ListIterator listIterator(int paramInt)
listIterator
in interface List
listIterator
in class Vector
public ListIterator listIterator()
listIterator
in interface List
listIterator
in class Vector
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
public boolean contains(Object object)
public boolean containsAll(Collection collection)
containsAll
in interface Collection
containsAll
in interface List
containsAll
in class Vector
public boolean isEmpty()
public int size()
public Object[] toArray()
public boolean equals(Object paramObject)
public int hashCode()
public int lastIndexOf(Object object)
lastIndexOf
in interface List
lastIndexOf
in class Vector
public List subList(int start, int end)
public Object get(int location)
public int indexOf(Object object)
public void trimToSize()
trimToSize
in class Vector
public void ensureCapacity(int minCapacity)
ensureCapacity
in class Vector
public Enumeration elements()
public int lastIndexOf(Object o, int index)
lastIndexOf
in class Vector
public Object firstElement()
firstElement
in class Vector
public Object lastElement()
lastElement
in class Vector
protected void removeRange(int fromIndex, int toIndex)
removeRange
in class Vector
Copyright © 2006–2020 Apache Software Foundation. All rights reserved.