Package 

Class PollsSort

  • All Implemented Interfaces:
    java.util.Comparator

    
    public final class PollsSort
    extends Sort<PollData>
                        

    Represents a sort specification for polls.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class PollsSort.Companion
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final SortDirection direction
      private final SortField<PollData> field
    • Method Summary

      Modifier and Type Method Description
      final SortDirection getDirection()
      final SortField<PollData> getField()
      • Methods inherited from class io.getstream.feeds.android.client.api.state.query.PollsSort

        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

      • PollsSort

        PollsSort(PollsSortField field, SortDirection direction)
        Parameters:
        field - The field by which to sort the polls.
        direction - The direction of the sort operation (ascending or descending).