question: public CharBuffer ( String string ) { int length = string . length ( ) ; int capacity = length + MIN_CAPACITY ; init ( new char [ capacity ] , 0 , length ) ; string . getChars ( 0 , length , buffer ( ) , 0 ) ; }
target:  Constructs a char buffer with the given initial string