-
- All Implemented Interfaces:
-
java.util.Comparator
public final class FollowsSort extends Sort<FollowData>
Represents a sorting operation for follows.
This class allows you to specify how follows should be sorted when querying them.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classFollowsSort.Companion
-
Field Summary
Fields Modifier and Type Field Description private final SortDirectiondirectionprivate final SortField<FollowData>field
-
Constructor Summary
Constructors Constructor Description FollowsSort(FollowsSortField field, SortDirection direction)
-
Method Summary
Modifier and Type Method Description final SortDirectiongetDirection()final SortField<FollowData>getField()-
Methods inherited from class io.getstream.feeds.android.client.api.state.query.FollowsSort
compare, toDto -
Methods inherited from class io.getstream.android.core.api.sort.Sort
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
FollowsSort
FollowsSort(FollowsSortField field, SortDirection direction)
-
-
Method Detail
-
getDirection
final SortDirection getDirection()
-
getField
final SortField<FollowData> getField()
-
-
-
-