public class PropertiesMap extends LinkedHashMap<String,String>
PropertyStatus and protection from null values.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PropertiesMap() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,PropertyStatus> |
getPropertiesStatus() |
PropertyStatus |
getPropertyStatus(String key)
Get
PropertyStatus by key. |
String |
put(String key,
String value) |
String |
put(String key,
String value,
PropertyStatus propertyStatus)
Puts property value and its status at once.
|
PropertyStatus |
putPropertyStatus(String key,
PropertyStatus propertyStatus)
Changes state of property by specified key externally.
|
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic String put(String key, String value, PropertyStatus propertyStatus)
key - property keyvalue - property valuepropertyStatus - State to be set.public PropertyStatus putPropertyStatus(String key, PropertyStatus propertyStatus)
key - property property keypropertyStatus - property valuePropertyStatus of property.public PropertyStatus getPropertyStatus(String key)
PropertyStatus by key.key - property keyPropertyStatus of property.public Map<String,PropertyStatus> getPropertiesStatus()
Copyright © 2025 FG Forrest, a.s.. All rights reserved.