@ SuppressWarnings ( "unchecked" ) @ Override public synchronized Enumeration < Object > keys ( ) { // sort elements based on detector (prop key) names Set < ? > set = keySet ( ) ; return ( Enumeration < Object > ) sortKeys ( ( Set < String > ) set ) ; }
Overriden to be able to write properties sorted by keys to the disk