Package de.gematik.rbellogger.data
Class RbelMultiMap
- java.lang.Object
-
- de.gematik.rbellogger.data.RbelMultiMap
-
- All Implemented Interfaces:
Map<String,RbelElement>
public class RbelMultiMap extends Object implements Map<String,RbelElement>
-
-
Field Summary
Fields Modifier and Type Field Description static Collector<Map.Entry<String,RbelElement>,RbelMultiMap,RbelMultiMap>COLLECTOR
-
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,RbelElement>>entrySet()Deprecated.booleanequals(Object o)RbelElementget(Object key)List<RbelElement>getAll(String key)List<Map.Entry<String,RbelElement>>getValues()inthashCode()booleanisEmpty()Iterator<Map.Entry<String,RbelElement>>iterator()Set<String>keySet()RbelElementput(String key, RbelElement value)RbelElementput(Map.Entry<String,RbelElement> value)voidputAll(Map m)RbelElementremove(Object key)List<RbelElement>removeAll(String key)intsize()Stream<Map.Entry<String,RbelElement>>stream()StringtoString()Collection<RbelElement>values()Deprecated.RbelMultiMapwith(String key, RbelElement value)RbelMultiMapwithSkipIfNull(String key, RbelElement 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,RbelElement>,RbelMultiMap,RbelMultiMap> COLLECTOR
-
-
Method Detail
-
size
public int size()
- Specified by:
sizein interfaceMap<String,RbelElement>
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfaceMap<String,RbelElement>
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<String,RbelElement>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValuein interfaceMap<String,RbelElement>
-
get
public RbelElement get(Object key)
- Specified by:
getin interfaceMap<String,RbelElement>
-
put
public RbelElement put(String key, RbelElement value)
- Specified by:
putin interfaceMap<String,RbelElement>
-
put
public RbelElement put(Map.Entry<String,RbelElement> value)
-
remove
public RbelElement remove(Object key)
- Specified by:
removein interfaceMap<String,RbelElement>
-
removeAll
public List<RbelElement> removeAll(String key)
-
putAll
public void putAll(Map m)
- Specified by:
putAllin interfaceMap<String,RbelElement>
-
clear
public void clear()
- Specified by:
clearin interfaceMap<String,RbelElement>
-
values
@Deprecated public Collection<RbelElement> values()
Deprecated.- Specified by:
valuesin interfaceMap<String,RbelElement>
-
entrySet
@Deprecated public Set<Map.Entry<String,RbelElement>> entrySet()
Deprecated.- Specified by:
entrySetin interfaceMap<String,RbelElement>
-
stream
public Stream<Map.Entry<String,RbelElement>> stream()
-
with
public RbelMultiMap with(String key, RbelElement value)
-
withSkipIfNull
public RbelMultiMap withSkipIfNull(String key, RbelElement value)
-
getAll
public List<RbelElement> getAll(String key)
-
iterator
public Iterator<Map.Entry<String,RbelElement>> iterator()
-
getValues
public List<Map.Entry<String,RbelElement>> getValues()
-
equals
public boolean equals(Object o)
-
canEqual
protected boolean canEqual(Object other)
-
hashCode
public int hashCode()
-
-