comparison src/org/eclipse/jetty/io/Buffer.java @ 1037:3c4c7cc7904f

rename Buffer.hasContent() to hasRemaining()
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 03 Nov 2016 21:54:34 -0600
parents eca26899c4bc
children b71ad168fe34
comparison
equal deleted inserted replaced
1036:b87f97f6418a 1037:3c4c7cc7904f
120 int getIndex(); 120 int getIndex();
121 121
122 /** 122 /**
123 * @return true of putIndex > getIndex 123 * @return true of putIndex > getIndex
124 */ 124 */
125 boolean hasContent(); 125 boolean hasRemaining();
126 126
127 /** 127 /**
128 * 128 *
129 * @return a <code>boolean</code> value true if the buffer is immutable and that neither 129 * @return a <code>boolean</code> value true if the buffer is immutable and that neither
130 * the buffer contents nor the indexes may be changed. 130 * the buffer contents nor the indexes may be changed.