public static final int startingSubMultiple ( final int lgTarget , final ResizeFactor rf , final int lgMin ) { final int lgRF = rf . lg ( ) ; return ( lgTarget <= lgMin ) ? lgMin : ( lgRF == 0 ) ? lgTarget : ( ( lgTarget - lgMin ) % lgRF ) + lgMin ; }
Gets the smallest allowed exponent of 2 that it is a sub - multiple of the target by zero one or more resize factors .