/** * {@inheritDoc} */ @Override public final IoBuffer expand(int expectedRemaining) { return expand(position(), expectedRemaining, false); }
/** * {@inheritDoc} */ @Override public final int remaining() { return limit() - position(); }
/** * {@inheritDoc} */ @Override public final boolean hasRemaining() { return limit() > position(); }
/** * {@inheritDoc} */ @Override public final IoBuffer expand(int expectedRemaining) { return expand(position(), expectedRemaining, false); }
/** * {@inheritDoc} */ @Override public final IoBuffer mark() { buf().mark(); mark = position(); return this; }
/** * {@inheritDoc} */ @Override public final IoBuffer expand(int expectedRemaining) { return expand(position(), expectedRemaining, false); }
private IoBuffer expand(int expectedRemaining, boolean autoExpand) { return expand(position(), expectedRemaining, autoExpand); }
private IoBuffer expand(int expectedRemaining, boolean autoExpand) { return expand(position(), expectedRemaining, autoExpand); }
private IoBuffer expand(int expectedRemaining, boolean autoExpand) { return expand(position(), expectedRemaining, autoExpand); }
/** * {@inheritDoc} */ @Override public int hashCode() { int h = 1; int p = position(); for (int i = limit() - 1; i >= p; i--) { h = 31 * h + get(i); } return h; }
/** * {@inheritDoc} */ @Override public int hashCode() { int h = 1; int p = position(); for (int i = limit() - 1; i >= p; i--) { h = 31 * h + get(i); } return h; }
/** * {@inheritDoc} */ @Override public int hashCode() { int h = 1; int p = position(); for (int i = limit() - 1; i >= p; i--) { h = 31 * h + get(i); } return h; }