public class ComparatorUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Comparator<String> |
sortAlphabetically()
Comparator to sort alphabetically
|
static Comparator<Integer> |
sortAscending()
Comparator to sort ascending
|
static Comparator<Integer> |
sortDescending()
Comparator to sort descending
|
static Comparator<String> |
sortReverseAlphabetically()
Comparator to sort reverse alphabetically
|
public static Comparator<Integer> sortAscending()
public static Comparator<Integer> sortDescending()
public static Comparator<String> sortAlphabetically()
public static Comparator<String> sortReverseAlphabetically()
Copyright © 2018 Okkam srl. All rights reserved.