Re:  Array to HashSet
 
Dear Java Programmer:
 
I created my own array.  
 
List temp = array1.toList;
HashSet hs =  (HashSet)temp;
 
can I wrap the list into a hash set with out going through a counter?


Respects,

JKid314159
http://existentialists.blogspot.com/
 
 
 


      
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaprogrammingwithpassion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to