类 ConvertingComparator<S,​T>

  • 类型参数:
    S - the source type
    T - the target type
    所有已实现的接口:
    Comparator<S>

    public class ConvertingComparator<S,​T>
    extends Object
    implements Comparator<S>
    A Comparator that converts values before they are compared. The specified Converter will be used to convert each value before it passed to the underlying Comparator.
    从以下版本开始:
    3.2
    作者:
    Phillip Webb