Class SortedQuestion<T extends java.lang.Object & java.lang.Comparable<? super T>>

java.lang.Object
net.serenitybdd.screenplay.questions.SortedQuestion<T>
All Implemented Interfaces:
Question<java.util.List<T>>

public class SortedQuestion<T extends java.lang.Object & java.lang.Comparable<? super T>>
extends java.lang.Object
implements Question<java.util.List<T>>
  • Constructor Summary

    Constructors
    Constructor Description
    SortedQuestion​(Question<? extends java.util.List<T>> listQuestion)  
    SortedQuestion​(Question<? extends java.util.List<T>> listQuestion, java.util.Comparator<? super T> comparator)  
  • Method Summary

    Modifier and Type Method Description
    java.util.List<T> answeredBy​(Actor actor)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.serenitybdd.screenplay.Question

    getSubject
  • Constructor Details

    • SortedQuestion

      public SortedQuestion​(Question<? extends java.util.List<T>> listQuestion)
    • SortedQuestion

      public SortedQuestion​(Question<? extends java.util.List<T>> listQuestion, java.util.Comparator<? super T> comparator)
  • Method Details

    • answeredBy

      public java.util.List<T> answeredBy​(Actor actor)
      Specified by:
      answeredBy in interface Question<T extends java.lang.Object & java.lang.Comparable<? super T>>