|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OneToManyBiMap
An extension of org.alfresco.util.OneToManyMap
that stores the
inverse mapping from a value to its key.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry |
Method Summary | |
---|---|
java.lang.Object |
getKey(java.lang.Object value)
Returns the key, if any, for the specified value . |
java.lang.Object |
removeValue(java.lang.Object value)
Removes the specified value from the OneToManyBiMap . |
Methods inherited from interface org.alfresco.util.OneToManyMap |
---|
containsSingleValue, entries, flatValues, putAllSingleValues, putSingleValue |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Method Detail |
---|
java.lang.Object getKey(java.lang.Object value)
value
. If the
specified value does not exist within the map then this method returns
null
.
value
-
value
or null
.java.lang.Object removeValue(java.lang.Object value)
value
from the OneToManyBiMap
. If this was the only value associated with the key to this value, then the key is also removed.
value
- The value to be removed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |