Class NonSynchronizedProperties
- java.lang.Object
-
- java.util.Dictionary<K,V>
-
- java.util.Hashtable<Object,Object>
-
- java.util.Properties
-
- org.eclipse.persistence.internal.helper.NonSynchronizedProperties
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<Object,Object>
public class NonSynchronizedProperties extends Properties
Properties subclass that removes the synchronization.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NonSynchronizedProperties(int size)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
Object
clone()
boolean
contains(Object value)
boolean
containsKey(Object key)
boolean
containsValue(Object value)
Enumeration<Object>
elements()
Set<Map.Entry<Object,Object>>
entrySet()
boolean
equals(Object o)
Object
get(Object key)
String
getProperty(String key)
String
getProperty(String key, String defaultValue)
int
hashCode()
boolean
isEmpty()
Enumeration<Object>
keys()
Set<Object>
keySet()
Object
put(Object key, Object value)
void
putAll(Map<? extends Object,? extends Object> t)
Object
remove(Object key)
Object
setProperty(String key, String value)
int
size()
String
toString()
Collection<Object>
values()
-
Methods inherited from class java.util.Properties
list, list, load, load, loadFromXML, propertyNames, save, store, store, storeToXML, storeToXML, stringPropertyNames
-
Methods inherited from class java.util.Hashtable
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, rehash, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
clear
public void clear()
-
contains
public boolean contains(Object value)
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interfaceMap<Object,Object>
- Overrides:
containsKey
in classHashtable<Object,Object>
-
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interfaceMap<Object,Object>
- Overrides:
containsValue
in classHashtable<Object,Object>
-
elements
public Enumeration<Object> elements()
-
equals
public boolean equals(Object o)
-
hashCode
public int hashCode()
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
values
public Collection<Object> values()
-
setProperty
public Object setProperty(String key, String value)
- Overrides:
setProperty
in classProperties
-
getProperty
public String getProperty(String key, String defaultValue)
- Overrides:
getProperty
in classProperties
-
getProperty
public String getProperty(String key)
- Overrides:
getProperty
in classProperties
-
-