public class CopyOnFirstWriteProperties extends Properties
defaults| Constructor and Description |
|---|
CopyOnFirstWriteProperties() |
CopyOnFirstWriteProperties(Properties p) |
save, storepublic CopyOnFirstWriteProperties(Properties p)
public CopyOnFirstWriteProperties()
public String getProperty(String key)
getProperty in class Propertiespublic String getProperty(String key, String defaultValue)
getProperty in class Propertiespublic void list(PrintStream out)
list in class Propertiespublic void list(PrintWriter out)
list in class Propertiespublic void load(InputStream inStream) throws IOException
load in class PropertiesIOExceptionpublic void load(Reader reader) throws IOException
load in class PropertiesIOExceptionpublic void loadFromXML(InputStream inStream) throws IOException
loadFromXML in class PropertiesIOExceptionpublic Enumeration<?> propertyNames()
propertyNames in class Propertiespublic Object setProperty(String key, String value)
setProperty in class Propertiespublic void store(OutputStream out, String comments) throws IOException
store in class PropertiesIOExceptionpublic void storeToXML(OutputStream os, String comment) throws IOException
storeToXML in class PropertiesIOExceptionpublic void storeToXML(OutputStream os, String comment, String encoding) throws IOException
storeToXML in class PropertiesIOExceptionpublic Set<String> stringPropertyNames()
stringPropertyNames in class Propertiespublic void clear()
public Object compute(Object key, java.util.function.BiFunction remappingFunction)
public Object computeIfAbsent(Object key, java.util.function.Function mappingFunction)
computeIfAbsent in interface Map<Object,Object>computeIfAbsent in class Hashtable<Object,Object>public Object computeIfPresent(Object key, java.util.function.BiFunction remappingFunction)
computeIfPresent in interface Map<Object,Object>computeIfPresent in class Hashtable<Object,Object>public boolean contains(Object value)
public boolean containsKey(Object key)
containsKey in interface Map<Object,Object>containsKey in class Hashtable<Object,Object>public boolean containsValue(Object value)
containsValue in interface Map<Object,Object>containsValue in class Hashtable<Object,Object>public Enumeration<Object> elements()
public boolean equals(Object o)
public void forEach(java.util.function.BiConsumer action)
public Object getOrDefault(Object key, Object defaultValue)
getOrDefault in interface Map<Object,Object>getOrDefault in class Hashtable<Object,Object>public int hashCode()
public boolean isEmpty()
public Object merge(Object key, Object value, java.util.function.BiFunction remappingFunction)
public Object putIfAbsent(Object key, Object value)
putIfAbsent in interface Map<Object,Object>putIfAbsent in class Hashtable<Object,Object>public void replaceAll(java.util.function.BiFunction function)
replaceAll in interface Map<Object,Object>replaceAll in class Hashtable<Object,Object>public int size()
public Collection<Object> values()
public void setInterned(Properties p)
public Properties getInterned()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.