Class ImposesOrderOf<T>
- java.lang.Object
-
- org.saynotobugs.confidence.quality.comparator.ImposesOrderOf<T>
-
-
Constructor Summary
Constructors Constructor Description ImposesOrderOf(java.lang.Iterable<? extends T> orderedElements)ImposesOrderOf(T... orderedElements)Creates aQualitythat matches if theComparatorunder test orders the given elements in the same ascending order (left to right).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AssessmentassessmentOf(java.util.Comparator<T> candidate)Descriptiondescription()
-
-
-
Constructor Detail
-
ImposesOrderOf
@SafeVarargs public ImposesOrderOf(T... orderedElements)
Creates aQualitythat matches if theComparatorunder test orders the given elements in the same ascending order (left to right).
-
ImposesOrderOf
public ImposesOrderOf(java.lang.Iterable<? extends T> orderedElements)
-
-
Method Detail
-
assessmentOf
public Assessment assessmentOf(java.util.Comparator<T> candidate)
- Specified by:
assessmentOfin interfaceQuality<T>
-
description
public Description description()
- Specified by:
descriptionin interfaceQuality<T>
-
-