public static List < String > toList ( CharSequence self ) { String s = self . toString ( ) ; int size = s . length ( ) ; List < String > answer = new ArrayList < String > ( size ) ; for ( int i = 0 ; i < size ; i ++ ) { answer . add ( s . substring ( i , i + 1 ) ) ; } return answer ; }
Converts the given CharSequence into a List of Strings of one character .