|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap<K,V> java.util.HashMap org.xiruss.repository.common.RepositoryObjectMapCommonImpl org.xiruss.repository.common.VersionMapImpl
public class VersionMapImpl
HashMap of versions by version ID. This class exists mostly to make it clear what the return value of various query methods that return hash maps are.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Constructor Summary | |
---|---|
VersionMapImpl()
|
|
VersionMapImpl(java.util.Collection vector)
Construct a new version map from a vector of versions. |
|
VersionMapImpl(VersionMap map)
|
Method Summary | |
---|---|
Version |
get(java.lang.String key)
|
void |
put(Version version)
|
Version |
remove(Version ver)
|
Methods inherited from class org.xiruss.repository.common.RepositoryObjectMapCommonImpl |
---|
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.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 |
---|
public VersionMapImpl()
public VersionMapImpl(java.util.Collection vector)
public VersionMapImpl(VersionMap map)
Method Detail |
---|
public void put(Version version)
put
in interface VersionMap
public Version get(java.lang.String key)
get
in interface VersionMap
public Version remove(Version ver)
remove
in interface VersionMap
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |