@Deprecated public class ThreadLocalProperties extends Properties
defaults
Constructor and Description |
---|
ThreadLocalProperties(Properties defaults)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Deprecated.
|
Object |
clone()
Deprecated.
|
Object |
compute(Object key,
BiFunction<? super Object,? super Object,?> remappingFunction)
Deprecated.
|
Object |
computeIfAbsent(Object key,
Function<? super Object,?> mappingFunction)
Deprecated.
|
Object |
computeIfPresent(Object key,
BiFunction<? super Object,? super Object,?> remappingFunction)
Deprecated.
|
@NotNull Set<Map.Entry<Object,Object>> |
entrySet()
Deprecated.
|
boolean |
equals(Object o)
Deprecated.
|
void |
forEach(BiConsumer<? super Object,? super Object> action)
Deprecated.
|
static void |
forSystemProperties()
Deprecated.
|
static void |
forSystemProperties(boolean enabled)
Deprecated.
|
Object |
get(Object key)
Deprecated.
|
Object |
getOrDefault(Object key,
Object defaultValue)
Deprecated.
|
String |
getProperty(String key)
Deprecated.
|
String |
getProperty(String key,
String defaultValue)
Deprecated.
|
int |
hashCode()
Deprecated.
|
boolean |
isEmpty()
Deprecated.
|
@NotNull Set<Object> |
keySet()
Deprecated.
|
Object |
merge(Object key,
Object value,
BiFunction<? super Object,? super Object,?> remappingFunction)
Deprecated.
|
Enumeration<?> |
propertyNames()
Deprecated.
|
Object |
put(Object key,
Object value)
Deprecated.
|
Object |
putIfAbsent(Object key,
Object value)
Deprecated.
|
protected void |
rehash()
Deprecated.
|
Object |
remove(Object key)
Deprecated.
|
boolean |
remove(Object key,
Object value)
Deprecated.
|
Object |
replace(Object key,
Object value)
Deprecated.
|
boolean |
replace(Object key,
Object oldValue,
Object newValue)
Deprecated.
|
void |
replaceAll(BiFunction<? super Object,? super Object,?> function)
Deprecated.
|
Object |
setProperty(String key,
String value)
Deprecated.
|
int |
size()
Deprecated.
|
Set<String> |
stringPropertyNames()
Deprecated.
|
String |
toString()
Deprecated.
|
@NotNull Collection<Object> |
values()
Deprecated.
|
list, list, load, load, loadFromXML, save, store, store, storeToXML, storeToXML
contains, containsKey, containsValue, elements, keys, putAll
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 @NotNull 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)
public Object merge(Object key, Object value, BiFunction<? super Object,? super Object,?> remappingFunction)
public int size()
Copyright © 2022. All rights reserved.