blob: 3fdcec5f8e0de4d4a7092bca90374b7cd6c8f739 [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_121) on Fri Apr 14 22:10:57 PDT 2017 -->
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Arrays (Mahout Math 0.13.0 API)</title>
<meta name="date" content="2017-04-14">
<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="Arrays (Mahout Math 0.13.0 API)";
}
}
catch(err) {
}
//-->
var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9,"i29":9,"i30":9,"i31":9,"i32":9,"i33":9};
var tabs = {65535:["t0","All Methods"],1:["t1","Static 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/Arrays.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/mahout/math/Algebra.html" title="class in org.apache.mahout.math"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/mahout/math/BinarySearch.html" title="class in org.apache.mahout.math"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/mahout/math/Arrays.html" target="_top">Frames</a></li>
<li><a href="Arrays.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>Field&nbsp;|&nbsp;</li>
<li>Constr&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>Constr&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.mahout.math</div>
<h2 title="Class Arrays" class="title">Class Arrays</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li><a href="http://docs.oracle.com/javase/7/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.mahout.math.Arrays</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public final class <span class="typeNameLabel">Arrays</span>
extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre>
<div class="block">Array manipulations; complements <tt>java.util.Arrays</tt>.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Arrays.html?is-external=true" title="class or interface in java.util"><code>Arrays</code></a>,
<a href="../../../../org/apache/mahout/math/Sorting.html" title="class in org.apache.mahout.math"><code>Sorting</code></a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== 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="t1" class="tableTab"><span><a href="javascript:show(1);">Static 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>static byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#copyOf-byte:A-int-">copyOf</a></span>(byte[]&nbsp;src,
int&nbsp;length)</code>
<div class="block"><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Arrays.html?is-external=true#copyOf-T:A-int-" title="class or interface in java.util"><code>Arrays.copyOf(T[], int)</code></a> compatibility with Java 1.5.</div>
</td>
</tr>
<tr id="i1" class="rowColor">
<td class="colFirst"><code>static char[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#copyOf-char:A-int-">copyOf</a></span>(char[]&nbsp;src,
int&nbsp;length)</code>
<div class="block"><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Arrays.html?is-external=true#copyOf-T:A-int-" title="class or interface in java.util"><code>Arrays.copyOf(T[], int)</code></a> compatibility with Java 1.5.</div>
</td>
</tr>
<tr id="i2" class="altColor">
<td class="colFirst"><code>static double[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#copyOf-double:A-int-">copyOf</a></span>(double[]&nbsp;src,
int&nbsp;length)</code>
<div class="block"><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Arrays.html?is-external=true#copyOf-T:A-int-" title="class or interface in java.util"><code>Arrays.copyOf(T[], int)</code></a> compatibility with Java 1.5.</div>
</td>
</tr>
<tr id="i3" class="rowColor">
<td class="colFirst"><code>static float[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#copyOf-float:A-int-">copyOf</a></span>(float[]&nbsp;src,
int&nbsp;length)</code>
<div class="block"><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Arrays.html?is-external=true#copyOf-T:A-int-" title="class or interface in java.util"><code>Arrays.copyOf(T[], int)</code></a> compatibility with Java 1.5.</div>
</td>
</tr>
<tr id="i4" class="altColor">
<td class="colFirst"><code>static int[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#copyOf-int:A-int-">copyOf</a></span>(int[]&nbsp;src,
int&nbsp;length)</code>
<div class="block"><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Arrays.html?is-external=true#copyOf-T:A-int-" title="class or interface in java.util"><code>Arrays.copyOf(T[], int)</code></a> compatibility with Java 1.5.</div>
</td>
</tr>
<tr id="i5" class="rowColor">
<td class="colFirst"><code>static long[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#copyOf-long:A-int-">copyOf</a></span>(long[]&nbsp;src,
int&nbsp;length)</code>
<div class="block"><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Arrays.html?is-external=true#copyOf-T:A-int-" title="class or interface in java.util"><code>Arrays.copyOf(T[], int)</code></a> compatibility with Java 1.5.</div>
</td>
</tr>
<tr id="i6" class="altColor">
<td class="colFirst"><code>static short[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#copyOf-short:A-int-">copyOf</a></span>(short[]&nbsp;src,
int&nbsp;length)</code>
<div class="block"><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Arrays.html?is-external=true#copyOf-T:A-int-" title="class or interface in java.util"><code>Arrays.copyOf(T[], int)</code></a> compatibility with Java 1.5.</div>
</td>
</tr>
<tr id="i7" class="rowColor">
<td class="colFirst"><code>static boolean[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#ensureCapacity-boolean:A-int-">ensureCapacity</a></span>(boolean[]&nbsp;array,
int&nbsp;minCapacity)</code>
<div class="block">Ensures that a given array can hold up to <tt>minCapacity</tt> elements.</div>
</td>
</tr>
<tr id="i8" class="altColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#ensureCapacity-byte:A-int-">ensureCapacity</a></span>(byte[]&nbsp;array,
int&nbsp;minCapacity)</code>
<div class="block">Ensures that a given array can hold up to <tt>minCapacity</tt> elements.</div>
</td>
</tr>
<tr id="i9" class="rowColor">
<td class="colFirst"><code>static char[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#ensureCapacity-char:A-int-">ensureCapacity</a></span>(char[]&nbsp;array,
int&nbsp;minCapacity)</code>
<div class="block">Ensures that a given array can hold up to <tt>minCapacity</tt> elements.</div>
</td>
</tr>
<tr id="i10" class="altColor">
<td class="colFirst"><code>static double[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#ensureCapacity-double:A-int-">ensureCapacity</a></span>(double[]&nbsp;array,
int&nbsp;minCapacity)</code>
<div class="block">Ensures that a given array can hold up to <tt>minCapacity</tt> elements.</div>
</td>
</tr>
<tr id="i11" class="rowColor">
<td class="colFirst"><code>static float[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#ensureCapacity-float:A-int-">ensureCapacity</a></span>(float[]&nbsp;array,
int&nbsp;minCapacity)</code>
<div class="block">Ensures that a given array can hold up to <tt>minCapacity</tt> elements.</div>
</td>
</tr>
<tr id="i12" class="altColor">
<td class="colFirst"><code>static int[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#ensureCapacity-int:A-int-">ensureCapacity</a></span>(int[]&nbsp;array,
int&nbsp;minCapacity)</code>
<div class="block">Ensures that a given array can hold up to <tt>minCapacity</tt> elements.</div>
</td>
</tr>
<tr id="i13" class="rowColor">
<td class="colFirst"><code>static long[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#ensureCapacity-long:A-int-">ensureCapacity</a></span>(long[]&nbsp;array,
int&nbsp;minCapacity)</code>
<div class="block">Ensures that a given array can hold up to <tt>minCapacity</tt> elements.</div>
</td>
</tr>
<tr id="i14" class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#ensureCapacity-java.lang.Object:A-int-">ensureCapacity</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
int&nbsp;minCapacity)</code>
<div class="block">Ensures that a given array can hold up to <tt>minCapacity</tt> elements.</div>
</td>
</tr>
<tr id="i15" class="rowColor">
<td class="colFirst"><code>static short[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#ensureCapacity-short:A-int-">ensureCapacity</a></span>(short[]&nbsp;array,
int&nbsp;minCapacity)</code>
<div class="block">Ensures that a given array can hold up to <tt>minCapacity</tt> elements.</div>
</td>
</tr>
<tr id="i16" class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#toString-boolean:A-">toString</a></span>(boolean[]&nbsp;array)</code>
<div class="block">Returns a string representation of the specified array.</div>
</td>
</tr>
<tr id="i17" class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#toString-byte:A-">toString</a></span>(byte[]&nbsp;array)</code>
<div class="block">Returns a string representation of the specified array.</div>
</td>
</tr>
<tr id="i18" class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#toString-char:A-">toString</a></span>(char[]&nbsp;array)</code>
<div class="block">Returns a string representation of the specified array.</div>
</td>
</tr>
<tr id="i19" class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#toString-double:A-">toString</a></span>(double[]&nbsp;array)</code>
<div class="block">Returns a string representation of the specified array.</div>
</td>
</tr>
<tr id="i20" class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#toString-float:A-">toString</a></span>(float[]&nbsp;array)</code>
<div class="block">Returns a string representation of the specified array.</div>
</td>
</tr>
<tr id="i21" class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#toString-int:A-">toString</a></span>(int[]&nbsp;array)</code>
<div class="block">Returns a string representation of the specified array.</div>
</td>
</tr>
<tr id="i22" class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#toString-long:A-">toString</a></span>(long[]&nbsp;array)</code>
<div class="block">Returns a string representation of the specified array.</div>
</td>
</tr>
<tr id="i23" class="rowColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#toString-java.lang.Object:A-">toString</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array)</code>
<div class="block">Returns a string representation of the specified array.</div>
</td>
</tr>
<tr id="i24" class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#toString-short:A-">toString</a></span>(short[]&nbsp;array)</code>
<div class="block">Returns a string representation of the specified array.</div>
</td>
</tr>
<tr id="i25" class="rowColor">
<td class="colFirst"><code>static boolean[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#trimToCapacity-boolean:A-int-">trimToCapacity</a></span>(boolean[]&nbsp;array,
int&nbsp;maxCapacity)</code>
<div class="block">Ensures that the specified array cannot hold more than <tt>maxCapacity</tt> elements.</div>
</td>
</tr>
<tr id="i26" class="altColor">
<td class="colFirst"><code>static byte[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#trimToCapacity-byte:A-int-">trimToCapacity</a></span>(byte[]&nbsp;array,
int&nbsp;maxCapacity)</code>
<div class="block">Ensures that the specified array cannot hold more than <tt>maxCapacity</tt> elements.</div>
</td>
</tr>
<tr id="i27" class="rowColor">
<td class="colFirst"><code>static char[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#trimToCapacity-char:A-int-">trimToCapacity</a></span>(char[]&nbsp;array,
int&nbsp;maxCapacity)</code>
<div class="block">Ensures that the specified array cannot hold more than <tt>maxCapacity</tt> elements.</div>
</td>
</tr>
<tr id="i28" class="altColor">
<td class="colFirst"><code>static double[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#trimToCapacity-double:A-int-">trimToCapacity</a></span>(double[]&nbsp;array,
int&nbsp;maxCapacity)</code>
<div class="block">Ensures that the specified array cannot hold more than <tt>maxCapacity</tt> elements.</div>
</td>
</tr>
<tr id="i29" class="rowColor">
<td class="colFirst"><code>static float[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#trimToCapacity-float:A-int-">trimToCapacity</a></span>(float[]&nbsp;array,
int&nbsp;maxCapacity)</code>
<div class="block">Ensures that the specified array cannot hold more than <tt>maxCapacity</tt> elements.</div>
</td>
</tr>
<tr id="i30" class="altColor">
<td class="colFirst"><code>static int[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#trimToCapacity-int:A-int-">trimToCapacity</a></span>(int[]&nbsp;array,
int&nbsp;maxCapacity)</code>
<div class="block">Ensures that the specified array cannot hold more than <tt>maxCapacity</tt> elements.</div>
</td>
</tr>
<tr id="i31" class="rowColor">
<td class="colFirst"><code>static long[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#trimToCapacity-long:A-int-">trimToCapacity</a></span>(long[]&nbsp;array,
int&nbsp;maxCapacity)</code>
<div class="block">Ensures that the specified array cannot hold more than <tt>maxCapacity</tt> elements.</div>
</td>
</tr>
<tr id="i32" class="altColor">
<td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#trimToCapacity-java.lang.Object:A-int-">trimToCapacity</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
int&nbsp;maxCapacity)</code>
<div class="block">Ensures that the specified array cannot hold more than <tt>maxCapacity</tt> elements.</div>
</td>
</tr>
<tr id="i33" class="rowColor">
<td class="colFirst"><code>static short[]</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/mahout/math/Arrays.html#trimToCapacity-short:A-int-">trimToCapacity</a></span>(short[]&nbsp;array,
int&nbsp;maxCapacity)</code>
<div class="block">Ensures that the specified array cannot hold more than <tt>maxCapacity</tt> elements.</div>
</td>
</tr>
</table>
<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="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3>
<code><a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="ensureCapacity-byte:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ensureCapacity</h4>
<pre>public static&nbsp;byte[]&nbsp;ensureCapacity(byte[]&nbsp;array,
int&nbsp;minCapacity)</pre>
<div class="block">Ensures that a given array can hold up to <tt>minCapacity</tt> elements.
Returns the identical array if it can hold at least the number of elements specified. Otherwise, returns a new
array with increased capacity containing the same elements, ensuring that it can hold at least the number of
elements specified by the minimum capacity argument.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>minCapacity</code> - the desired minimum capacity.</dd>
</dl>
</li>
</ul>
<a name="ensureCapacity-char:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ensureCapacity</h4>
<pre>public static&nbsp;char[]&nbsp;ensureCapacity(char[]&nbsp;array,
int&nbsp;minCapacity)</pre>
<div class="block">Ensures that a given array can hold up to <tt>minCapacity</tt> elements.
Returns the identical array if it can hold at least the number of elements specified. Otherwise, returns a new
array with increased capacity containing the same elements, ensuring that it can hold at least the number of
elements specified by the minimum capacity argument.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>minCapacity</code> - the desired minimum capacity.</dd>
</dl>
</li>
</ul>
<a name="ensureCapacity-double:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ensureCapacity</h4>
<pre>public static&nbsp;double[]&nbsp;ensureCapacity(double[]&nbsp;array,
int&nbsp;minCapacity)</pre>
<div class="block">Ensures that a given array can hold up to <tt>minCapacity</tt> elements.
Returns the identical array if it can hold at least the number of elements specified. Otherwise, returns a new
array with increased capacity containing the same elements, ensuring that it can hold at least the number of
elements specified by the minimum capacity argument.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>minCapacity</code> - the desired minimum capacity.</dd>
</dl>
</li>
</ul>
<a name="ensureCapacity-float:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ensureCapacity</h4>
<pre>public static&nbsp;float[]&nbsp;ensureCapacity(float[]&nbsp;array,
int&nbsp;minCapacity)</pre>
<div class="block">Ensures that a given array can hold up to <tt>minCapacity</tt> elements.
Returns the identical array if it can hold at least the number of elements specified. Otherwise, returns a new
array with increased capacity containing the same elements, ensuring that it can hold at least the number of
elements specified by the minimum capacity argument.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>minCapacity</code> - the desired minimum capacity.</dd>
</dl>
</li>
</ul>
<a name="ensureCapacity-int:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ensureCapacity</h4>
<pre>public static&nbsp;int[]&nbsp;ensureCapacity(int[]&nbsp;array,
int&nbsp;minCapacity)</pre>
<div class="block">Ensures that a given array can hold up to <tt>minCapacity</tt> elements.
Returns the identical array if it can hold at least the number of elements specified. Otherwise, returns a new
array with increased capacity containing the same elements, ensuring that it can hold at least the number of
elements specified by the minimum capacity argument.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>minCapacity</code> - the desired minimum capacity.</dd>
</dl>
</li>
</ul>
<a name="ensureCapacity-long:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ensureCapacity</h4>
<pre>public static&nbsp;long[]&nbsp;ensureCapacity(long[]&nbsp;array,
int&nbsp;minCapacity)</pre>
<div class="block">Ensures that a given array can hold up to <tt>minCapacity</tt> elements.
Returns the identical array if it can hold at least the number of elements specified. Otherwise, returns a new
array with increased capacity containing the same elements, ensuring that it can hold at least the number of
elements specified by the minimum capacity argument.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>minCapacity</code> - the desired minimum capacity.</dd>
</dl>
</li>
</ul>
<a name="ensureCapacity-java.lang.Object:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ensureCapacity</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;ensureCapacity(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
int&nbsp;minCapacity)</pre>
<div class="block">Ensures that a given array can hold up to <tt>minCapacity</tt> elements.
Returns the identical array if it can hold at least the number of elements specified. Otherwise, returns a new
array with increased capacity containing the same elements, ensuring that it can hold at least the number of
elements specified by the minimum capacity argument.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>minCapacity</code> - the desired minimum capacity.</dd>
</dl>
</li>
</ul>
<a name="ensureCapacity-short:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ensureCapacity</h4>
<pre>public static&nbsp;short[]&nbsp;ensureCapacity(short[]&nbsp;array,
int&nbsp;minCapacity)</pre>
<div class="block">Ensures that a given array can hold up to <tt>minCapacity</tt> elements.
Returns the identical array if it can hold at least the number of elements specified. Otherwise, returns a new
array with increased capacity containing the same elements, ensuring that it can hold at least the number of
elements specified by the minimum capacity argument.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>minCapacity</code> - the desired minimum capacity.</dd>
</dl>
</li>
</ul>
<a name="ensureCapacity-boolean:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ensureCapacity</h4>
<pre>public static&nbsp;boolean[]&nbsp;ensureCapacity(boolean[]&nbsp;array,
int&nbsp;minCapacity)</pre>
<div class="block">Ensures that a given array can hold up to <tt>minCapacity</tt> elements.
Returns the identical array if it can hold at least the number of elements specified. Otherwise, returns a new
array with increased capacity containing the same elements, ensuring that it can hold at least the number of
elements specified by the minimum capacity argument.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>minCapacity</code> - the desired minimum capacity.</dd>
</dl>
</li>
</ul>
<a name="toString-byte:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString(byte[]&nbsp;array)</pre>
<div class="block">Returns a string representation of the specified array. The string representation consists of a list of the
arrays's elements, enclosed in square brackets (<tt>"[]"</tt>). Adjacent elements are separated by the characters
<tt>", "</tt> (comma and space).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a string representation of the specified array.</dd>
</dl>
</li>
</ul>
<a name="toString-char:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString(char[]&nbsp;array)</pre>
<div class="block">Returns a string representation of the specified array. The string representation consists of a list of the
arrays's elements, enclosed in square brackets (<tt>"[]"</tt>). Adjacent elements are separated by the characters
<tt>", "</tt> (comma and space).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a string representation of the specified array.</dd>
</dl>
</li>
</ul>
<a name="toString-double:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString(double[]&nbsp;array)</pre>
<div class="block">Returns a string representation of the specified array. The string representation consists of a list of the
arrays's elements, enclosed in square brackets (<tt>"[]"</tt>). Adjacent elements are separated by the characters
<tt>", "</tt> (comma and space).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a string representation of the specified array.</dd>
</dl>
</li>
</ul>
<a name="toString-float:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString(float[]&nbsp;array)</pre>
<div class="block">Returns a string representation of the specified array. The string representation consists of a list of the
arrays's elements, enclosed in square brackets (<tt>"[]"</tt>). Adjacent elements are separated by the characters
<tt>", "</tt> (comma and space).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a string representation of the specified array.</dd>
</dl>
</li>
</ul>
<a name="toString-int:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString(int[]&nbsp;array)</pre>
<div class="block">Returns a string representation of the specified array. The string representation consists of a list of the
arrays's elements, enclosed in square brackets (<tt>"[]"</tt>). Adjacent elements are separated by the characters
<tt>", "</tt> (comma and space).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a string representation of the specified array.</dd>
</dl>
</li>
</ul>
<a name="toString-long:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString(long[]&nbsp;array)</pre>
<div class="block">Returns a string representation of the specified array. The string representation consists of a list of the
arrays's elements, enclosed in square brackets (<tt>"[]"</tt>). Adjacent elements are separated by the characters
<tt>", "</tt> (comma and space).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a string representation of the specified array.</dd>
</dl>
</li>
</ul>
<a name="toString-java.lang.Object:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array)</pre>
<div class="block">Returns a string representation of the specified array. The string representation consists of a list of the
arrays's elements, enclosed in square brackets (<tt>"[]"</tt>). Adjacent elements are separated by the characters
<tt>", "</tt> (comma and space).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a string representation of the specified array.</dd>
</dl>
</li>
</ul>
<a name="toString-short:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString(short[]&nbsp;array)</pre>
<div class="block">Returns a string representation of the specified array. The string representation consists of a list of the
arrays's elements, enclosed in square brackets (<tt>"[]"</tt>). Adjacent elements are separated by the characters
<tt>", "</tt> (comma and space).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a string representation of the specified array.</dd>
</dl>
</li>
</ul>
<a name="toString-boolean:A-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>toString</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;toString(boolean[]&nbsp;array)</pre>
<div class="block">Returns a string representation of the specified array. The string representation consists of a list of the
arrays's elements, enclosed in square brackets (<tt>"[]"</tt>). Adjacent elements are separated by the characters
<tt>", "</tt> (comma and space).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a string representation of the specified array.</dd>
</dl>
</li>
</ul>
<a name="trimToCapacity-byte:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trimToCapacity</h4>
<pre>public static&nbsp;byte[]&nbsp;trimToCapacity(byte[]&nbsp;array,
int&nbsp;maxCapacity)</pre>
<div class="block">Ensures that the specified array cannot hold more than <tt>maxCapacity</tt> elements. An application can use this
operation to minimize array storage. <p> Returns the identical array if <tt>array.length &lt;= maxCapacity</tt>.
Otherwise, returns a new array with a length of <tt>maxCapacity</tt> containing the first <tt>maxCapacity</tt>
elements of <tt>array</tt>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>maxCapacity</code> - the desired maximum capacity.</dd>
</dl>
</li>
</ul>
<a name="trimToCapacity-char:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trimToCapacity</h4>
<pre>public static&nbsp;char[]&nbsp;trimToCapacity(char[]&nbsp;array,
int&nbsp;maxCapacity)</pre>
<div class="block">Ensures that the specified array cannot hold more than <tt>maxCapacity</tt> elements. An application can use this
operation to minimize array storage. <p> Returns the identical array if <tt>array.length &lt;= maxCapacity</tt>.
Otherwise, returns a new array with a length of <tt>maxCapacity</tt> containing the first <tt>maxCapacity</tt>
elements of <tt>array</tt>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>maxCapacity</code> - the desired maximum capacity.</dd>
</dl>
</li>
</ul>
<a name="trimToCapacity-double:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trimToCapacity</h4>
<pre>public static&nbsp;double[]&nbsp;trimToCapacity(double[]&nbsp;array,
int&nbsp;maxCapacity)</pre>
<div class="block">Ensures that the specified array cannot hold more than <tt>maxCapacity</tt> elements. An application can use this
operation to minimize array storage. <p> Returns the identical array if <tt>array.length &lt;= maxCapacity</tt>.
Otherwise, returns a new array with a length of <tt>maxCapacity</tt> containing the first <tt>maxCapacity</tt>
elements of <tt>array</tt>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>maxCapacity</code> - the desired maximum capacity.</dd>
</dl>
</li>
</ul>
<a name="trimToCapacity-float:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trimToCapacity</h4>
<pre>public static&nbsp;float[]&nbsp;trimToCapacity(float[]&nbsp;array,
int&nbsp;maxCapacity)</pre>
<div class="block">Ensures that the specified array cannot hold more than <tt>maxCapacity</tt> elements. An application can use this
operation to minimize array storage. <p> Returns the identical array if <tt>array.length &lt;= maxCapacity</tt>.
Otherwise, returns a new array with a length of <tt>maxCapacity</tt> containing the first <tt>maxCapacity</tt>
elements of <tt>array</tt>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>maxCapacity</code> - the desired maximum capacity.</dd>
</dl>
</li>
</ul>
<a name="trimToCapacity-int:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trimToCapacity</h4>
<pre>public static&nbsp;int[]&nbsp;trimToCapacity(int[]&nbsp;array,
int&nbsp;maxCapacity)</pre>
<div class="block">Ensures that the specified array cannot hold more than <tt>maxCapacity</tt> elements. An application can use this
operation to minimize array storage. <p> Returns the identical array if <tt>array.length &lt;= maxCapacity</tt>.
Otherwise, returns a new array with a length of <tt>maxCapacity</tt> containing the first <tt>maxCapacity</tt>
elements of <tt>array</tt>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>maxCapacity</code> - the desired maximum capacity.</dd>
</dl>
</li>
</ul>
<a name="trimToCapacity-long:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trimToCapacity</h4>
<pre>public static&nbsp;long[]&nbsp;trimToCapacity(long[]&nbsp;array,
int&nbsp;maxCapacity)</pre>
<div class="block">Ensures that the specified array cannot hold more than <tt>maxCapacity</tt> elements. An application can use this
operation to minimize array storage. <p> Returns the identical array if <tt>array.length &lt;= maxCapacity</tt>.
Otherwise, returns a new array with a length of <tt>maxCapacity</tt> containing the first <tt>maxCapacity</tt>
elements of <tt>array</tt>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>maxCapacity</code> - the desired maximum capacity.</dd>
</dl>
</li>
</ul>
<a name="trimToCapacity-java.lang.Object:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trimToCapacity</h4>
<pre>public static&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;trimToCapacity(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[]&nbsp;array,
int&nbsp;maxCapacity)</pre>
<div class="block">Ensures that the specified array cannot hold more than <tt>maxCapacity</tt> elements. An application can use this
operation to minimize array storage. <p> Returns the identical array if <tt>array.length &lt;= maxCapacity</tt>.
Otherwise, returns a new array with a length of <tt>maxCapacity</tt> containing the first <tt>maxCapacity</tt>
elements of <tt>array</tt>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>maxCapacity</code> - the desired maximum capacity.</dd>
</dl>
</li>
</ul>
<a name="trimToCapacity-short:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trimToCapacity</h4>
<pre>public static&nbsp;short[]&nbsp;trimToCapacity(short[]&nbsp;array,
int&nbsp;maxCapacity)</pre>
<div class="block">Ensures that the specified array cannot hold more than <tt>maxCapacity</tt> elements. An application can use this
operation to minimize array storage. <p> Returns the identical array if <tt>array.length &lt;= maxCapacity</tt>.
Otherwise, returns a new array with a length of <tt>maxCapacity</tt> containing the first <tt>maxCapacity</tt>
elements of <tt>array</tt>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>maxCapacity</code> - the desired maximum capacity.</dd>
</dl>
</li>
</ul>
<a name="trimToCapacity-boolean:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>trimToCapacity</h4>
<pre>public static&nbsp;boolean[]&nbsp;trimToCapacity(boolean[]&nbsp;array,
int&nbsp;maxCapacity)</pre>
<div class="block">Ensures that the specified array cannot hold more than <tt>maxCapacity</tt> elements. An application can use this
operation to minimize array storage. <p> Returns the identical array if <tt>array.length &lt;= maxCapacity</tt>.
Otherwise, returns a new array with a length of <tt>maxCapacity</tt> containing the first <tt>maxCapacity</tt>
elements of <tt>array</tt>.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>maxCapacity</code> - the desired maximum capacity.</dd>
</dl>
</li>
</ul>
<a name="copyOf-byte:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copyOf</h4>
<pre>public static&nbsp;byte[]&nbsp;copyOf(byte[]&nbsp;src,
int&nbsp;length)</pre>
<div class="block"><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Arrays.html?is-external=true#copyOf-T:A-int-" title="class or interface in java.util"><code>Arrays.copyOf(T[], int)</code></a> compatibility with Java 1.5.</div>
</li>
</ul>
<a name="copyOf-char:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copyOf</h4>
<pre>public static&nbsp;char[]&nbsp;copyOf(char[]&nbsp;src,
int&nbsp;length)</pre>
<div class="block"><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Arrays.html?is-external=true#copyOf-T:A-int-" title="class or interface in java.util"><code>Arrays.copyOf(T[], int)</code></a> compatibility with Java 1.5.</div>
</li>
</ul>
<a name="copyOf-short:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copyOf</h4>
<pre>public static&nbsp;short[]&nbsp;copyOf(short[]&nbsp;src,
int&nbsp;length)</pre>
<div class="block"><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Arrays.html?is-external=true#copyOf-T:A-int-" title="class or interface in java.util"><code>Arrays.copyOf(T[], int)</code></a> compatibility with Java 1.5.</div>
</li>
</ul>
<a name="copyOf-int:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copyOf</h4>
<pre>public static&nbsp;int[]&nbsp;copyOf(int[]&nbsp;src,
int&nbsp;length)</pre>
<div class="block"><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Arrays.html?is-external=true#copyOf-T:A-int-" title="class or interface in java.util"><code>Arrays.copyOf(T[], int)</code></a> compatibility with Java 1.5.</div>
</li>
</ul>
<a name="copyOf-float:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copyOf</h4>
<pre>public static&nbsp;float[]&nbsp;copyOf(float[]&nbsp;src,
int&nbsp;length)</pre>
<div class="block"><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Arrays.html?is-external=true#copyOf-T:A-int-" title="class or interface in java.util"><code>Arrays.copyOf(T[], int)</code></a> compatibility with Java 1.5.</div>
</li>
</ul>
<a name="copyOf-double:A-int-">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copyOf</h4>
<pre>public static&nbsp;double[]&nbsp;copyOf(double[]&nbsp;src,
int&nbsp;length)</pre>
<div class="block"><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Arrays.html?is-external=true#copyOf-T:A-int-" title="class or interface in java.util"><code>Arrays.copyOf(T[], int)</code></a> compatibility with Java 1.5.</div>
</li>
</ul>
<a name="copyOf-long:A-int-">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>copyOf</h4>
<pre>public static&nbsp;long[]&nbsp;copyOf(long[]&nbsp;src,
int&nbsp;length)</pre>
<div class="block"><a href="http://docs.oracle.com/javase/7/docs/api/java/util/Arrays.html?is-external=true#copyOf-T:A-int-" title="class or interface in java.util"><code>Arrays.copyOf(T[], int)</code></a> compatibility with Java 1.5.</div>
</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/Arrays.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/mahout/math/Algebra.html" title="class in org.apache.mahout.math"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
<li><a href="../../../../org/apache/mahout/math/BinarySearch.html" title="class in org.apache.mahout.math"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?org/apache/mahout/math/Arrays.html" target="_top">Frames</a></li>
<li><a href="Arrays.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>Field&nbsp;|&nbsp;</li>
<li>Constr&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>Constr&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; 2008&#x2013;2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All rights reserved.</small></p>
</body>
</html>