public int setMaxBlockSize ( int size ) { maxBlockSize = ( size <= MAX_BLOCK_SIZE ) ? size : MAX_BLOCK_SIZE ; maxBlockSize = ( maxBlockSize >= MIN_BLOCK_SIZE ) ? maxBlockSize : MIN_BLOCK_SIZE ; return maxBlockSize ; }
Set the maximum block size to use . If this value is out of a valid range it will be set to the closest valid value . User must ensure that this value is set above or equal to the minimum block size .