Class AbstractComparator<T>

java.lang.Object
io.jmix.ui.model.impl.AbstractComparator<T>
All Implemented Interfaces:
Comparator<T>
Direct Known Subclasses:
EntityValuesComparator

public abstract class AbstractComparator<T> extends Object implements Comparator<T>
  • Field Details

    • asc

      protected boolean asc
    • nullsLast

      protected int nullsLast
    • metadata

      protected Metadata metadata
    • metadataTools

      protected MetadataTools metadataTools
  • Constructor Details

    • AbstractComparator

      protected AbstractComparator(boolean asc)
  • Method Details

    • __compare

      protected int __compare(@Nullable Object o1, @Nullable Object o2)
    • compareAsc

      protected int compareAsc(@Nullable Object o1, @Nullable Object o2)