com.go.teaservlet.io
Class InternedCharToByteBuffer
java.lang.Object
|
+--com.go.trove.io.InternedCharToByteBuffer
|
+--com.go.teaservlet.io.InternedCharToByteBuffer
- All Implemented Interfaces:
- ByteBuffer, ByteBuffer, ByteData, ByteData, CharToByteBuffer, CharToByteBuffer, java.io.Serializable
Deprecated. Moved to com.go.trove.io package.
- public class InternedCharToByteBuffer
- extends InternedCharToByteBuffer
- implements CharToByteBuffer
A CharToByteBuffer that keeps track of interned strings (mainly string
literals) and statically caches the results of those strings after applying
a byte conversion. This can improve performance if many of the strings being
passed to the append method have been converted before.
- Version:
- 23 , 01/04/12
- Author:
- Brian S O'Neill
- See Also:
- Serialized Form
| Methods inherited from class com.go.trove.io.InternedCharToByteBuffer |
addCaptureBuffer, append, append, append, append, append, append, append, append, appendSurrogate, drain, getBaseByteCount, getByteCount, getEncoding, removeCaptureBuffer, reset, setEncoding, writeTo |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InternedCharToByteBuffer
public InternedCharToByteBuffer(CharToByteBuffer buffer)
throws java.io.IOException
- Deprecated.
InternedCharToByteBuffer
public InternedCharToByteBuffer(CharToByteBuffer buffer)
throws java.io.IOException
- Deprecated.
appendSurrogate
public void appendSurrogate(ByteData s)
throws java.io.IOException
- Deprecated.
- Specified by:
appendSurrogate in interface ByteBuffer
addCaptureBuffer
public void addCaptureBuffer(ByteBuffer buffer)
throws java.io.IOException
- Deprecated.
- Specified by:
addCaptureBuffer in interface ByteBuffer
removeCaptureBuffer
public void removeCaptureBuffer(ByteBuffer buffer)
throws java.io.IOException
- Deprecated.
- Specified by:
removeCaptureBuffer in interface ByteBuffer