public CharBuffer compact() {throw new ReadOnlyBufferException();}

public CharBuffer compact ( ) { throw new ReadOnlyBufferException ( ) ; }
public override java.nio.CharBuffer compact(){throw new java.nio.ReadOnlyBufferException();}
