Package 

Interface SortField


  • 
    public interface SortField<T extends Object>
    
                        

    A protocol that defines a sortable field for a specific model type.

    This interface provides the foundation for creating sortable fields that can be used both for local sorting and remote API requests. It includes a comparator for local sorting operations and a remote string identifier for API communication.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class SortField.Companion
    • Method Summary

      Modifier and Type Method Description
      abstract AnySortComparator<T> getComparator() A comparator that can be used for local sorting operations.
      abstract String getRemote() The string identifier used when sending sort parameters to the remote API.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getRemote

         abstract String getRemote()

        The string identifier used when sending sort parameters to the remote API.