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 Iterable s. |
public static <T,I extends Iterable<T>> Comparator<I> comparingIterables(Comparator<? super T> each)
Comparator
capable of comparing Iterable
s.each
- Comparator
Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.