blob: 61a06ee88cbae548965fd86d4065a6fdec37984b [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SimplePositionedMutableByteRange (Apache HBase 3.0.0-alpha-2-SNAPSHOT API)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!--
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="SimplePositionedMutableByteRange (Apache HBase 3.0.0-alpha-2-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/SimplePositionedMutableByteRange.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedByteRange.html" title="class in org.apache.hadoop.hbase.util"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/hadoop/hbase/util/VersionInfo.html" title="class in org.apache.hadoop.hbase.util"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html" target="_top">Frames</a></li>
<li><a href="SimplePositionedMutableByteRange.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.apache.hadoop.hbase.util.AbstractPositionedByteRange">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">org.apache.hadoop.hbase.util</div>
<h2 title="Class SimplePositionedMutableByteRange" class="title">Class SimplePositionedMutableByteRange</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.apache.hadoop.hbase.util.AbstractByteRange</li>
<li>
<ul class="inheritance">
<li>org.apache.hadoop.hbase.util.AbstractPositionedByteRange</li>
<li>
<ul class="inheritance">
<li>org.apache.hadoop.hbase.util.SimplePositionedMutableByteRange</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;<a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a>&gt;, <a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a>, <a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></dd>
</dl>
<hr>
<br>
<pre>@InterfaceAudience.Public
public class <a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.64">SimplePositionedMutableByteRange</a>
extends org.apache.hadoop.hbase.util.AbstractPositionedByteRange</pre>
<div class="block">Extends the basic <code>AbstractPositionedByteRange</code> implementation with
position support and it is a mutable version. <code>position</code> is considered transient,
not fundamental to the definition of the range, and does not participate in
<code>AbstractByteRange.compareTo(ByteRange)</code>, <code>AbstractByteRange.hashCode()</code>, or
<code>AbstractByteRange.equals(Object)</code>. <code>Position</code> is retained by copy operations.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.hadoop.hbase.util.AbstractPositionedByteRange">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.hadoop.hbase.util.AbstractPositionedByteRange</h3>
<code>limit, position</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="fields.inherited.from.class.org.apache.hadoop.hbase.util.AbstractByteRange">
<!-- -->
</a>
<h3>Fields inherited from class&nbsp;org.apache.hadoop.hbase.util.AbstractByteRange</h3>
<code>bytes, hash, length, offset, UNSET_HASH_VALUE</code></li>
</ul>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#SimplePositionedMutableByteRange--">SimplePositionedMutableByteRange</a></span>()</code>
<div class="block">Create a new <code>PositionedByteRange</code> lacking a backing array and with
an undefined viewport.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#SimplePositionedMutableByteRange-byte:A-">SimplePositionedMutableByteRange</a></span>(byte[]&nbsp;bytes)</code>
<div class="block">Create a new <code>PositionedByteRange</code> over the provided <code>bytes</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#SimplePositionedMutableByteRange-byte:A-int-int-">SimplePositionedMutableByteRange</a></span>(byte[]&nbsp;bytes,
int&nbsp;offset,
int&nbsp;length)</code>
<div class="block">Create a new <code>PositionedByteRange</code> over the provided <code>bytes</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#SimplePositionedMutableByteRange-int-">SimplePositionedMutableByteRange</a></span>(int&nbsp;capacity)</code>
<div class="block">Create a new <code>PositionedByteRange</code> over a new backing array of size
<code>capacity</code>.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr id="i0" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#deepCopy--">deepCopy</a></span>()</code>
<div class="block">Create a new <code>ByteRange</code> with new backing byte[] containing a copy
of the content from <code>this</code> range's window.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#get-int-byte:A-">get</a></span>(int&nbsp;index,
byte[]&nbsp;dst)</code>
<div class="block">Fill <code>dst</code> with bytes from the range, starting from <code>index</code>.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#get-int-byte:A-int-int-">get</a></span>(int&nbsp;index,
byte[]&nbsp;dst,
int&nbsp;offset,
int&nbsp;length)</code>
<div class="block">Fill <code>dst</code> with bytes from the range, starting from <code>index</code>.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#put-byte-">put</a></span>(byte&nbsp;val)</code>
<div class="block">Store <code>val</code> at the next position in this range.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#put-byte:A-">put</a></span>(byte[]&nbsp;val)</code>
<div class="block">Store the content of <code>val</code> in this range, starting at the next position.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#put-byte:A-int-int-">put</a></span>(byte[]&nbsp;val,
int&nbsp;offset,
int&nbsp;length)</code>
<div class="block">Store <code>length</code> bytes from <code>val</code> into this range.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#put-int-byte-">put</a></span>(int&nbsp;index,
byte&nbsp;val)</code>
<div class="block">Store <code>val</code> at <code>index</code>.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#put-int-byte:A-">put</a></span>(int&nbsp;index,
byte[]&nbsp;val)</code>
<div class="block">Store <code>val</code> at <code>index</code>.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#put-int-byte:A-int-int-">put</a></span>(int&nbsp;index,
byte[]&nbsp;val,
int&nbsp;offset,
int&nbsp;length)</code>
<div class="block">Store <code>length</code> bytes from <code>val</code> into this range, starting at
<code>index</code>.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#putInt-int-">putInt</a></span>(int&nbsp;val)</code>
<div class="block">Store int <code>val</code> at the next position in this range.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#putInt-int-int-">putInt</a></span>(int&nbsp;index,
int&nbsp;val)</code>
<div class="block">Store the int value at <code>index</code></div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#putLong-int-long-">putLong</a></span>(int&nbsp;index,
long&nbsp;val)</code>
<div class="block">Store the long value at <code>index</code></div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#putLong-long-">putLong</a></span>(long&nbsp;val)</code>
<div class="block">Store long <code>val</code> at the next position in this range.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#putShort-int-short-">putShort</a></span>(int&nbsp;index,
short&nbsp;val)</code>
<div class="block">Store the short value at <code>index</code></div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#putShort-short-">putShort</a></span>(short&nbsp;val)</code>
<div class="block">Store short <code>val</code> at the next position in this range.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#putVLong-int-long-">putVLong</a></span>(int&nbsp;index,
long&nbsp;val)</code>
<div class="block">Store the long value at <code>index</code> as a VLong</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#putVLong-long-">putVLong</a></span>(long&nbsp;val)</code>
<div class="block">Store the long <code>val</code> at the next position as a VLong</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#set-byte:A-">set</a></span>(byte[]&nbsp;bytes)</code>
<div class="block">Reuse this <code>ByteRange</code> over a new byte[].</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#set-byte:A-int-int-">set</a></span>(byte[]&nbsp;bytes,
int&nbsp;offset,
int&nbsp;length)</code>
<div class="block">Reuse this <code>ByteRange</code> over a new byte[].</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#set-int-">set</a></span>(int&nbsp;capacity)</code>
<div class="block">Reuse this <code>ByteRange</code> over a new byte[].</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#setLength-int-">setLength</a></span>(int&nbsp;length)</code>
<div class="block">Update the length of this range.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#setOffset-int-">setOffset</a></span>(int&nbsp;offset)</code>
<div class="block">Update the beginning of this range.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#shallowCopy--">shallowCopy</a></span>()</code>
<div class="block">Create a new <code>ByteRange</code> that points at this range's byte[].</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#shallowCopySubRange-int-int-">shallowCopySubRange</a></span>(int&nbsp;innerOffset,
int&nbsp;copyLength)</code>
<div class="block">Create a new <code>ByteRange</code> that points at this range's byte[].</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#unset--">unset</a></span>()</code>
<div class="block">Nullifies this ByteRange.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.util.AbstractPositionedByteRange">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.hadoop.hbase.util.AbstractPositionedByteRange</h3>
<code>get, get, get, getInt, getLimit, getLong, getPosition, getRemaining, getShort, getVLong, peek, setLimit, setPosition</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.util.AbstractByteRange">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;org.apache.hadoop.hbase.util.AbstractByteRange</h3>
<code>clearHashCache, compareTo, deepCopySubRangeTo, deepCopyTo, deepCopyToNewArray, equals, get, getBytes, getInt, getLength, getLong, getOffset, getShort, getVLong, getVLongSize, hashCode, isEmpty, isEmpty, isHashCached, toString</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.apache.hadoop.hbase.util.ByteRange">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;org.apache.hadoop.hbase.util.<a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a></h3>
<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#deepCopySubRangeTo-int-int-byte:A-int-">deepCopySubRangeTo</a>, <a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#deepCopyTo-byte:A-int-">deepCopyTo</a>, <a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#deepCopyToNewArray--">deepCopyToNewArray</a>, <a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#get-int-">get</a>, <a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#getBytes--">getBytes</a>, <a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#getInt-int-">getInt</a>, <a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#getLength--">getLength</a>, <a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#getLong-int-">getLong</a>, <a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#getOffset--">getOffset</a>, <a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#getShort-int-">getShort</a>, <a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#getVLong-int-">getVLong</a>, <a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#isEmpty--">isEmpty</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Comparable">
<!-- -->
</a>
<h3>Methods inherited from interface&nbsp;java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a></h3>
<code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true#compareTo-T-" title="class or interface in java.lang">compareTo</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor.detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="SimplePositionedMutableByteRange--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SimplePositionedMutableByteRange</h4>
<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.69">SimplePositionedMutableByteRange</a>()</pre>
<div class="block">Create a new <code>PositionedByteRange</code> lacking a backing array and with
an undefined viewport.</div>
</li>
</ul>
<a name="SimplePositionedMutableByteRange-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SimplePositionedMutableByteRange</h4>
<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.81">SimplePositionedMutableByteRange</a>(int&nbsp;capacity)</pre>
<div class="block">Create a new <code>PositionedByteRange</code> over a new backing array of size
<code>capacity</code>. The range's offset and length are 0 and <code>capacity</code>,
respectively.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>capacity</code> - the size of the backing array.</dd>
</dl>
</li>
</ul>
<a name="SimplePositionedMutableByteRange-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SimplePositionedMutableByteRange</h4>
<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.91">SimplePositionedMutableByteRange</a>(byte[]&nbsp;bytes)</pre>
<div class="block">Create a new <code>PositionedByteRange</code> over the provided <code>bytes</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>bytes</code> - The array to wrap.</dd>
</dl>
</li>
</ul>
<a name="SimplePositionedMutableByteRange-byte:A-int-int-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SimplePositionedMutableByteRange</h4>
<pre>public&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.106">SimplePositionedMutableByteRange</a>(byte[]&nbsp;bytes,
int&nbsp;offset,
int&nbsp;length)</pre>
<div class="block">Create a new <code>PositionedByteRange</code> over the provided <code>bytes</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>bytes</code> - The array to wrap.</dd>
<dd><code>offset</code> - The offset into <code>bytes</code> considered the beginning of this
range.</dd>
<dd><code>length</code> - The length of this range.</dd>
</dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="unset--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unset</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.111">unset</a>()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#unset--">ByteRange</a></code></span></div>
<div class="block">Nullifies this ByteRange. That is, it becomes a husk, being a range over
no byte[] whatsoever.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this</dd>
</dl>
</li>
</ul>
<a name="set-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.121">set</a>(int&nbsp;capacity)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#set-int-">ByteRange</a></code></span></div>
<div class="block">Reuse this <code>ByteRange</code> over a new byte[]. <code>offset</code> is set to
0 and <code>length</code> is set to <code>capacity</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#set-int-">set</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html#set-int-">set</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>set</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.util.AbstractPositionedByteRange</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>capacity</code> - the size of a new byte[].</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this</dd>
</dl>
</li>
</ul>
<a name="set-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.129">set</a>(byte[]&nbsp;bytes)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#set-byte:A-">ByteRange</a></code></span></div>
<div class="block">Reuse this <code>ByteRange</code> over a new byte[]. <code>offset</code> is set to
0 and <code>length</code> is set to <code>bytes.length</code>. A null <code>bytes</code>
IS supported, in which case this method will behave equivalently to
<a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#unset--"><code>ByteRange.unset()</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#set-byte:A-">set</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html#set-byte:A-">set</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>set</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.util.AbstractPositionedByteRange</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>bytes</code> - the array to wrap.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this</dd>
</dl>
</li>
</ul>
<a name="set-byte:A-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>set</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.137">set</a>(byte[]&nbsp;bytes,
int&nbsp;offset,
int&nbsp;length)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#set-byte:A-int-int-">ByteRange</a></code></span></div>
<div class="block">Reuse this <code>ByteRange</code> over a new byte[]. A null <code>bytes</code> IS
supported, in which case this method will behave equivalently to
<a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#unset--"><code>ByteRange.unset()</code></a>, regardless of the values of <code>offset</code> and
<code>length</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#set-byte:A-int-int-">set</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html#set-byte:A-int-int-">set</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>set</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.util.AbstractPositionedByteRange</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>bytes</code> - The array to wrap.</dd>
<dd><code>offset</code> - The offset into <code>bytes</code> considered the beginning of
this range.</dd>
<dd><code>length</code> - The length of this range.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this.</dd>
</dl>
</li>
</ul>
<a name="setOffset-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setOffset</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.153">setOffset</a>(int&nbsp;offset)</pre>
<div class="block">Update the beginning of this range. <code>offset + length</code> may not be
greater than <code>bytes.length</code>. Resets <code>position</code> to 0.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#setOffset-int-">setOffset</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html#setOffset-int-">setOffset</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setOffset</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.util.AbstractPositionedByteRange</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>offset</code> - the new start of this range.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this.</dd>
</dl>
</li>
</ul>
<a name="setLength-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLength</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.169">setLength</a>(int&nbsp;length)</pre>
<div class="block">Update the length of this range. <code>offset + length</code> should not be
greater than <code>bytes.length</code>. If <code>position</code> is greater than the
new <code>length</code>, sets <code>position</code> to <code>length</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#setLength-int-">setLength</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html#setLength-int-">setLength</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>setLength</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.util.AbstractPositionedByteRange</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>length</code> - The new length of this range.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this.</dd>
</dl>
</li>
</ul>
<a name="put-byte-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.176">put</a>(byte&nbsp;val)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html#put-byte-">PositionedByteRange</a></code></span></div>
<div class="block">Store <code>val</code> at the next position in this range.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>val</code> - the new value.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this.</dd>
</dl>
</li>
</ul>
<a name="put-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.182">put</a>(byte[]&nbsp;val)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html#put-byte:A-">PositionedByteRange</a></code></span></div>
<div class="block">Store the content of <code>val</code> in this range, starting at the next position.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>val</code> - the new value.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this.</dd>
</dl>
</li>
</ul>
<a name="put-byte:A-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.189">put</a>(byte[]&nbsp;val,
int&nbsp;offset,
int&nbsp;length)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html#put-byte:A-int-int-">PositionedByteRange</a></code></span></div>
<div class="block">Store <code>length</code> bytes from <code>val</code> into this range. Bytes from
<code>val</code> are copied starting at <code>offset</code> into the range, starting at
the current position.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>val</code> - the new value.</dd>
<dd><code>offset</code> - the offset in <code>val</code> from which to start copying.</dd>
<dd><code>length</code> - the number of bytes to copy from <code>val</code>.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this.</dd>
</dl>
</li>
</ul>
<a name="get-int-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.198">get</a>(int&nbsp;index,
byte[]&nbsp;dst)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#get-int-byte:A-">ByteRange</a></code></span></div>
<div class="block">Fill <code>dst</code> with bytes from the range, starting from <code>index</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#get-int-byte:A-">get</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html#get-int-byte:A-">get</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>get</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.util.AbstractPositionedByteRange</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - zero-based index into this range.</dd>
<dd><code>dst</code> - the destination of the copy.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this.</dd>
</dl>
</li>
</ul>
<a name="get-int-byte:A-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>get</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.204">get</a>(int&nbsp;index,
byte[]&nbsp;dst,
int&nbsp;offset,
int&nbsp;length)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#get-int-byte:A-int-int-">ByteRange</a></code></span></div>
<div class="block">Fill <code>dst</code> with bytes from the range, starting from <code>index</code>.
<code>length</code> bytes are copied into <code>dst</code>, starting at <code>offset</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#get-int-byte:A-int-int-">get</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html" title="interface in org.apache.hadoop.hbase.util">ByteRange</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html#get-int-byte:A-int-int-">get</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code>get</code>&nbsp;in class&nbsp;<code>org.apache.hadoop.hbase.util.AbstractPositionedByteRange</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - zero-based index into this range.</dd>
<dd><code>dst</code> - the destination of the copy.</dd>
<dd><code>offset</code> - the offset into <code>dst</code> to start the copy.</dd>
<dd><code>length</code> - the number of bytes to copy into <code>dst</code>.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this.</dd>
</dl>
</li>
</ul>
<a name="put-int-byte-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.210">put</a>(int&nbsp;index,
byte&nbsp;val)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#put-int-byte-">ByteRange</a></code></span></div>
<div class="block">Store <code>val</code> at <code>index</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index in the range where <code>val</code> is stored.</dd>
<dd><code>val</code> - the value to store.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this.</dd>
</dl>
</li>
</ul>
<a name="put-int-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.216">put</a>(int&nbsp;index,
byte[]&nbsp;val)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#put-int-byte:A-">ByteRange</a></code></span></div>
<div class="block">Store <code>val</code> at <code>index</code>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index in the range where <code>val</code> is stored.</dd>
<dd><code>val</code> - the value to store.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this.</dd>
</dl>
</li>
</ul>
<a name="put-int-byte:A-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>put</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.223">put</a>(int&nbsp;index,
byte[]&nbsp;val,
int&nbsp;offset,
int&nbsp;length)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#put-int-byte:A-int-int-">ByteRange</a></code></span></div>
<div class="block">Store <code>length</code> bytes from <code>val</code> into this range, starting at
<code>index</code>. Bytes from <code>val</code> are copied starting at <code>offset</code>
into the range.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - position in this range to start the copy.</dd>
<dd><code>val</code> - the value to store.</dd>
<dd><code>offset</code> - the offset in <code>val</code> from which to start copying.</dd>
<dd><code>length</code> - the number of bytes to copy from <code>val</code>.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this.</dd>
</dl>
</li>
</ul>
<a name="deepCopy--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>deepCopy</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.231">deepCopy</a>()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#deepCopy--">ByteRange</a></code></span></div>
<div class="block">Create a new <code>ByteRange</code> with new backing byte[] containing a copy
of the content from <code>this</code> range's window.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>Deep copy</dd>
</dl>
</li>
</ul>
<a name="shallowCopy--">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shallowCopy</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.239">shallowCopy</a>()</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#shallowCopy--">ByteRange</a></code></span></div>
<div class="block">Create a new <code>ByteRange</code> that points at this range's byte[].
Modifying the shallowCopy will modify the bytes in this range's array.
Pass over the hash code if it is already cached.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>new <code>ByteRange</code> object referencing this range's byte[].</dd>
</dl>
</li>
</ul>
<a name="shallowCopySubRange-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shallowCopySubRange</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.247">shallowCopySubRange</a>(int&nbsp;innerOffset,
int&nbsp;copyLength)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#shallowCopySubRange-int-int-">ByteRange</a></code></span></div>
<div class="block">Create a new <code>ByteRange</code> that points at this range's byte[]. The new
range can have different values for offset and length, but modifying the
shallowCopy will modify the bytes in this range's array. Pass over the
hash code if it is already cached.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>innerOffset</code> - First byte of clone will be this.offset + copyOffset.</dd>
<dd><code>copyLength</code> - Number of bytes in the clone.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>new <code>ByteRange</code> object referencing this range's byte[].</dd>
</dl>
</li>
</ul>
<a name="putShort-short-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putShort</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.255">putShort</a>(short&nbsp;val)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html#putShort-short-">PositionedByteRange</a></code></span></div>
<div class="block">Store short <code>val</code> at the next position in this range.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>val</code> - the new value.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this.</dd>
</dl>
</li>
</ul>
<a name="putInt-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putInt</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.262">putInt</a>(int&nbsp;val)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html#putInt-int-">PositionedByteRange</a></code></span></div>
<div class="block">Store int <code>val</code> at the next position in this range.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>val</code> - the new value.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this.</dd>
</dl>
</li>
</ul>
<a name="putLong-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putLong</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.269">putLong</a>(long&nbsp;val)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html#putLong-long-">PositionedByteRange</a></code></span></div>
<div class="block">Store long <code>val</code> at the next position in this range.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>val</code> - the new value.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this.</dd>
</dl>
</li>
</ul>
<a name="putVLong-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putVLong</h4>
<pre>public&nbsp;int&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.276">putVLong</a>(long&nbsp;val)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html#putVLong-long-">PositionedByteRange</a></code></span></div>
<div class="block">Store the long <code>val</code> at the next position as a VLong</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>val</code> - the value to store</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of bytes written</dd>
</dl>
</li>
</ul>
<a name="putShort-int-short-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putShort</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.283">putShort</a>(int&nbsp;index,
short&nbsp;val)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#putShort-int-short-">ByteRange</a></code></span></div>
<div class="block">Store the short value at <code>index</code></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index in the range where <code>val</code> is stored</dd>
<dd><code>val</code> - the value to store</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this</dd>
</dl>
</li>
</ul>
<a name="putInt-int-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putInt</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.295">putInt</a>(int&nbsp;index,
int&nbsp;val)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#putInt-int-int-">ByteRange</a></code></span></div>
<div class="block">Store the int value at <code>index</code></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index in the range where <code>val</code> is stored</dd>
<dd><code>val</code> - the value to store</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this</dd>
</dl>
</li>
</ul>
<a name="putLong-int-long-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>putLong</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/hadoop/hbase/util/PositionedByteRange.html" title="interface in org.apache.hadoop.hbase.util">PositionedByteRange</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.309">putLong</a>(int&nbsp;index,
long&nbsp;val)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#putLong-int-long-">ByteRange</a></code></span></div>
<div class="block">Store the long value at <code>index</code></div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index in the range where <code>val</code> is stored</dd>
<dd><code>val</code> - the value to store</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>this</dd>
</dl>
</li>
</ul>
<a name="putVLong-int-long-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>putVLong</h4>
<pre>public&nbsp;int&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html#line.324">putVLong</a>(int&nbsp;index,
long&nbsp;val)</pre>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/util/ByteRange.html#putVLong-int-long-">ByteRange</a></code></span></div>
<div class="block">Store the long value at <code>index</code> as a VLong</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>index</code> - the index in the range where <code>val</code> is stored</dd>
<dd><code>val</code> - the value to store</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>number of bytes written</dd>
</dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/SimplePositionedMutableByteRange.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/hadoop/hbase/util/SimplePositionedByteRange.html" title="class in org.apache.hadoop.hbase.util"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../../org/apache/hadoop/hbase/util/VersionInfo.html" title="class in org.apache.hadoop.hbase.util"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/hadoop/hbase/util/SimplePositionedMutableByteRange.html" target="_top">Frames</a></li>
<li><a href="SimplePositionedMutableByteRange.html" target="_top">No&nbsp;Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#fields.inherited.from.class.org.apache.hadoop.hbase.util.AbstractPositionedByteRange">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2007&#x2013;2021 <a href="https://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>