Class ConverterCollections.ConverterComparator<F,T>

java.lang.Object
com.tangosol.util.ConverterCollections.ConverterComparator<F,T>
Type Parameters:
F - the type of the elements the underlying Comparator compares
T - the type that the elements should be converted to
All Implemented Interfaces:
Comparator<T>
Enclosing class:
ConverterCollections

public static class ConverterCollections.ConverterComparator<F,T> extends Object implements Comparator<T>
A Comparator that Converts the elements before comparing them.
  • Constructor Details

    • ConverterComparator

      public ConverterComparator(Comparator<? super F> comparator, Converter<T,F> conv)
      Constructor.
      Parameters:
      comparator - the comparator to wrap
      conv - the converter to use
  • Method Details