private static int [ ] createIntArray ( int size , int initialValue ) { int [ ] array = new int [ size ] ; for ( int i = 0 ; i < size ; ++ i ) { array [ i ] = initialValue ; } return array ; }
Create an array whose elements have the given initial value .