Question : filter sortedMap

I have a sorted Map like this:

SortedMap<String, SortedSet<String>> map = new TreeMap<String, SortedSet<String>>();

I filled the map from a file
-later I want to filter the map using a list of keys
- then write back the map to the file

I need your help for a simple and elegant way to do that .

Thanks

Answer : filter sortedMap

Here you gog.
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
<html>
<head>
<style type="text/css">
h1 {font-size:24pt;font-family:Arial;}
li {font-size:10pt;font-family:"Times New Roman";}
</style>
</head>

<body>
<h1> Title </h1>
<ul>
<li> blah </li>
<li> blah </li>
<li> blah </li>
<li> blah </li>
</ul>

</body>

</html>
Random Solutions  
 
programming4us programming4us