question: public static RunStats delegateGetBucketForBoolean ( int buckets ) throws Exception { Long startTime = System . currentTimeMillis ( ) ; PrimaryIndexBucketGeneratorImpl ibg = new PrimaryIndexBucketGeneratorImpl ( FieldDataType . BOOLEAN , buckets ) ; PrimaryIndexBucketLocatorImpl locator = new PrimaryIndexBucketLocatorImpl ( null , null , null , null , ibg . generateBuckets ( ) , null , null , null , null ) ; logger . debug ( "Test to getBucket for the bucket distribution on Boolean values" ) ; HashMap < Long , List < Object > > hm = new HashMap < > ( ) ; SummaryStatistics stats = new SummaryStatistics ( ) ; for ( int i = 0 ; i < 20000 ; i ++ ) { Boolean randomBoolean = RandomUtils . nextBoolean ( ) ; Long bucketId = locator . getBucket ( randomBoolean , FieldDataType . BOOLEAN ) ; TestUtils . calculate ( hm , stats , bucketId , randomBoolean ) ; } Long runTime = System . currentTimeMillis ( ) - startTime ; RunStats runStats = new RunStats ( "BucketForBoolean" , FieldDataType . BOOLEAN , runTime , stats , hm ) ; logger . debug ( runStats . toString ( ) ) ; return runStats ; }
target:  checks the Bucket Distribution for the Boolean values