private List < Character > asCharList ( Object value ) { char [ ] values = ( char [ ] ) value ; List < Character > list = new ArrayList < Character > ( values . length ) ; for ( char charValue : values ) { list . add ( charValue ) ; } return list ; }
Returns value as a Character List .