Last active
January 28, 2019 20:56
-
-
Save dynoChris/9cbce04a036e30b99720a992b8a0454a to your computer and use it in GitHub Desktop.
How to convert Array to Set in Java?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set<String> defaultGenres = new HashSet<>(Arrays.asList(defaultGenresAsArray)); //convert array to set |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment