i think it's very easy. Here is the algorithm for you:
1) Make an object OOP like this:
Wireless:
-Name
-FoundStat
2) Detect all networks
2) Put the strongest network inside the Object OOP above. Set the name,
set the foundstat to true. Put 'em into arraylist.
3) Detect all networks again.
4) Now let's check if the network found is similar to the network inside the arraylist?
5) If yes, dont print them out
6) If no, print them out and do the step 2 again repeatedly.
Done
Hope you could figure out the code by yourself. I just simplify the
algorithm for you. CMIIW.