Package de.gematik.rbellogger.data
Class RbelMultiMap<T>
- java.lang.Object
-
- de.gematik.rbellogger.data.RbelMultiMap<T>
-
-
Field Summary
Fields Modifier and Type Field Description static Collector<Map.Entry<String,?>,RbelMultiMap,RbelMultiMap>COLLECTORstatic RbelMultiMap<RbelElement>EMPTY
-
Constructor Summary
Constructors Constructor Description RbelMultiMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected booleancanEqual(Object other)voidclear()booleancontainsKey(Object key)booleancontainsValue(Object value)Set<Map.Entry<String,T>>entrySet()Deprecated.booleanequals(Object o)Tget(Object key)List<T>getAll(String key)List<Map.Entry<String,T>>getValues()inthashCode()booleanisEmpty()Iterator<Map.Entry<String,T>>iterator()Set<String>keySet()Tput(String key, T value)Tput(Map.Entry<String,T> value)voidputAll(Map m)Tremove(Object key)List<T>removeAll(String key)intsize()Stream<Map.Entry<String,T>>stream()StringtoString()List<T>values()Deprecated.RbelMultiMapwith(String key, T value)RbelMultiMapwithSkipIfNull(String key, T value)-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Field Detail
-
COLLECTOR
public static final Collector<Map.Entry<String,?>,RbelMultiMap,RbelMultiMap> COLLECTOR
-
EMPTY
public static final RbelMultiMap<RbelElement> EMPTY
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<String,T>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<String,T>
-
values
@Deprecated public List<T> values()
Deprecated.
-
entrySet
@Deprecated public Set<Map.Entry<String,T>> entrySet()
Deprecated.
-
with
public RbelMultiMap with(String key, T value)
-
withSkipIfNull
public RbelMultiMap withSkipIfNull(String key, T value)
-
equals
public boolean equals(Object o)
-
canEqual
protected boolean canEqual(Object other)
-
hashCode
public int hashCode()
-
-