public class Comparators extends Object
Comparator related utilities.| Modifier and Type | Method and Description |
|---|---|
static <T,I extends Iterable<T>> |
comparingIterables(Comparator<? super T> each)
Get a
Comparator capable of comparing Iterables. |
public static <T,I extends Iterable<T>> Comparator<I> comparingIterables(Comparator<? super T> each)
Comparator capable of comparing Iterables.each - ComparatorCopyright © 2010–2020 The Apache Software Foundation. All rights reserved.