I am interested in knowing how to sort a Properties object. When compiling the following lines of code:
Map prop = System.getProperties();
TreeMap tm = new TreeMap(prop);
I get the following error:
Note: E:\Java\src\PropertiesExample.java uses unchecked or unsafe operations...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.