ordered Properties
This should be an easy question, but I'll see if anyone can help save me some time:
I need to write a method which takes a Properties object and orders it, returning
a string which is basically "Key:Value, Key:Value, ..." but always in the same (alphabetic?
numeric? Whatever, as long as it's consistent) order.
I'm not really great with Collections, so I'm not sure how to do this, but it seems like it
should be a breeze (two lines, three lines?).
Any ideas?
I need to write a method which takes a Properties object and orders it, returning
a string which is basically "Key:Value, Key:Value, ..." but always in the same (alphabetic?
numeric? Whatever, as long as it's consistent) order.
I'm not really great with Collections, so I'm not sure how to do this, but it seems like it
should be a breeze (two lines, three lines?).
Any ideas?
