public class PresentationMessageMap extends Object implements Map<String,PresentationMessage>
Constructor and Description |
---|
PresentationMessageMap(Locale locale)
Create a new PresentationMessageMap for the given locale.
|
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,PresentationMessage>> |
entrySet() |
PresentationMessage |
get(Object key) |
boolean |
isEmpty() |
Set<String> |
keySet() |
PresentationMessage |
put(String key,
PresentationMessage value) |
void |
putAll(Map<? extends String,? extends PresentationMessage> t)
Adds all entries from an input Map which have PresentationMessages from the same locale.
|
PresentationMessage |
remove(Object key) |
int |
size() |
Collection<PresentationMessage> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public PresentationMessageMap(Locale locale)
locale
- public void clear()
clear
in interface Map<String,PresentationMessage>
Map.clear()
public boolean containsKey(Object key)
containsKey
in interface Map<String,PresentationMessage>
Map.containsKey(java.lang.Object)
public boolean containsValue(Object value)
containsValue
in interface Map<String,PresentationMessage>
Map.containsValue(java.lang.Object)
public Set<Map.Entry<String,PresentationMessage>> entrySet()
entrySet
in interface Map<String,PresentationMessage>
Map.entrySet()
public PresentationMessage get(Object key)
get
in interface Map<String,PresentationMessage>
Map.get(java.lang.Object)
public boolean isEmpty()
isEmpty
in interface Map<String,PresentationMessage>
Map.isEmpty()
public Set<String> keySet()
keySet
in interface Map<String,PresentationMessage>
Map.keySet()
public PresentationMessage put(String key, PresentationMessage value)
put
in interface Map<String,PresentationMessage>
Should should ignore non matching locale messages
public void putAll(Map<? extends String,? extends PresentationMessage> t)
putAll
in interface Map<String,PresentationMessage>
Should filter out non matching locale messages from batch add
public PresentationMessage remove(Object key)
remove
in interface Map<String,PresentationMessage>
Map.remove(java.lang.Object)
public int size()
size
in interface Map<String,PresentationMessage>
Map.size()
public Collection<PresentationMessage> values()
values
in interface Map<String,PresentationMessage>
Map.values()
Copyright © 2024 OpenMRS Inc.. All rights reserved.