org.objectweb.speedo.genclass.collection
Class LinkedListImpl
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.AbstractSequentialList
java.util.LinkedList
org.objectweb.speedo.genclass.collection.LinkedListImpl
- All Implemented Interfaces:
- CacheEntry, java.lang.Cloneable, java.util.Collection, FixableCacheEntry, java.util.List, PBinding, PersistenceCapable, ReplaceableCacheEntry, java.io.Serializable, SpeedoGenClassCoherence, SpeedoGenClassProxy, SpeedoProxy
- public abstract class LinkedListImpl
- extends java.util.LinkedList
- implements SpeedoGenClassProxy
- Author:
- S.Chassande-Barrioz
- See Also:
- Serialized Form
Fields inherited from class java.util.AbstractList |
modCount |
Fields inherited from interface org.objectweb.jorm.api.PBinding |
ACTION_BIND, ACTION_EXIST, ACTION_EXPORT, ACTION_READ, ACTION_UNBIND, ACTION_UNEXPORT, ACTION_WRITE, LIFECYCLE_ACTIVEFORIO, LIFECYCLE_DELTOWRITE, LIFECYCLE_ERROR, LIFECYCLE_NEWTOWRITE, LIFECYCLE_NOTBOUND |
Methods inherited from class java.util.LinkedList |
clone |
Methods inherited from class java.util.AbstractList |
hashCode, removeRange |
Methods inherited from class java.util.AbstractCollection |
toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.objectweb.speedo.genclass.api.SpeedoGenClassProxy |
fireSpeedoElementAdded, fireSpeedoElementRemoved, init, jdoGetGenClassId, jdoGetPBinding, jdoGetPType, jdoSetLinkedField, jdoSetPBinding, jdoSetPNameHints, jdoSetPType, setElements, speedoAddGenClassListener, speedoSetGcId |
Methods inherited from interface javax.jdo.spi.PersistenceCapable |
jdoCopyFields, jdoCopyKeyFieldsFromObjectId, jdoCopyKeyFieldsToObjectId, jdoCopyKeyFieldsToObjectId, jdoGetObjectId, jdoGetPersistenceManager, jdoGetTransactionalObjectId, jdoGetVersion, jdoIsDeleted, jdoIsDetached, jdoIsDirty, jdoIsNew, jdoIsPersistent, jdoIsTransactional, jdoMakeDirty, jdoNewInstance, jdoNewInstance, jdoNewObjectIdInstance, jdoNewObjectIdInstance, jdoProvideField, jdoProvideFields, jdoReplaceField, jdoReplaceFields, jdoReplaceFlags, jdoReplaceStateManager |
Methods inherited from interface org.objectweb.jorm.api.PBinding |
bind, exist, export, export, getPClassMapping, getPName, getStatus, init, read, read, unbind, unexport, write |
Methods inherited from interface java.util.List |
hashCode |
LinkedListImpl
public LinkedListImpl()
getReferenceAccessor
public SpeedoAccessor getReferenceAccessor()
- Specified by:
getReferenceAccessor
in interface SpeedoProxy
- Returns:
- the reference accessor of the SpeedoProxy instance. It can be *
null.
The Reference accessor is used for non persistent instance, as cache
value and for pessimistic policy.
setReferenceAccessor
public void setReferenceAccessor(SpeedoAccessor refAcc)
- Description copied from interface:
SpeedoProxy
- Assignes the reference accessor to the SpeedoProxy
The Reference accessor is used for non persistent instance, as cache
value and for pessimistic policy.
- Specified by:
setReferenceAccessor
in interface SpeedoProxy
- Parameters:
refAcc
- the new reference accessor
add
public boolean add(java.lang.Object o)
- Specified by:
add
in interface java.util.List
addAll
public boolean addAll(java.util.Collection c)
- Specified by:
addAll
in interface java.util.List
clear
public void clear()
- Specified by:
clear
in interface SpeedoGenClassProxy
contains
public boolean contains(java.lang.Object o)
- Specified by:
contains
in interface java.util.List
containsAll
public boolean containsAll(java.util.Collection c)
- Specified by:
containsAll
in interface java.util.List
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in interface java.util.List
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface java.util.List
iterator
public java.util.Iterator iterator()
- Specified by:
iterator
in interface java.util.List
remove
public boolean remove(java.lang.Object o)
- Specified by:
remove
in interface java.util.List
removeAll
public boolean removeAll(java.util.Collection c)
- Specified by:
removeAll
in interface java.util.List
retainAll
public boolean retainAll(java.util.Collection c)
- Specified by:
retainAll
in interface java.util.List
size
public int size()
- Specified by:
size
in interface java.util.List
toArray
public java.lang.Object[] toArray()
- Specified by:
toArray
in interface java.util.List
toArray
public java.lang.Object[] toArray(java.lang.Object[] a)
- Specified by:
toArray
in interface java.util.List
add
public void add(int index,
java.lang.Object element)
- Specified by:
add
in interface java.util.List
addAll
public boolean addAll(int index,
java.util.Collection c)
- Specified by:
addAll
in interface java.util.List
addFirst
public void addFirst(java.lang.Object o)
addLast
public void addLast(java.lang.Object o)
get
public java.lang.Object get(int index)
- Specified by:
get
in interface java.util.List
indexOf
public int indexOf(java.lang.Object elem)
- Specified by:
indexOf
in interface java.util.List
remove
public java.lang.Object remove(int index)
- Specified by:
remove
in interface java.util.List
set
public java.lang.Object set(int index,
java.lang.Object element)
- Specified by:
set
in interface java.util.List
lastIndexOf
public int lastIndexOf(java.lang.Object o)
- Specified by:
lastIndexOf
in interface java.util.List
listIterator
public java.util.ListIterator listIterator()
- Specified by:
listIterator
in interface java.util.List
listIterator
public java.util.ListIterator listIterator(int i)
- Specified by:
listIterator
in interface java.util.List
subList
public java.util.List subList(int i,
int i1)
- Specified by:
subList
in interface java.util.List
getFirst
public java.lang.Object getFirst()
getLast
public java.lang.Object getLast()
removeFirst
public java.lang.Object removeFirst()
removeLast
public java.lang.Object removeLast()
createGenClass
public java.lang.Object createGenClass()
- Specified by:
createGenClass
in interface SpeedoGenClassProxy
createAccessor
public SpeedoAccessor createAccessor()
- Specified by:
createAccessor
in interface SpeedoProxy
- Returns:
- a new SpeedoAccessor instance.