question: public int calculatePartition ( char _initialChar , int numPartitions ) { final int partitionSize = ( int ) ( Math . ceil ( 26.0d / ( double ) numPartitions ) ) ; int initialChar = ( int ) _initialChar ; if ( initialChar < 'a' ) return 0 ; if ( initialChar > 'z' ) return numPartitions - 1 ; return ( initialChar - 97 ) / partitionSize ; }
target:  Calculates the partitions for a given split number.