We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ac6649 commit 17525cdCopy full SHA for 17525cd
java2/functionalprogramming/Company.java
@@ -12,7 +12,7 @@ public Company() {
12
this.employees = new ArrayList<>(List.of(new Human(80), new Human(10), new Human(65)));
13
}
14
15
- public void sortByAgeDescending() {
+ public void sortByAgeAscending() {
16
// Klasse
17
Collections.sort(employees, new AgeComparator());
18
0 commit comments