PANIOV
RECALL THE MOST IMPORTANT of Java, GWT, JavaScript, D3, AngularJS etc
Showing posts with label
set
.
Show all posts
Showing posts with label
set
.
Show all posts
Wednesday, July 11, 2012
Java Collection Set to Array
If you want to change your Set implementation to Array this is the way you can make it:
Set<String>
set
= new HashSet<String>();
String[]
array
=
set
.toArray
(
new
String
[
set
.size()
]
);
Older Posts
Home
Subscribe to:
Posts (Atom)