org.objectweb.speedo.genclass.map
Class TreeMapImpl
java.lang.Object
java.util.AbstractMap
java.util.TreeMap
org.objectweb.speedo.genclass.map.TreeMapImpl
- All Implemented Interfaces:
- org.objectweb.perseus.cache.api.CacheEntry, java.lang.Cloneable, org.objectweb.perseus.cache.api.FixableCacheEntry, java.util.Map, org.objectweb.jorm.api.PBinding, javax.jdo.spi.PersistenceCapable, org.objectweb.perseus.cache.replacement.api.ReplaceableCacheEntry, java.io.Serializable, java.util.SortedMap, SpeedoGenClassCoherence, SpeedoGenClassProxy, SpeedoProxy
- public abstract class TreeMapImpl
- extends java.util.TreeMap
- 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 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.AbstractMap |
equals, hashCode |
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 |
Methods inherited from interface java.util.Map |
equals, hashCode |
TreeMapImpl
public TreeMapImpl()
toString
public java.lang.String toString()
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
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.
size
public int size()
- Specified by:
size
in interface java.util.Map
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface java.util.Map
containsValue
public boolean containsValue(java.lang.Object o)
- Specified by:
containsValue
in interface java.util.Map
containsKey
public boolean containsKey(java.lang.Object o)
- Specified by:
containsKey
in interface java.util.Map
get
public java.lang.Object get(java.lang.Object o)
- Specified by:
get
in interface java.util.Map
put
public java.lang.Object put(java.lang.Object o,
java.lang.Object o1)
- Specified by:
put
in interface java.util.Map
remove
public java.lang.Object remove(java.lang.Object o)
- Specified by:
remove
in interface java.util.Map
putAll
public void putAll(java.util.Map map)
- Specified by:
putAll
in interface java.util.Map
clear
public void clear()
- Specified by:
clear
in interface SpeedoGenClassProxy
keySet
public java.util.Set keySet()
- Specified by:
keySet
in interface java.util.Map
entrySet
public java.util.Set entrySet()
- Specified by:
entrySet
in interface java.util.Map
values
public java.util.Collection values()
- Specified by:
values
in interface java.util.Map
comparator
public java.util.Comparator comparator()
- Specified by:
comparator
in interface java.util.SortedMap
firstKey
public java.lang.Object firstKey()
- Specified by:
firstKey
in interface java.util.SortedMap
lastKey
public java.lang.Object lastKey()
- Specified by:
lastKey
in interface java.util.SortedMap
clone
public java.lang.Object clone()
subMap
public java.util.SortedMap subMap(java.lang.Object fromKey,
java.lang.Object toKey)
- Specified by:
subMap
in interface java.util.SortedMap
headMap
public java.util.SortedMap headMap(java.lang.Object toKey)
- Specified by:
headMap
in interface java.util.SortedMap
tailMap
public java.util.SortedMap tailMap(java.lang.Object fromKey)
- Specified by:
tailMap
in interface java.util.SortedMap