Class PropertiesFactory.EmptyProperties
java.lang.Object
java.util.Dictionary<Object,Object>
java.util.Hashtable<Object,Object>
java.util.Properties
org.apache.commons.collections4.properties.PropertiesFactory.EmptyProperties
- All Implemented Interfaces:
Serializable,Cloneable,Map<Object,Object>
- Enclosing class:
PropertiesFactory
-
Nested Class Summary
-
Field Summary
FieldsFields inherited from class java.util.Properties
defaults -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()computeIfAbsent(Object key, Function<? super Object, ? extends Object> mappingFunction) computeIfPresent(Object key, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) booleanbooleancontainsKey(Object key) booleancontainsValue(Object value) elements()entrySet()booleanvoidforEach(BiConsumer<? super Object, ? super Object> action) getOrDefault(Object key, Object defaultValue) getProperty(String key) getProperty(String key, String defaultValue) inthashCode()booleanisEmpty()keys()keySet()voidload(InputStream inStream) ThrowsUnsupportedOperationException.voidThrowsUnsupportedOperationException.voidThrowsUnsupportedOperationException.merge(Object key, Object value, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) Enumeration<?> voidputIfAbsent(Object key, Object value) protected voidrehash()booleanbooleanvoidreplaceAll(BiFunction<? super Object, ? super Object, ? extends Object> function) voidsave(OutputStream out, String comments) setProperty(String key, String value) intsize()toString()values()Methods inherited from class java.util.Properties
list, list, store, store, storeToXML, storeToXML
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
EmptyProperties
private EmptyProperties()
-
-
Method Details
-
clear
public void clear() -
compute
-
computeIfAbsent
public Object computeIfAbsent(Object key, Function<? super Object, ? extends Object> mappingFunction) - Specified by:
computeIfAbsentin interfaceMap<Object,Object> - Overrides:
computeIfAbsentin classHashtable<Object,Object>
-
computeIfPresent
public Object computeIfPresent(Object key, BiFunction<? super Object, ? super Object, ? extends Object> remappingFunction) - Specified by:
computeIfPresentin interfaceMap<Object,Object> - Overrides:
computeIfPresentin classHashtable<Object,Object>
-
contains
-
containsKey
- Specified by:
containsKeyin interfaceMap<Object,Object> - Overrides:
containsKeyin classHashtable<Object,Object>
-
containsValue
- Specified by:
containsValuein interfaceMap<Object,Object> - Overrides:
containsValuein classHashtable<Object,Object>
-
elements
-
entrySet
-
equals
-
forEach
-
get
-
getOrDefault
- Specified by:
getOrDefaultin interfaceMap<Object,Object> - Overrides:
getOrDefaultin classHashtable<Object,Object>
-
getProperty
- Overrides:
getPropertyin classProperties
-
getProperty
- Overrides:
getPropertyin classProperties
-
hashCode
public int hashCode() -
isEmpty
public boolean isEmpty() -
keys
-
keySet
-
load
ThrowsUnsupportedOperationException. Caller should use try-with-resources statement.- Overrides:
loadin classProperties- Throws:
IOException
-
load
ThrowsUnsupportedOperationException. Caller should use try-with-resources statement.- Overrides:
loadin classProperties- Throws:
IOException
-
loadFromXML
ThrowsUnsupportedOperationException. Caller should use try-with-resources statement.- Overrides:
loadFromXMLin classProperties- Throws:
IOExceptionInvalidPropertiesFormatException
-
merge
-
propertyNames
- Overrides:
propertyNamesin classProperties
-
put
-
putAll
-
putIfAbsent
- Specified by:
putIfAbsentin interfaceMap<Object,Object> - Overrides:
putIfAbsentin classHashtable<Object,Object>
-
rehash
protected void rehash() -
remove
-
remove
-
replace
-
replace
-
replaceAll
- Specified by:
replaceAllin interfaceMap<Object,Object> - Overrides:
replaceAllin classHashtable<Object,Object>
-
save
- Overrides:
savein classProperties
-
setProperty
- Overrides:
setPropertyin classProperties
-
size
public int size() -
stringPropertyNames
- Overrides:
stringPropertyNamesin classProperties
-
toString
-
values
-