C
- the value type.public class SimpleMessageGroups<C> extends Object
Constructor and Description |
---|
SimpleMessageGroups() |
Modifier and Type | Method and Description |
---|---|
C |
get(SimpleString key) |
void |
put(SimpleString key,
C consumer) |
C |
remove(SimpleString key) |
void |
removeAll() |
boolean |
removeIf(Predicate<? super C> filter) |
int |
size() |
Map<SimpleString,C> |
toMap() |
public void put(SimpleString key, C consumer)
put
in interface MessageGroups<C>
public C get(SimpleString key)
get
in interface MessageGroups<C>
public C remove(SimpleString key)
remove
in interface MessageGroups<C>
public boolean removeIf(Predicate<? super C> filter)
removeIf
in interface MessageGroups<C>
public void removeAll()
removeAll
in interface MessageGroups<C>
public int size()
size
in interface MessageGroups<C>
public Map<SimpleString,C> toMap()
toMap
in interface MessageGroups<C>
Copyright © 2021 JBoss by Red Hat. All rights reserved.