public class Sortables extends Object
| Constructor and Description |
|---|
Sortables() |
| Modifier and Type | Method and Description |
|---|---|
static <T> Comparator<T> |
comparator()
Returns a comparator.
|
static <T> int |
extract(T o)
Method extracting order value from a given object.
|
public static <T> int extract(T o)
T - The type of the elements to be sorted.o - Object to extract value for comparison.public static <T> Comparator<T> comparator()
T - The type of the elements to be sorted.Copyright © 2022 NorStella. All rights reserved.