public class Comparators extends Object
| Constructor and Description |
|---|
Comparators() |
| Modifier and Type | Method and Description |
|---|---|
static <O> Optional<Comparator<O>> |
comparator(Collection<Comparator<O>> comparators)
Compute a optional comparator of given
comparators (if collection is empty, no comparator is produce then). |
public static <O> Optional<Comparator<O>> comparator(Collection<Comparator<O>> comparators)
comparators (if collection is empty, no comparator is produce then).O - type of object of comparatorscomparators - comparators to concatCopyright © 2018–2019 Ultreia.io. All rights reserved.