![]() |
VOOZH | about |
public Set<Map.Entry> entrySet()Parameters: This method do not accepts any parameters. Returns: This method returns a Set view of the mappings of this Properties object. Below programs illustrate the entrySet() method: Program 1:
Current Properties: {Book=500, Mobile=5000, Pen=10, Clothes=400}
The set is: [Book=500, Mobile=5000, Pen=10, Clothes=400]
Current Properties: {3=1000RS, 2=500RS, 1=100RS}
The set is: [3=1000RS, 2=500RS, 1=100RS]