-
- All Implemented Interfaces:
-
java.util.Comparator
public final class CommentReactionsSort extends Sort<FeedsReactionData>
A sort configuration for comment reactions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classCommentReactionsSort.Companion
-
Field Summary
Fields Modifier and Type Field Description private final SortDirectiondirectionprivate final SortField<FeedsReactionData>field
-
Constructor Summary
Constructors Constructor Description CommentReactionsSort(CommentReactionSortField field, SortDirection direction)
-
Method Summary
Modifier and Type Method Description final SortDirectiongetDirection()final SortField<FeedsReactionData>getField()-
Methods inherited from class io.getstream.feeds.android.client.api.state.query.CommentReactionsSort
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
-
CommentReactionsSort
CommentReactionsSort(CommentReactionSortField field, SortDirection direction)
- Parameters:
field- The field to sort by, such as creation date.direction- The direction of the sort, either ascending or descending.
-
-
Method Detail
-
getDirection
final SortDirection getDirection()
-
getField
final SortField<FeedsReactionData> getField()
-
-
-
-