Mat Banik Mat Banik - 1 year ago 78
Java Question

Convert Set<Integer> to Set<String> in Java

Is there a simple way to convert

without iterating through the entire set?

Answer Source

No. You have to format each integer and add it to your string set.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download