Mercurial Hosting > luan
comparison src/org/eclipse/jetty/io/Buffer.java @ 1031:921c25a05eaa
remove Buffer.asReadOnlyBuffer()
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 03 Nov 2016 02:04:40 -0600 |
parents | 80cad9086593 |
children | eca26899c4bc |
comparison
equal
deleted
inserted
replaced
1030:80cad9086593 | 1031:921c25a05eaa |
---|---|
64 * @return The root backing buffer or this if there is no backing buffer; | 64 * @return The root backing buffer or this if there is no backing buffer; |
65 */ | 65 */ |
66 Buffer buffer(); | 66 Buffer buffer(); |
67 | 67 |
68 /** | 68 /** |
69 * | |
70 * @return a readonly version of this <code>Buffer</code>. | |
71 */ | |
72 Buffer asReadOnlyBuffer(); | |
73 | |
74 /** | |
75 * | 69 * |
76 * The capacity of the buffer. This is the maximum putIndex that may be set. | 70 * The capacity of the buffer. This is the maximum putIndex that may be set. |
77 * @return an <code>int</code> value | 71 * @return an <code>int</code> value |
78 */ | 72 */ |
79 int capacity(); | 73 int capacity(); |