Hi,
-----Original-Nachricht-----
> Von: Christopher Schultz <[email protected]>
> An: Tomcat Developers List <[email protected]>
> > A CharBuffer cannot grow itself?
>
> The API does not seem to say anything about re-sizing CharBuffers.
The Javadoc for java.nio.Buffer (superclass of CharBuffer) states that:
A buffer's capacity is the number of elements it contains. The capacity of
a buffer is never negative and never changes.
So one would probably need to manually allocate a bigger buffer when it has too
little remaining elements.
Regards,
Konstantin Preißer
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]