diff --git a/src/main/java/org/elasticsearch/common/collect/ImmutableOpenMap.java b/src/main/java/org/elasticsearch/common/collect/ImmutableOpenMap.java index 8148b7f25c0..8d6ed9d8858 100644 --- a/src/main/java/org/elasticsearch/common/collect/ImmutableOpenMap.java +++ b/src/main/java/org/elasticsearch/common/collect/ImmutableOpenMap.java @@ -97,6 +97,21 @@ public final class ImmutableOpenMap implements Iterable keys() { + return map.keys(); + } + + /** + * @return Returns a container with all values stored in this map. + */ + public ObjectContainer values() { + return map.values(); + } + @Override public String toString() { return map.toString();