DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
enum values to string array
Stream.of(Weather.values()).map(Weather::name).toArray(String[]::new);
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#enum
#values
#string
#array
ADD COMMENT
Topic
COMMENT
Name
1+2 =
Submit