Package ball.util
Class Comparators
- java.lang.Object
-
- ball.util.Comparators
-
@Deprecated public abstract class Comparators extends Object
Deprecated.- Author:
- Allen D. Ball
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static <T> Comparator<T>orderedBy(List<T> list)Deprecated.Static method to return aComparatorordering members in the same order as theList.
-
-
-
Method Detail
-
orderedBy
public static <T> Comparator<T> orderedBy(List<T> list)
Deprecated.Static method to return aComparatorordering members in the same order as theList.- Type Parameters:
T- The type to be ordered.- Parameters:
list- TheListdescribing the order.- Returns:
- A
Comparatorenforcing the specified order.
-
-