Class SetGenerators.ContiguousSetDescendingGenerator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.util.SortedSet<java.lang.Integer> create​(java.lang.Integer[] elements)  
      java.util.List<java.lang.Integer> order​(java.util.List<java.lang.Integer> insertionOrder)
      Sorts the elements in reverse natural order.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ContiguousSetDescendingGenerator

        public ContiguousSetDescendingGenerator()
    • Method Detail

      • order

        public java.util.List<java.lang.Integer> order​(java.util.List<java.lang.Integer> insertionOrder)
        Sorts the elements in reverse natural order.
        Specified by:
        order in interface TestContainerGenerator<java.util.Collection<java.lang.Integer>,​java.lang.Integer>
        Overrides:
        order in class TestIntegerSortedSetGenerator