-
public class SortField.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static SortField.CompanionINSTANCE
-
Method Summary
-
-
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 requestslocalValue- A function that extracts the comparable value from a model instance
-
-
-
-