Class ImposesEquality<T>

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

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

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

      • ImposesEquality

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

        public ImposesEquality​(java.lang.Iterable<? extends T> equalElements)