Class ImposesOrderOf<T>

  • All Implemented Interfaces:
    Quality<java.util.Comparator<T>>

    public final class ImposesOrderOf<T>
    extends java.lang.Object
    implements Quality<java.util.Comparator<T>>
    • Constructor Summary

      Constructors 
      Constructor Description
      ImposesOrderOf​(java.lang.Iterable<? extends T> orderedElements)  
      ImposesOrderOf​(T... orderedElements)
      Creates a Quality that matches if the Comparator under test orders the given elements in the same ascending order (left to right).
    • Constructor Detail

      • ImposesOrderOf

        @SafeVarargs
        public ImposesOrderOf​(T... orderedElements)
        Creates a Quality that matches if the Comparator under test orders the given elements in the same ascending order (left to right).
      • ImposesOrderOf

        public ImposesOrderOf​(java.lang.Iterable<? extends T> orderedElements)