Package cern.colt

Class GenericSortingTest


  • class GenericSortingTest
    extends java.lang.Object
    Demonstrates how to use Sort.
    Version:
    1.0, 03-Jul-99
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected GenericSortingTest()
      Makes this class non instantiable, but still let's others inherit from it.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void demo1()
      Just a demo.
      static void demo2()
      Just a demo.
      static void testRandomly​(int runs)
      Checks the correctness of the partition method by generating random input parameters and checking whether results are correct.
      • Methods inherited from class java.lang.Object

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

      • GenericSortingTest

        protected GenericSortingTest()
        Makes this class non instantiable, but still let's others inherit from it.
    • Method Detail

      • demo1

        public static void demo1()
        Just a demo.
      • demo2

        public static void demo2()
        Just a demo.
      • testRandomly

        public static void testRandomly​(int runs)
        Checks the correctness of the partition method by generating random input parameters and checking whether results are correct.