equal
deleted
inserted
replaced
189 * room in the output buffer. |
189 * room in the output buffer. |
190 */ |
190 */ |
191 public static final CoderResult OVERFLOW |
191 public static final CoderResult OVERFLOW |
192 = new CoderResult(CR_OVERFLOW, 0); |
192 = new CoderResult(CR_OVERFLOW, 0); |
193 |
193 |
194 private static abstract class Cache { |
194 private abstract static class Cache { |
195 |
195 |
196 private Map<Integer,WeakReference<CoderResult>> cache = null; |
196 private Map<Integer,WeakReference<CoderResult>> cache = null; |
197 |
197 |
198 protected abstract CoderResult create(int len); |
198 protected abstract CoderResult create(int len); |
199 |
199 |