Skip to content

Tag Archives: Java-Properties

The keySet() method of Properties class is used to create a set out of the key elements contained in the Properties. It basically returns a… Read More
The containsKey(value) method of Properties class is used to check if this Properties object contains any mapping of this Key for any key present in… Read More
The list(PrintWriter) method of Properties class is used to print this Properties list out to the specified output stream, passed as the parameter. This method… Read More
The computeIfAbsent(Key, Function) method of Properties class which allows you to compute value of a mapping for specified key if key is not already associated… Read More
The computeIfPresent(Key, BiFunction) method of Properties class which allows you to compute value of a mapping for specified key if key is already associated with… Read More
The compute(Key, BiFunction) method of Properties class allows to compute a mapping for the specified key and its current mapped value (or null if there… Read More
The Java.util.Properties.clone() method is used to create a shallow copy of this instance with all the elements from this Properties instance. Syntax: public Object clone()… Read More
The Java.util.Properties.clear() method is used to remove all the elements from this Properties instance. Using the clear() method only clears all the element from the… Read More