Class HashCodeProviderTest


  • public class HashCodeProviderTest
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static double computeChiSq​(int keys, long buckets, gnu.trove.map.TIntIntMap keyCount)  
      static void doTestInt​(int col, int length, int numAdjust, int maxAdjust, boolean assertions)  
      static void doTestShort​(int col, int length, int numAdjust, int maxAdjust, boolean assertions)  
      protected static double expectedCol​(int keys, long vals)  
      static void main​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

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

      • HashCodeProviderTest

        public HashCodeProviderTest()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Parameters:
        args -
      • doTestShort

        public static void doTestShort​(int col,
                                       int length,
                                       int numAdjust,
                                       int maxAdjust,
                                       boolean assertions)
      • doTestInt

        public static void doTestInt​(int col,
                                     int length,
                                     int numAdjust,
                                     int maxAdjust,
                                     boolean assertions)
      • expectedCol

        protected static double expectedCol​(int keys,
                                            long vals)
      • computeChiSq

        protected static double computeChiSq​(int keys,
                                             long buckets,
                                             gnu.trove.map.TIntIntMap keyCount)