public static char [ ] asCharacterTypeArray ( List < Character > input ) { char [ ] result = new char [ input . size ( ) ] ; for ( int i = 0 ; i < result . length ; i ++ ) { result [ i ] = input . get ( i ) ; } return result ; }
As character type array .