com.atlassian.jira.util.collect
Class CollectionMap<K>
java.lang.Object
java.util.AbstractMap<K,K>
com.atlassian.jira.util.collect.CollectionMap<K>
- Type Parameters:
K
-
- All Implemented Interfaces:
- Map<K,K>
public class CollectionMap<K>
- extends AbstractMap<K,K>
Adapter that provides a Map where every key maps to itself.
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Methods inherited from class java.util.AbstractMap |
clear, clone, containsKey, containsValue, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, toString, values |
CollectionMap
public CollectionMap(Collection<? extends K> collection)
entrySet
public Set<Map.Entry<K,K>> entrySet()
- Specified by:
entrySet
in interface Map<K,K>
- Specified by:
entrySet
in class AbstractMap<K,K>
Copyright © 2002-2009 Atlassian. All Rights Reserved.