Class AggregateQuestions
java.lang.Object
net.serenitybdd.screenplay.questions.AggregateQuestions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Object & Comparable<? super T>>
Question<T> theMaximumOf(Question<? extends Collection<T>> listQuestion) static <T extends Object & Comparable<? super T>>
Question<T> theMaximumOf(Question<? extends Collection<T>> listQuestion, Comparator<? super T> comparator) static <T extends Object & Comparable<? super T>>
Question<T> theMinimumOf(Question<? extends Collection<T>> listQuestion) static <T extends Object & Comparable<? super T>>
Question<T> theMinimumOf(Question<? extends Collection<T>> listQuestion, Comparator<? super T> comparator) theReverse(Question<? extends List<T>> listQuestion) static <T extends Object & Comparable<? super T>>
Question<List<T>> static <T extends Object & Comparable<? super T>>
Question<List<T>> theSorted(Question<? extends List<T>> listQuestion, Comparator<? super T> comparator) theSumOf(Question<? extends Collection<Integer>> listQuestion) theTotalNumberOf(Question<? extends Collection<T>> listQuestion)
-
Constructor Details
-
AggregateQuestions
public AggregateQuestions()
-
-
Method Details
-
theTotalNumberOf
public static <T> Question<Integer> theTotalNumberOf(Question<? extends Collection<T>> listQuestion) -
theSumOf
-
theMaximumOf
public static <T extends Object & Comparable<? super T>> Question<T> theMaximumOf(Question<? extends Collection<T>> listQuestion) -
theMaximumOf
public static <T extends Object & Comparable<? super T>> Question<T> theMaximumOf(Question<? extends Collection<T>> listQuestion, Comparator<? super T> comparator) -
theMinimumOf
public static <T extends Object & Comparable<? super T>> Question<T> theMinimumOf(Question<? extends Collection<T>> listQuestion) -
theMinimumOf
public static <T extends Object & Comparable<? super T>> Question<T> theMinimumOf(Question<? extends Collection<T>> listQuestion, Comparator<? super T> comparator) -
theReverse
-
theSorted
-
theSorted
public static <T extends Object & Comparable<? super T>> Question<List<T>> theSorted(Question<? extends List<T>> listQuestion, Comparator<? super T> comparator)
-