public class ThreadLocalProperties extends Properties
defaults
Constructor and Description |
---|
ThreadLocalProperties(Properties defaults) |
list, list, load, load, loadFromXML, save, store, store, storeToXML, storeToXML
contains, containsKey, containsValue, elements, isEmpty, keys, putAll, size
public ThreadLocalProperties(Properties defaults)
public static void forSystemProperties()
public static void forSystemProperties(boolean enabled)
public Object setProperty(String key, String value)
setProperty
in class Properties
public String getProperty(String key)
getProperty
in class Properties
public String getProperty(String key, String defaultValue)
getProperty
in class Properties
public Enumeration<?> propertyNames()
propertyNames
in class Properties
public Set<String> stringPropertyNames()
stringPropertyNames
in class Properties
public void clear()
@NotNull public Collection<Object> values()
public boolean equals(Object o)
public int hashCode()
public Object getOrDefault(Object key, Object defaultValue)
getOrDefault
in interface Map<Object,Object>
getOrDefault
in class Hashtable<Object,Object>
public void forEach(BiConsumer<? super Object,? super Object> action)
public void replaceAll(BiFunction<? super Object,? super Object,?> function)
replaceAll
in interface Map<Object,Object>
replaceAll
in class Hashtable<Object,Object>
public Object putIfAbsent(Object key, Object value)
putIfAbsent
in interface Map<Object,Object>
putIfAbsent
in class Hashtable<Object,Object>
public Object computeIfAbsent(Object key, Function<? super Object,?> mappingFunction)
computeIfAbsent
in interface Map<Object,Object>
computeIfAbsent
in class Hashtable<Object,Object>
public Object computeIfPresent(Object key, BiFunction<? super Object,? super Object,?> remappingFunction)
computeIfPresent
in interface Map<Object,Object>
computeIfPresent
in class Hashtable<Object,Object>
public Object compute(Object key, BiFunction<? super Object,? super Object,?> remappingFunction)
Copyright © 2020. All rights reserved.