|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mortbay.io.BufferCache
public class BufferCache
Nested Class Summary | |
---|---|
static class |
BufferCache.CachedBuffer
|
Field Summary | |
---|---|
private HashMap |
_bufferMap
|
private ArrayList |
_index
|
private StringMap |
_stringMap
|
Constructor Summary | |
---|---|
BufferCache()
|
Method Summary | |
---|---|
BufferCache.CachedBuffer |
add(String value,
int ordinal)
add. |
BufferCache.CachedBuffer |
get(Buffer buffer)
|
BufferCache.CachedBuffer |
get(int ordinal)
|
BufferCache.CachedBuffer |
get(String value)
|
BufferCache.CachedBuffer |
getBest(byte[] value,
int offset,
int maxLength)
|
int |
getOrdinal(Buffer buffer)
|
Buffer |
lookup(Buffer buffer)
|
Buffer |
lookup(String value)
|
String |
toString()
|
String |
toString(Buffer buffer)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private HashMap _bufferMap
private StringMap _stringMap
private ArrayList _index
Constructor Detail |
---|
public BufferCache()
Method Detail |
---|
public BufferCache.CachedBuffer add(String value, int ordinal)
GET
- GET_METHOD
- public BufferCache.CachedBuffer get(int ordinal)
public BufferCache.CachedBuffer get(Buffer buffer)
public BufferCache.CachedBuffer get(String value)
public Buffer lookup(Buffer buffer)
public BufferCache.CachedBuffer getBest(byte[] value, int offset, int maxLength)
public Buffer lookup(String value)
public String toString(Buffer buffer)
public int getOrdinal(Buffer buffer)
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |