Class SetOverMap<K,V>

java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<Map.Entry<K,V>>
org.aksw.commons.collector.core.SetOverMap<K,V>
All Implemented Interfaces:
Iterable<Map.Entry<K,V>>, Collection<Map.Entry<K,V>>, Set<Map.Entry<K,V>>

public class SetOverMap<K,V> extends AbstractSet<Map.Entry<K,V>>
A special helper class to treat a map as a collection of entries and retain the ability to retrieve the map. Map.entrySet().add() is not always supported and its usually not possible to get the map out again.