Interface InMemorySortInfo

All Superinterfaces:
SortInfo
All Known Subinterfaces:
InMemoryPropertyDescriptorSortInfo
All Known Implementing Classes:
InMemoryPropertyDescriptorSortInfoImpl, InMemorySortInfoImpl

@NullMarked public interface InMemorySortInfo extends SortInfo
Represents sorting information for in-memory sorting operations.
  • Method Details

    • getComparator

      @Nullable Comparator<?> getComparator()
      Retrieves the comparator used for in-memory sorting.
      Returns:
      comparator or null if not set
    • setComparator

      void setComparator(@Nullable Comparator<?> comparator)
      Sets the comparator to be used for in-memory sorting.
      Parameters:
      comparator - the comparator to set, or null to clear the comparator