public class DelayedLinkedListProxy extends LinkedList implements ProxyCollection, DelayedProxy
modCount
Constructor and Description |
---|
DelayedLinkedListProxy() |
DelayedLinkedListProxy(Collection paramCollection) |
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 |
addFirst(Object paramObject) |
void |
addLast(Object paramObject) |
void |
clear() |
Object |
clone() |
void |
closeBroker()
Close the broker that is used to service this proxy.
|
boolean |
contains(Object object) |
boolean |
containsAll(Collection c) |
Object |
copy(Object paramObject)
Return an unproxied copy of the given instance.
|
Iterator |
descendingIterator() |
Object |
element() |
boolean |
equals(Object paramObject) |
Object |
get(int index) |
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.
|
Object |
getFirst() |
Object |
getLast() |
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 o) |
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() |
int |
lastIndexOf(Object o) |
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.
|
boolean |
offer(Object paramObject) |
boolean |
offerFirst(Object paramObject) |
boolean |
offerLast(Object paramObject) |
Object |
peek() |
Object |
peekFirst() |
Object |
peekLast() |
Object |
poll() |
Object |
pollFirst() |
Object |
pollLast() |
Object |
pop() |
void |
push(Object o) |
Object |
remove() |
Object |
remove(int paramInt) |
boolean |
remove(Object paramObject) |
boolean |
removeAll(Collection paramCollection) |
Object |
removeFirst() |
boolean |
removeFirstOccurrence(Object paramObject) |
Object |
removeLast() |
boolean |
removeLastOccurrence(Object paramObject) |
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.
|
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() |
List |
subList(int fromIndex,
int toIndex) |
Object[] |
toArray() |
Object[] |
toArray(Object[] array) |
protected Object |
writeReplace() |
removeRange
toString
public DelayedLinkedListProxy(Collection paramCollection)
public DelayedLinkedListProxy()
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
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 Object clone()
clone
in class LinkedList
public void add(int paramInt, Object paramObject)
add
in interface List
add
in class LinkedList
public boolean add(Object paramObject)
add
in interface Collection
add
in interface Deque
add
in interface List
add
in interface Queue
add
in class LinkedList
public void clear()
clear
in interface Collection
clear
in interface List
clear
in class LinkedList
public boolean addAll(Collection paramCollection)
addAll
in interface Collection
addAll
in interface List
addAll
in class LinkedList
public boolean addAll(int paramInt, Collection paramCollection)
addAll
in interface List
addAll
in class LinkedList
public boolean remove(Object paramObject)
remove
in interface Collection
remove
in interface Deque
remove
in interface List
remove
in class LinkedList
public Object remove(int paramInt)
remove
in interface List
remove
in class LinkedList
public Object remove()
public Object set(int paramInt, Object paramObject)
set
in interface List
set
in class LinkedList
public Object poll()
public ListIterator listIterator(int paramInt)
listIterator
in interface List
listIterator
in class LinkedList
public void addFirst(Object paramObject)
addFirst
in interface Deque
addFirst
in class LinkedList
public void addLast(Object paramObject)
addLast
in interface Deque
addLast
in class LinkedList
public boolean offer(Object paramObject)
public Object removeFirst()
removeFirst
in interface Deque
removeFirst
in class LinkedList
public Object removeLast()
removeLast
in interface Deque
removeLast
in class LinkedList
public Iterator iterator()
iterator
in interface Iterable
iterator
in interface Collection
iterator
in interface Deque
iterator
in interface List
iterator
in class AbstractSequentialList
public ListIterator listIterator()
listIterator
in interface List
listIterator
in class AbstractList
public boolean removeAll(Collection paramCollection)
removeAll
in interface Collection
removeAll
in interface List
removeAll
in class AbstractCollection
public boolean retainAll(Collection paramCollection)
retainAll
in interface Collection
retainAll
in interface List
retainAll
in class AbstractCollection
public boolean removeFirstOccurrence(Object paramObject)
removeFirstOccurrence
in interface Deque
removeFirstOccurrence
in class LinkedList
public boolean removeLastOccurrence(Object paramObject)
removeLastOccurrence
in interface Deque
removeLastOccurrence
in class LinkedList
protected Object writeReplace() throws ObjectStreamException
ObjectStreamException
public boolean equals(Object paramObject)
equals
in interface Collection
equals
in interface List
equals
in class AbstractList
public int hashCode()
hashCode
in interface Collection
hashCode
in interface List
hashCode
in class AbstractList
public List subList(int fromIndex, int toIndex)
subList
in interface List
subList
in class AbstractList
public int lastIndexOf(Object o)
lastIndexOf
in interface List
lastIndexOf
in class LinkedList
public int indexOf(Object o)
indexOf
in interface List
indexOf
in class LinkedList
public Object get(int index)
get
in interface List
get
in class LinkedList
public boolean containsAll(Collection c)
containsAll
in interface Collection
containsAll
in interface List
containsAll
in class AbstractCollection
public Object[] toArray()
toArray
in interface Collection
toArray
in interface List
toArray
in class LinkedList
public Object[] toArray(Object[] array)
toArray
in interface Collection
toArray
in interface List
toArray
in class LinkedList
public boolean contains(Object object)
contains
in interface Collection
contains
in interface Deque
contains
in interface List
contains
in class LinkedList
public boolean isEmpty()
isEmpty
in interface Collection
isEmpty
in interface List
isEmpty
in class AbstractCollection
public int size()
size
in interface Collection
size
in interface Deque
size
in interface List
size
in class LinkedList
public boolean offerFirst(Object paramObject)
offerFirst
in interface Deque
offerFirst
in class LinkedList
public boolean offerLast(Object paramObject)
offerLast
in interface Deque
offerLast
in class LinkedList
public Object pollFirst()
pollFirst
in interface Deque
pollFirst
in class LinkedList
public Object pollLast()
pollLast
in interface Deque
pollLast
in class LinkedList
public Object getFirst()
getFirst
in interface Deque
getFirst
in class LinkedList
public Object getLast()
getLast
in interface Deque
getLast
in class LinkedList
public Object peekFirst()
peekFirst
in interface Deque
peekFirst
in class LinkedList
public Object peekLast()
peekLast
in interface Deque
peekLast
in class LinkedList
public Object element()
public Object peek()
public void push(Object o)
push
in interface Deque
push
in class LinkedList
public Object pop()
pop
in interface Deque
pop
in class LinkedList
public Iterator descendingIterator()
descendingIterator
in interface Deque
descendingIterator
in class LinkedList
Copyright © 2006–2017 Apache Software Foundation. All rights reserved.