Class Comparators.SafeNullsHighComparator<T>

java.lang.Object
org.eclipse.collections.impl.block.factory.Comparators.SafeNullsHighComparator<T>
All Implemented Interfaces:
Serializable, Comparator<T>, SerializableComparator<T>
Enclosing class:
Comparators

private static final class Comparators.SafeNullsHighComparator<T> extends Object implements SerializableComparator<T>
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • notNullSafeComparator

      private final Comparator<T> notNullSafeComparator
  • Constructor Details

    • SafeNullsHighComparator

      private SafeNullsHighComparator(Comparator<T> newNotNullSafeComparator)
  • Method Details

    • compare

      public int compare(T value1, T value2)
      Specified by:
      compare in interface Comparator<T>