comparison src/org/eclipse/jetty/io/BufferCache.java @ 999:74b9daf2826c

simplify Response
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 19 Oct 2016 00:59:46 -0600
parents 3ff59e08a1b7
children
comparison
equal deleted inserted replaced
998:bf176925e00f 999:74b9daf2826c
30 * Buffers are stored in an ordered collection and can retreived by index or value 30 * Buffers are stored in an ordered collection and can retreived by index or value
31 * 31 *
32 */ 32 */
33 public class BufferCache 33 public class BufferCache
34 { 34 {
35 private final HashMap _bufferMap=new HashMap(); 35 private final HashMap _bufferMap = new HashMap();
36 private final TreeMap _stringMap = new TreeMap(); 36 private final TreeMap _stringMap = new TreeMap();
37 private final ArrayList _index= new ArrayList(); 37 private final ArrayList _index = new ArrayList();
38 38
39 /* ------------------------------------------------------------------------------- */ 39 /* ------------------------------------------------------------------------------- */
40 /** Add a buffer to the cache at the specified index. 40 /** Add a buffer to the cache at the specified index.
41 * @param value The content of the buffer. 41 * @param value The content of the buffer.
42 */ 42 */