Package 

Object SortField.Companion

    • Method Summary

      Modifier and Type Method Description
      final <T extends Any, V extends Comparable<V>> SortField<T> create(String remote, Function1<T, V> localValue) Creates a new sort field with the specified remote identifier and local value extractor.
      • Methods inherited from class java.lang.Object

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

      • create

         final <T extends Any, V extends Comparable<V>> SortField<T> create(String remote, Function1<T, V> localValue)

        Creates a new sort field with the specified remote identifier and local value extractor.

        Parameters:
        remote - The string identifier used for remote API requests
        localValue - A function that extracts the comparable value from a model instance