public static int [ ] append ( int first , int second , int [ ] rhs ) { int [ ] rs = new int [ rhs . length + 2 ] ; rs [ 0 ] = first ; rs [ 1 ] = second ; System . arraycopy ( rhs , 0 , rs , 2 , rhs . length ) ; return rs ; }
Append two integer items to the front of an array of integer type together producing a fresh array whose length equals that of the third plus two .