blob: 3fd5dbf802455116fdae1389002af2a7bd2f20e5 [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 (1.8.0_162) on Thu Oct 25 17:06:11 PDT 2018 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Uses of Class com.yahoo.sketches.ArrayOfItemsSerDe (com.yahoo.datasketches:sketches-core 0.12.1-SNAPSHOT API)</title>
<meta name="date" content="2018-10-25">
<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="Uses of Class com.yahoo.sketches.ArrayOfItemsSerDe (com.yahoo.datasketches:sketches-core 0.12.1-SNAPSHOT API)";
}
}
catch(err) {
}
//-->
</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><a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">Class</a></li>
<li class="navBarCell1Rev">Use</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>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/yahoo/sketches/class-use/ArrayOfItemsSerDe.html" target="_top">Frames</a></li>
<li><a href="ArrayOfItemsSerDe.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>
<a name="skip.navbar.top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="header">
<h2 title="Uses of Class com.yahoo.sketches.ArrayOfItemsSerDe" class="title">Uses of Class<br>com.yahoo.sketches.ArrayOfItemsSerDe</h2>
</div>
<div class="classUseContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#com.yahoo.sketches">com.yahoo.sketches</a></td>
<td class="colLast">
<div class="block">This package is the parent package for all sketch algorithms.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.yahoo.sketches.frequencies">com.yahoo.sketches.frequencies</a></td>
<td class="colLast">
<div class="block">This package is dedicated to streaming algorithms that enable estimation of the
frequency of occurence of items in a weighted multiset stream of items.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#com.yahoo.sketches.quantiles">com.yahoo.sketches.quantiles</a></td>
<td class="colLast">
<div class="block">The quantiles package contains stochastic streaming algorithms that enable single-pass
analysis of the distribution of a stream of real (double) values or generic items.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.yahoo.sketches.sampling">com.yahoo.sketches.sampling</a></td>
<td class="colLast">
<div class="block">This package is dedicated to streaming algorithms that enable fixed size, uniform sampling of
unweighted items from a stream.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList">
<ul class="blockList">
<li class="blockList"><a name="com.yahoo.sketches">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a> in <a href="../../../../com/yahoo/sketches/package-summary.html">com.yahoo.sketches</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing subclasses, and an explanation">
<caption><span>Subclasses of <a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a> in <a href="../../../../com/yahoo/sketches/package-summary.html">com.yahoo.sketches</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/ArrayOfBooleansSerDe.html" title="class in com.yahoo.sketches">ArrayOfBooleansSerDe</a></span></code>
<div class="block">Methods of serializing and deserializing arrays of Boolean as a bit array.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/ArrayOfDoublesSerDe.html" title="class in com.yahoo.sketches">ArrayOfDoublesSerDe</a></span></code>
<div class="block">Methods of serializing and deserializing arrays of Double.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/ArrayOfLongsSerDe.html" title="class in com.yahoo.sketches">ArrayOfLongsSerDe</a></span></code>
<div class="block">Methods of serializing and deserializing arrays of Long.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/ArrayOfNumbersSerDe.html" title="class in com.yahoo.sketches">ArrayOfNumbersSerDe</a></span></code>
<div class="block">Methods of serializing and deserializing arrays of the object version of primitive types of
Number.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/ArrayOfStringsSerDe.html" title="class in com.yahoo.sketches">ArrayOfStringsSerDe</a></span></code>
<div class="block">Methods of serializing and deserializing arrays of String.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>class&nbsp;</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/ArrayOfUtf16StringsSerDe.html" title="class in com.yahoo.sketches">ArrayOfUtf16StringsSerDe</a></span></code>
<div class="block">Methods of serializing and deserializing arrays of String.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.yahoo.sketches.frequencies">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a> in <a href="../../../../com/yahoo/sketches/frequencies/package-summary.html">com.yahoo.sketches.frequencies</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/yahoo/sketches/frequencies/package-summary.html">com.yahoo.sketches.frequencies</a> with parameters of type <a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../com/yahoo/sketches/frequencies/ItemsSketch.html" title="class in com.yahoo.sketches.frequencies">ItemsSketch</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/frequencies/ItemsSketch.html#getInstance-com.yahoo.memory.Memory-com.yahoo.sketches.ArrayOfItemsSerDe-">getInstance</a></span>(com.yahoo.memory.Memory&nbsp;srcMem,
<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;T&gt;&nbsp;serDe)</code>
<div class="block">Returns a sketch instance of this class from the given srcMem,
which must be a Memory representation of this sketch class.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">ItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/frequencies/ItemsSketch.html#toByteArray-com.yahoo.sketches.ArrayOfItemsSerDe-">toByteArray</a></span>(<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../com/yahoo/sketches/frequencies/ItemsSketch.html" title="type parameter in ItemsSketch">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Returns a byte array representation of this sketch</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.yahoo.sketches.quantiles">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a> in <a href="../../../../com/yahoo/sketches/quantiles/package-summary.html">com.yahoo.sketches.quantiles</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/yahoo/sketches/quantiles/package-summary.html">com.yahoo.sketches.quantiles</a> with parameters of type <a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../com/yahoo/sketches/quantiles/ItemsUnion.html" title="class in com.yahoo.sketches.quantiles">ItemsUnion</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/quantiles/ItemsUnion.html#getInstance-com.yahoo.memory.Memory-java.util.Comparator-com.yahoo.sketches.ArrayOfItemsSerDe-">getInstance</a></span>(com.yahoo.memory.Memory&nbsp;srcMem,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a>&lt;? super T&gt;&nbsp;comparator,
<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;T&gt;&nbsp;serDe)</code>
<div class="block">Heapify the given srcMem into a Union object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../com/yahoo/sketches/quantiles/ItemsSketch.html" title="class in com.yahoo.sketches.quantiles">ItemsSketch</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/quantiles/ItemsSketch.html#getInstance-com.yahoo.memory.Memory-java.util.Comparator-com.yahoo.sketches.ArrayOfItemsSerDe-">getInstance</a></span>(com.yahoo.memory.Memory&nbsp;srcMem,
<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a>&lt;? super T&gt;&nbsp;comparator,
<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;T&gt;&nbsp;serDe)</code>
<div class="block">Heapifies the given srcMem, which must be a Memory image of a ItemsSketch</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">ItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/quantiles/ItemsSketch.html#putMemory-com.yahoo.memory.WritableMemory-com.yahoo.sketches.ArrayOfItemsSerDe-">putMemory</a></span>(com.yahoo.memory.WritableMemory&nbsp;dstMem,
<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../com/yahoo/sketches/quantiles/ItemsSketch.html" title="type parameter in ItemsSketch">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Puts the current sketch into the given Memory if there is sufficient space.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">ItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/quantiles/ItemsUnion.html#toByteArray-com.yahoo.sketches.ArrayOfItemsSerDe-">toByteArray</a></span>(<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../com/yahoo/sketches/quantiles/ItemsUnion.html" title="type parameter in ItemsUnion">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Serialize this union to a byte array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">ItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/quantiles/ItemsSketch.html#toByteArray-com.yahoo.sketches.ArrayOfItemsSerDe-">toByteArray</a></span>(<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../com/yahoo/sketches/quantiles/ItemsSketch.html" title="type parameter in ItemsSketch">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Serialize this sketch to a byte array form.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">ItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/quantiles/ItemsSketch.html#toByteArray-boolean-com.yahoo.sketches.ArrayOfItemsSerDe-">toByteArray</a></span>(boolean&nbsp;ordered,
<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../com/yahoo/sketches/quantiles/ItemsSketch.html" title="type parameter in ItemsSketch">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Serialize this sketch to a byte array form.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">ItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/quantiles/ItemsUnion.html#update-com.yahoo.memory.Memory-com.yahoo.sketches.ArrayOfItemsSerDe-">update</a></span>(com.yahoo.memory.Memory&nbsp;srcMem,
<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../com/yahoo/sketches/quantiles/ItemsUnion.html" title="type parameter in ItemsUnion">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Iterative union operation, which means this method can be repeatedly called.</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.yahoo.sketches.sampling">
<!-- -->
</a>
<h3>Uses of <a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a> in <a href="../../../../com/yahoo/sketches/sampling/package-summary.html">com.yahoo.sketches.sampling</a></h3>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
<caption><span>Methods in <a href="../../../../com/yahoo/sketches/sampling/package-summary.html">com.yahoo.sketches.sampling</a> with parameters of type <a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a></span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../com/yahoo/sketches/sampling/VarOptItemsUnion.html" title="class in com.yahoo.sketches.sampling">VarOptItemsUnion</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">VarOptItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/sampling/VarOptItemsUnion.html#heapify-com.yahoo.memory.Memory-com.yahoo.sketches.ArrayOfItemsSerDe-">heapify</a></span>(com.yahoo.memory.Memory&nbsp;srcMem,
<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;T&gt;&nbsp;serDe)</code>
<div class="block">Instantiates a Union from Memory</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../com/yahoo/sketches/sampling/ReservoirItemsSketch.html" title="class in com.yahoo.sketches.sampling">ReservoirItemsSketch</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ReservoirItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/sampling/ReservoirItemsSketch.html#heapify-com.yahoo.memory.Memory-com.yahoo.sketches.ArrayOfItemsSerDe-">heapify</a></span>(com.yahoo.memory.Memory&nbsp;srcMem,
<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;T&gt;&nbsp;serDe)</code>
<div class="block">Returns a sketch instance of this class from the given srcMem,
which must be a Memory representation of this sketch class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../com/yahoo/sketches/sampling/ReservoirItemsUnion.html" title="class in com.yahoo.sketches.sampling">ReservoirItemsUnion</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">ReservoirItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/sampling/ReservoirItemsUnion.html#heapify-com.yahoo.memory.Memory-com.yahoo.sketches.ArrayOfItemsSerDe-">heapify</a></span>(com.yahoo.memory.Memory&nbsp;srcMem,
<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;T&gt;&nbsp;serDe)</code>
<div class="block">Instantiates a Union from Memory</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static &lt;T&gt;&nbsp;<a href="../../../../com/yahoo/sketches/sampling/VarOptItemsSketch.html" title="class in com.yahoo.sketches.sampling">VarOptItemsSketch</a>&lt;T&gt;</code></td>
<td class="colLast"><span class="typeNameLabel">VarOptItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/sampling/VarOptItemsSketch.html#heapify-com.yahoo.memory.Memory-com.yahoo.sketches.ArrayOfItemsSerDe-">heapify</a></span>(com.yahoo.memory.Memory&nbsp;srcMem,
<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;T&gt;&nbsp;serDe)</code>
<div class="block">Returns a sketch instance of this class from the given srcMem,
which must be a Memory representation of this sketch class.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">ReservoirItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/sampling/ReservoirItemsSketch.html#toByteArray-com.yahoo.sketches.ArrayOfItemsSerDe-">toByteArray</a></span>(<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;? super <a href="../../../../com/yahoo/sketches/sampling/ReservoirItemsSketch.html" title="type parameter in ReservoirItemsSketch">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Returns a byte array representation of this sketch.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">VarOptItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/sampling/VarOptItemsSketch.html#toByteArray-com.yahoo.sketches.ArrayOfItemsSerDe-">toByteArray</a></span>(<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;? super <a href="../../../../com/yahoo/sketches/sampling/VarOptItemsSketch.html" title="type parameter in VarOptItemsSketch">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Returns a byte array representation of this sketch.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">ReservoirItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/sampling/ReservoirItemsSketch.html#toByteArray-com.yahoo.sketches.ArrayOfItemsSerDe-java.lang.Class-">toByteArray</a></span>(<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;? super <a href="../../../../com/yahoo/sketches/sampling/ReservoirItemsSketch.html" title="type parameter in ReservoirItemsSketch">T</a>&gt;&nbsp;serDe,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;clazz)</code>
<div class="block">Returns a byte array representation of this sketch.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">VarOptItemsSketch.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/sampling/VarOptItemsSketch.html#toByteArray-com.yahoo.sketches.ArrayOfItemsSerDe-java.lang.Class-">toByteArray</a></span>(<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;? super <a href="../../../../com/yahoo/sketches/sampling/VarOptItemsSketch.html" title="type parameter in VarOptItemsSketch">T</a>&gt;&nbsp;serDe,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;clazz)</code>
<div class="block">Returns a byte array representation of this sketch.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">VarOptItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/sampling/VarOptItemsUnion.html#toByteArray-com.yahoo.sketches.ArrayOfItemsSerDe-">toByteArray</a></span>(<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../com/yahoo/sketches/sampling/VarOptItemsUnion.html" title="type parameter in VarOptItemsUnion">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Returns a byte array representation of this union</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">ReservoirItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/sampling/ReservoirItemsUnion.html#toByteArray-com.yahoo.sketches.ArrayOfItemsSerDe-">toByteArray</a></span>(<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../com/yahoo/sketches/sampling/ReservoirItemsUnion.html" title="type parameter in ReservoirItemsUnion">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Returns a byte array representation of this union</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">VarOptItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/sampling/VarOptItemsUnion.html#toByteArray-com.yahoo.sketches.ArrayOfItemsSerDe-java.lang.Class-">toByteArray</a></span>(<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../com/yahoo/sketches/sampling/VarOptItemsUnion.html" title="type parameter in VarOptItemsUnion">T</a>&gt;&nbsp;serDe,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;clazz)</code>
<div class="block">Returns a byte array representation of this union.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>byte[]</code></td>
<td class="colLast"><span class="typeNameLabel">ReservoirItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/sampling/ReservoirItemsUnion.html#toByteArray-com.yahoo.sketches.ArrayOfItemsSerDe-java.lang.Class-">toByteArray</a></span>(<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../com/yahoo/sketches/sampling/ReservoirItemsUnion.html" title="type parameter in ReservoirItemsUnion">T</a>&gt;&nbsp;serDe,
<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a>&lt;?&gt;&nbsp;clazz)</code>
<div class="block">Returns a byte array representation of this union.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">VarOptItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/sampling/VarOptItemsUnion.html#update-com.yahoo.memory.Memory-com.yahoo.sketches.ArrayOfItemsSerDe-">update</a></span>(com.yahoo.memory.Memory&nbsp;mem,
<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../com/yahoo/sketches/sampling/VarOptItemsUnion.html" title="type parameter in VarOptItemsUnion">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Union the given Memory image of the sketch.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><span class="typeNameLabel">ReservoirItemsUnion.</span><code><span class="memberNameLink"><a href="../../../../com/yahoo/sketches/sampling/ReservoirItemsUnion.html#update-com.yahoo.memory.Memory-com.yahoo.sketches.ArrayOfItemsSerDe-">update</a></span>(com.yahoo.memory.Memory&nbsp;mem,
<a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">ArrayOfItemsSerDe</a>&lt;<a href="../../../../com/yahoo/sketches/sampling/ReservoirItemsUnion.html" title="type parameter in ReservoirItemsUnion">T</a>&gt;&nbsp;serDe)</code>
<div class="block">Union the given Memory image of the sketch.</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</li>
</ul>
</div>
<!-- ======= 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><a href="../../../../com/yahoo/sketches/ArrayOfItemsSerDe.html" title="class in com.yahoo.sketches">Class</a></li>
<li class="navBarCell1Rev">Use</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>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/yahoo/sketches/class-use/ArrayOfItemsSerDe.html" target="_top">Frames</a></li>
<li><a href="ArrayOfItemsSerDe.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>
<a name="skip.navbar.bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Copyright &#169; 2015&#x2013;2018. All rights reserved.</small></p>
</body>
</html>