Package org.apache.bval.util
Class Comparators
- java.lang.Object
-
- org.apache.bval.util.Comparators
-
public class Comparators extends Object
Comparator
related utilities.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T,I extends Iterable<T>>
Comparator<I>comparingIterables(Comparator<? super T> each)
Get aComparator
capable of comparingIterable
s.
-
-
-
Method Detail
-
comparingIterables
public static <T,I extends Iterable<T>> Comparator<I> comparingIterables(Comparator<? super T> each)
Get aComparator
capable of comparingIterable
s.- Parameters:
each
-- Returns:
Comparator
-
-