org.xiruss.snapcm.api.helpers
Class NullVersionByResourceMap

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by org.xiruss.snapcm.api.helpers.NullRepositoryObjectMapCommon
              extended by org.xiruss.snapcm.api.helpers.NullVersionMap
                  extended by org.xiruss.snapcm.api.helpers.NullVersionByResourceMap
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.Map, RepositoryObjectMapCommon, VersionByResourceMap, VersionMap

public class NullVersionByResourceMap
extends NullVersionMap
implements VersionByResourceMap

Null version-by-resource map.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
NullVersionByResourceMap()
           
 
Method Summary
 boolean containsKey(Resource res)
           
 Version get(Resource key)
           
 void put(Resource key, Version ver)
           
 void putAll(java.util.List versions)
           
 
Methods inherited from class org.xiruss.snapcm.api.helpers.NullVersionMap
get, put, remove
 
Methods inherited from class org.xiruss.snapcm.api.helpers.NullRepositoryObjectMapCommon
getKeyIterator, getValueIterator, put, remove
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.xiruss.snapcm.api.helpers.VersionMap
get, put, remove
 
Methods inherited from interface org.xiruss.snapcm.api.helpers.RepositoryObjectMapCommon
getKeyIterator, getValueIterator, put, remove
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

NullVersionByResourceMap

public NullVersionByResourceMap()
Method Detail

put

public void put(Resource key,
                Version ver)
Specified by:
put in interface VersionByResourceMap

get

public Version get(Resource key)
Specified by:
get in interface VersionByResourceMap

containsKey

public boolean containsKey(Resource res)
Specified by:
containsKey in interface VersionByResourceMap

putAll

public void putAll(java.util.List versions)