DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVA
sort a list in java according to last name
//sort by a single field Collections.sort(list, (o1,o2) -> o1.getfName().compareTo(o2.getfName()));
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#sort
#list
#java
ADD COMMENT
Topic
COMMENT
Name
8+2 =
Submit