@Override public ByteRange shallowCopy() { SimpleByteRange clone = new SimpleByteRange(bytes, offset, length); if (isHashCached()) { clone.hash = hash; } return clone; }
@Override public ByteRange shallowCopySubRange(int innerOffset, int copyLength) { SimpleByteRange clone = new SimpleByteRange(bytes, offset + innerOffset, copyLength); if (isHashCached()) { clone.hash = hash; } return clone; }
@Override public ByteRange deepCopy() { SimpleByteRange clone = new SimpleByteRange(deepCopyToNewArray()); if (isHashCached()) { clone.hash = hash; } return clone; }
@Override public ByteRange shallowCopySubRange(int innerOffset, int copyLength) { SimpleByteRange clone = new SimpleByteRange(bytes, offset + innerOffset, copyLength); if (isHashCached()) { clone.hash = hash; } return clone; }
@Override public ByteRange shallowCopy() { SimpleByteRange clone = new SimpleByteRange(bytes, offset, length); if (isHashCached()) { clone.hash = hash; } return clone; }
@Override public ByteRange shallowCopy() { SimpleByteRange clone = new SimpleByteRange(bytes, offset, length); if (isHashCached()) { clone.hash = hash; } return clone; }
@Override public ByteRange shallowCopy() { SimpleByteRange clone = new SimpleByteRange(bytes, offset, length); if (isHashCached()) { clone.hash = hash; } return clone; }
@Override public ByteRange shallowCopySubRange(int innerOffset, int copyLength) { SimpleByteRange clone = new SimpleByteRange(bytes, offset + innerOffset, copyLength); if (isHashCached()) { clone.hash = hash; } return clone; }
@Override public ByteRange shallowCopySubRange(int innerOffset, int copyLength) { SimpleByteRange clone = new SimpleByteRange(bytes, offset + innerOffset, copyLength); if (isHashCached()) { clone.hash = hash; } return clone; }
@Override public ByteRange deepCopy() { SimpleByteRange clone = new SimpleByteRange(deepCopyToNewArray()); if (isHashCached()) { clone.hash = hash; } return clone; }
@Override public ByteRange deepCopy() { SimpleByteRange clone = new SimpleByteRange(deepCopyToNewArray()); if (isHashCached()) { clone.hash = hash; } return clone; }
@Override public ByteRange deepCopy() { SimpleByteRange clone = new SimpleByteRange(deepCopyToNewArray()); if (isHashCached()) { clone.hash = hash; } return clone; }