Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

sort list of strings java

List<String> list = new ArrayList<>();
java.util.Collections.sort(list); // sorts lexicographically
 
PREVIOUS NEXT
Tagged: #sort #list #strings #java
ADD COMMENT
Topic
Name
7+5 =