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

Constructor Summary
InternedCharToByteBuffer(CharToByteBuffer buffer)
          Deprecated.  
InternedCharToByteBuffer(CharToByteBuffer buffer)
          Deprecated.  
 
Method Summary
 void addCaptureBuffer(ByteBuffer buffer)
          Deprecated.  
 void appendSurrogate(ByteData s)
          Deprecated.  
 void removeCaptureBuffer(ByteBuffer buffer)
          Deprecated.  
 
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
 
Methods inherited from interface com.go.trove.io.CharToByteBuffer
append, append, append, append, append, drain, getEncoding, setEncoding
 
Methods inherited from interface com.go.trove.io.ByteBuffer
addCaptureBuffer, append, append, append, appendSurrogate, getBaseByteCount, removeCaptureBuffer
 
Methods inherited from interface com.go.trove.io.ByteData
getByteCount, reset, writeTo
 

Constructor Detail

InternedCharToByteBuffer

public InternedCharToByteBuffer(CharToByteBuffer buffer)
                         throws java.io.IOException
Deprecated. 

InternedCharToByteBuffer

public InternedCharToByteBuffer(CharToByteBuffer buffer)
                         throws java.io.IOException
Deprecated. 
Method Detail

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