Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2010-09-16 22:39:01 -0400
committerRyan D. Brooks2010-09-16 22:39:01 -0400
commit5bbe536bc0bb97fd2af4e851bbf51658c0e894a8 (patch)
tree078ac5081ae8fb93bf05ccf681f0053777fefc3a /plugins
parentf8eb0dc821e2956d531baf31efafda0539de6112 (diff)
downloadorg.eclipse.osee-5bbe536bc0bb97fd2af4e851bbf51658c0e894a8.tar.gz
org.eclipse.osee-5bbe536bc0bb97fd2af4e851bbf51658c0e894a8.tar.xz
org.eclipse.osee-5bbe536bc0bb97fd2af4e851bbf51658c0e894a8.zip
refactor: Add entrySet method to HashCollection
Diffstat (limited to 'plugins')
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HashCollection.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HashCollection.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HashCollection.java
index 14d80b9116..8de7f60d9e 100644
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HashCollection.java
+++ b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/HashCollection.java
@@ -16,6 +16,7 @@ import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
+import java.util.Map.Entry;
import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
@@ -244,6 +245,10 @@ public class HashCollection<K, V> {
return map.isEmpty();
}
+ public Set<Entry<K, Collection<V>>> entrySet() {
+ return map.entrySet();
+ }
+
/**
* The total number of key-value combinations
*/

Back to the top