org.objectweb.speedo.genclass.collection
Class VectorImpl
java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.Vector
org.objectweb.speedo.genclass.collection.VectorImpl
- All Implemented Interfaces:
- org.objectweb.perseus.cache.api.CacheEntry, java.lang.Cloneable, java.util.Collection, org.objectweb.perseus.cache.api.FixableCacheEntry, java.util.List, org.objectweb.jorm.api.PBinding, javax.jdo.spi.PersistenceCapable, java.util.RandomAccess, org.objectweb.perseus.cache.replacement.api.ReplaceableCacheEntry, java.io.Serializable, SpeedoGenClassCoherence, SpeedoGenClassProxy, SpeedoProxy
- public abstract class VectorImpl
- extends java.util.Vector
- implements SpeedoGenClassProxy
- Author:
- S.Chassande-Barrioz
- See Also:
- Serialized Form
Nested classes inherited from class javax.jdo.spi.PersistenceCapable |
javax.jdo.spi.PersistenceCapable.ObjectIdFieldConsumer, javax.jdo.spi.PersistenceCapable.ObjectIdFieldManager, javax.jdo.spi.PersistenceCapable.ObjectIdFieldSupplier |
Fields inherited from class java.util.Vector |
capacityIncrement, elementCount, elementData |
Fields inherited from class java.util.AbstractList |
modCount |
Fields inherited from interface javax.jdo.spi.PersistenceCapable |
CHECK_READ, CHECK_WRITE, DETACHED, LOAD_REQUIRED, MEDIATE_READ, MEDIATE_WRITE, READ_OK, READ_WRITE_OK, SERIALIZABLE |
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.Vector |
addElement, capacity, clone, copyInto, elementAt, elements, ensureCapacity, firstElement, hashCode, indexOf, insertElementAt, lastElement, lastIndexOf, removeAllElements, removeElement, removeElementAt, removeRange, setElementAt, setSize, toString, trimToSize |
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 org.objectweb.perseus.cache.replacement.api.ReplaceableCacheEntry |
getCeAge, setCeAge |
Methods inherited from interface org.objectweb.perseus.cache.api.FixableCacheEntry |
fixCe, getCeFixCount, unfixCe |
Methods inherited from interface org.objectweb.perseus.cache.api.CacheEntry |
getCeIdentifier, getCeObject |
VectorImpl
public VectorImpl()
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
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
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.