blob: 487ff3c857572630148bd8ada74d3d5bb1aa32d8 [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (14.0.2) on Sat Aug 08 22:45:01 CDT 2020 -->
<title>ShortArrayStack (Eclipse Collections - 10.3.0)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2020-08-08">
<meta name="description" content="declaration: package: org.eclipse.collections.impl.stack.mutable.primitive, class: ShortArrayStack">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../../../script-dir/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../../../script-dir/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../../../script-dir/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../../../script-dir/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../../../script-dir/jquery-3.4.1.js"></script>
<script type="text/javascript" src="../../../../../../../script-dir/jquery-ui.js"></script>
</head>
<body class="class-declaration">
<script type="text/javascript">var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":9,"i8":9,"i9":9,"i10":9,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flexBox">
<header role="banner" class="flexHeader">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ShortArrayStack.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">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&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>
<div class="navListSearch"><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</div>
</div>
<!-- ========= END OF TOP NAVBAR ========= -->
<div class="skipNav"><a id="skip.navbar.top">
<!-- -->
</a></div>
</nav>
</header>
<div class="flexContent">
<main role="main">
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">org.eclipse.collections.impl.stack.mutable.primitive</a></div>
<h1 title="Class ShortArrayStack" class="title">Class ShortArrayStack</h1>
</div>
<div class="contentContainer">
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a>
<div class="inheritance"><a href="../../primitive/AbstractShortStack.html" title="class in org.eclipse.collections.impl.stack.primitive">org.eclipse.collections.impl.stack.primitive.AbstractShortStack</a>
<div class="inheritance">org.eclipse.collections.impl.stack.mutable.primitive.ShortArrayStack</div>
</div>
</div>
<section class="description">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io" class="externalLink">Externalizable</a></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></code>, <code><a href="../../../../api/ordered/primitive/OrderedShortIterable.html" title="interface in org.eclipse.collections.api.ordered.primitive">OrderedShortIterable</a></code>, <code><a href="../../../../api/PrimitiveIterable.html" title="interface in org.eclipse.collections.api">PrimitiveIterable</a></code>, <code><a href="../../../../api/ShortIterable.html" title="interface in org.eclipse.collections.api">ShortIterable</a></code>, <code><a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></code>, <code><a href="../../../../api/stack/primitive/ShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">ShortStack</a></code></dd>
</dl>
<hr>
<pre>public class <span class="typeNameLabel">ShortArrayStack</span>
extends <a href="../../primitive/AbstractShortStack.html" title="class in org.eclipse.collections.impl.stack.primitive">AbstractShortStack</a>
implements <a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io" class="externalLink">Externalizable</a></pre>
<div class="block">ShortArrayStack is similar to <a href="../ArrayStack.html" title="class in org.eclipse.collections.impl.stack.mutable"><code>ArrayStack</code></a>, and is memory-optimized for short primitives.
This file was automatically generated from template file primitiveArrayStack.stg.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../../serialized-form.html#org.eclipse.collections.impl.stack.mutable.primitive.ShortArrayStack">Serialized Form</a></dd>
</dl>
</section>
<section class="summary">
<ul class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<li class="blockList">
<section class="constructorSummary"><a id="constructor.summary">
<!-- -->
</a>
<h2>Constructor Summary</h2>
<div class="memberSummary">
<table>
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<thead>
<tr>
<th class="colFirst" scope="col">Constructor</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor">
<th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">ShortArrayStack</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
</section>
</li>
<!-- ========== METHOD SUMMARY =========== -->
<li class="blockList">
<section class="methodSummary"><a id="method.summary">
<!-- -->
</a>
<h2>Method Summary</h2>
<div class="memberSummary">
<div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t1" class="tableTab" onclick="show(1);">Static Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t4" class="tableTab" onclick="show(8);">Concrete Methods</button></div>
<div id="memberSummary_tabpanel" role="tabpanel">
<table aria-labelledby="t0">
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor" id="i0">
<td class="colFirst"><code><a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asSynchronized()">asSynchronized</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code><a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asUnmodifiable()">asUnmodifiable</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clear()">clear</a></span>()</code></th>
<td class="colLast">
<div class="block">Clears the Stack</div>
</td>
</tr>
<tr class="rowColor" id="i3">
<td class="colFirst"><code>&lt;V&gt;&nbsp;<a href="../../../../api/stack/MutableStack.html" title="interface in org.eclipse.collections.api.stack">MutableStack</a>&lt;V&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collect(org.eclipse.collections.api.block.function.primitive.ShortToObjectFunction)">collect</a></span>&#8203;(<a href="../../../../api/block/function/primitive/ShortToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ShortToObjectFunction</a>&lt;? extends V&gt;&nbsp;function)</code></th>
<td class="colLast">
<div class="block">Returns a new collection with the results of applying the specified function on each element of the source
collection.</div>
</td>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#equals(java.lang.Object)">equals</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;otherStack)</code></th>
<td class="colLast">
<div class="block">Follows the same general contract as <a href="../../../../api/stack/StackIterable.html#equals(java.lang.Object)"><code>StackIterable.equals(Object)</code></a>.</div>
</td>
</tr>
<tr class="rowColor" id="i5">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hashCode()">hashCode</a></span>()</code></th>
<td class="colLast">
<div class="block">Follows the same general contract as <a href="../../../../api/stack/StackIterable.html#hashCode()"><code>StackIterable.hashCode()</code></a>.</div>
</td>
</tr>
<tr class="altColor" id="i6">
<td class="colFirst"><code><a href="ShortArrayStack.html" title="class in org.eclipse.collections.impl.stack.mutable.primitive">ShortArrayStack</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newEmpty()">newEmpty</a></span>()</code></th>
<td class="colLast">
<div class="block">Creates a new empty ShortArrayStack.</div>
</td>
</tr>
<tr class="rowColor" id="i7">
<td class="colFirst"><code>static <a href="ShortArrayStack.html" title="class in org.eclipse.collections.impl.stack.mutable.primitive">ShortArrayStack</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newStack(org.eclipse.collections.api.ShortIterable)">newStack</a></span>&#8203;(<a href="../../../../api/ShortIterable.html" title="interface in org.eclipse.collections.api">ShortIterable</a>&nbsp;items)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i8">
<td class="colFirst"><code>static <a href="ShortArrayStack.html" title="class in org.eclipse.collections.impl.stack.mutable.primitive">ShortArrayStack</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newStackFromTopToBottom(short...)">newStackFromTopToBottom</a></span>&#8203;(short...&nbsp;items)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i9">
<td class="colFirst"><code>static <a href="ShortArrayStack.html" title="class in org.eclipse.collections.impl.stack.mutable.primitive">ShortArrayStack</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newStackFromTopToBottom(org.eclipse.collections.api.ShortIterable)">newStackFromTopToBottom</a></span>&#8203;(<a href="../../../../api/ShortIterable.html" title="interface in org.eclipse.collections.api">ShortIterable</a>&nbsp;items)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i10">
<td class="colFirst"><code>static <a href="ShortArrayStack.html" title="class in org.eclipse.collections.impl.stack.mutable.primitive">ShortArrayStack</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newStackWith(short...)">newStackWith</a></span>&#8203;(short...&nbsp;items)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i11">
<td class="colFirst"><code>short</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#pop()">pop</a></span>()</code></th>
<td class="colLast">
<div class="block">Removes and returns the top element of the stack.</div>
</td>
</tr>
<tr class="altColor" id="i12">
<td class="colFirst"><code><a href="../../../../api/list/primitive/ShortList.html" title="interface in org.eclipse.collections.api.list.primitive">ShortList</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#pop(int)">pop</a></span>&#8203;(int&nbsp;count)</code></th>
<td class="colLast">
<div class="block">Removes and returns a ShortList of the number of elements specified by the count, beginning with the top of the stack.</div>
</td>
</tr>
<tr class="rowColor" id="i13">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#push(short)">push</a></span>&#8203;(short&nbsp;item)</code></th>
<td class="colLast">
<div class="block">Adds an item to the top of the stack.</div>
</td>
</tr>
<tr class="altColor" id="i14">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readExternal(java.io.ObjectInput)">readExternal</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/ObjectInput.html?is-external=true" title="class or interface in java.io" class="externalLink">ObjectInput</a>&nbsp;in)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i15">
<td class="colFirst"><code><a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reject(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">reject</a></span>&#8203;(<a href="../../../../api/block/predicate/primitive/ShortPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">ShortPredicate</a>&nbsp;predicate)</code></th>
<td class="colLast">
<div class="block">Returns a new ShortIterable with all of the elements in the ShortIterable that
return false for the specified predicate.</div>
</td>
</tr>
<tr class="altColor" id="i16">
<td class="colFirst"><code><a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#select(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">select</a></span>&#8203;(<a href="../../../../api/block/predicate/primitive/ShortPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">ShortPredicate</a>&nbsp;predicate)</code></th>
<td class="colLast">
<div class="block">Returns a new ShortIterable with all of the elements in the ShortIterable that
return true for the specified predicate.</div>
</td>
</tr>
<tr class="rowColor" id="i17">
<td class="colFirst"><code><a href="../../../../api/stack/primitive/ImmutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">ImmutableShortStack</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toImmutable()">toImmutable</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i18">
<td class="colFirst"><code><a href="../../../../api/list/primitive/MutableShortList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableShortList</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSortedList()">toSortedList</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i19">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeExternal(java.io.ObjectOutput)">writeExternal</a></span>&#8203;(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/ObjectOutput.html?is-external=true" title="class or interface in java.io" class="externalLink">ObjectOutput</a>&nbsp;out)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="inheritedList">
<h3>Methods inherited from class&nbsp;org.eclipse.collections.impl.stack.primitive.<a href="../../primitive/AbstractShortStack.html" title="class in org.eclipse.collections.impl.stack.primitive">AbstractShortStack</a></h3>
<a id="methods.inherited.from.class.org.eclipse.collections.impl.stack.primitive.AbstractShortStack">
<!-- -->
</a><code><a href="../../primitive/AbstractShortStack.html#allSatisfy(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">allSatisfy</a>, <a href="../../primitive/AbstractShortStack.html#anySatisfy(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">anySatisfy</a>, <a href="../../primitive/AbstractShortStack.html#appendString(java.lang.Appendable)">appendString</a>, <a href="../../primitive/AbstractShortStack.html#appendString(java.lang.Appendable,java.lang.String)">appendString</a>, <a href="../../primitive/AbstractShortStack.html#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a>, <a href="../../primitive/AbstractShortStack.html#asLazy()">asLazy</a>, <a href="../../primitive/AbstractShortStack.html#average()">average</a>, <a href="../../primitive/AbstractShortStack.html#chunk(int)">chunk</a>, <a href="../../primitive/AbstractShortStack.html#contains(short)">contains</a>, <a href="../../primitive/AbstractShortStack.html#containsAll(short...)">containsAll</a>, <a href="../../primitive/AbstractShortStack.html#containsAll(org.eclipse.collections.api.ShortIterable)">containsAll</a>, <a href="../../primitive/AbstractShortStack.html#count(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">count</a>, <a href="../../primitive/AbstractShortStack.html#detectIfNone(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate,short)">detectIfNone</a>, <a href="../../primitive/AbstractShortStack.html#each(org.eclipse.collections.api.block.procedure.primitive.ShortProcedure)">each</a>, <a href="../../primitive/AbstractShortStack.html#forEach(org.eclipse.collections.api.block.procedure.primitive.ShortProcedure)">forEach</a>, <a href="../../primitive/AbstractShortStack.html#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ShortIntProcedure)">forEachWithIndex</a>, <a href="../../primitive/AbstractShortStack.html#getFirst()">getFirst</a>, <a href="../../primitive/AbstractShortStack.html#indexOf(short)">indexOf</a>, <a href="../../primitive/AbstractShortStack.html#injectInto(V,org.eclipse.collections.api.block.function.primitive.ObjectShortToObjectFunction)">injectInto</a>, <a href="../../primitive/AbstractShortStack.html#injectIntoWithIndex(T,org.eclipse.collections.api.block.function.primitive.ObjectShortIntToObjectFunction)">injectIntoWithIndex</a>, <a href="../../primitive/AbstractShortStack.html#makeString()">makeString</a>, <a href="../../primitive/AbstractShortStack.html#makeString(java.lang.String)">makeString</a>, <a href="../../primitive/AbstractShortStack.html#makeString(java.lang.String,java.lang.String,java.lang.String)">makeString</a>, <a href="../../primitive/AbstractShortStack.html#max()">max</a>, <a href="../../primitive/AbstractShortStack.html#maxIfEmpty(short)">maxIfEmpty</a>, <a href="../../primitive/AbstractShortStack.html#median()">median</a>, <a href="../../primitive/AbstractShortStack.html#min()">min</a>, <a href="../../primitive/AbstractShortStack.html#minIfEmpty(short)">minIfEmpty</a>, <a href="../../primitive/AbstractShortStack.html#noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">noneSatisfy</a>, <a href="../../primitive/AbstractShortStack.html#peek()">peek</a>, <a href="../../primitive/AbstractShortStack.html#peek(int)">peek</a>, <a href="../../primitive/AbstractShortStack.html#peekAt(int)">peekAt</a>, <a href="../../primitive/AbstractShortStack.html#shortIterator()">shortIterator</a>, <a href="../../primitive/AbstractShortStack.html#size()">size</a>, <a href="../../primitive/AbstractShortStack.html#sum()">sum</a>, <a href="../../primitive/AbstractShortStack.html#toArray()">toArray</a>, <a href="../../primitive/AbstractShortStack.html#toArray(short%5B%5D)">toArray</a>, <a href="../../primitive/AbstractShortStack.html#toBag()">toBag</a>, <a href="../../primitive/AbstractShortStack.html#toList()">toList</a>, <a href="../../primitive/AbstractShortStack.html#toSet()">toSet</a>, <a href="../../primitive/AbstractShortStack.html#toSortedArray()">toSortedArray</a>, <a href="../../primitive/AbstractShortStack.html#toString()">toString</a></code></div>
<div class="inheritedList">
<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" class="externalLink">Object</a></h3>
<a id="methods.inherited.from.class.java.lang.Object">
<!-- -->
</a><code><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" class="externalLink">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" class="externalLink">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" class="externalLink">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" class="externalLink">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" class="externalLink">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" class="externalLink">wait</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from interface&nbsp;org.eclipse.collections.api.stack.primitive.<a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></h3>
<a id="methods.inherited.from.class.org.eclipse.collections.api.stack.primitive.MutableShortStack">
<!-- -->
</a><code><a href="../../../../api/stack/primitive/MutableShortStack.html#collectWithIndex(org.eclipse.collections.api.block.function.primitive.ShortIntToObjectFunction)">collectWithIndex</a>, <a href="../../../../api/stack/primitive/MutableShortStack.html#tap(org.eclipse.collections.api.block.procedure.primitive.ShortProcedure)">tap</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from interface&nbsp;org.eclipse.collections.api.ordered.primitive.<a href="../../../../api/ordered/primitive/OrderedShortIterable.html" title="interface in org.eclipse.collections.api.ordered.primitive">OrderedShortIterable</a></h3>
<a id="methods.inherited.from.class.org.eclipse.collections.api.ordered.primitive.OrderedShortIterable">
<!-- -->
</a><code><a href="../../../../api/ordered/primitive/OrderedShortIterable.html#collectWithIndex(org.eclipse.collections.api.block.function.primitive.ShortIntToObjectFunction,R)">collectWithIndex</a>, <a href="../../../../api/ordered/primitive/OrderedShortIterable.html#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ShortIntProcedure)">forEachWithIndex</a>, <a href="../../../../api/ordered/primitive/OrderedShortIterable.html#getFirst()">getFirst</a>, <a href="../../../../api/ordered/primitive/OrderedShortIterable.html#indexOf(short)">indexOf</a>, <a href="../../../../api/ordered/primitive/OrderedShortIterable.html#injectIntoWithIndex(T,org.eclipse.collections.api.block.function.primitive.ObjectShortIntToObjectFunction)">injectIntoWithIndex</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from interface&nbsp;org.eclipse.collections.api.<a href="../../../../api/PrimitiveIterable.html" title="interface in org.eclipse.collections.api">PrimitiveIterable</a></h3>
<a id="methods.inherited.from.class.org.eclipse.collections.api.PrimitiveIterable">
<!-- -->
</a><code><a href="../../../../api/PrimitiveIterable.html#appendString(java.lang.Appendable)">appendString</a>, <a href="../../../../api/PrimitiveIterable.html#appendString(java.lang.Appendable,java.lang.String)">appendString</a>, <a href="../../../../api/PrimitiveIterable.html#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a>, <a href="../../../../api/PrimitiveIterable.html#isEmpty()">isEmpty</a>, <a href="../../../../api/PrimitiveIterable.html#makeString()">makeString</a>, <a href="../../../../api/PrimitiveIterable.html#makeString(java.lang.String)">makeString</a>, <a href="../../../../api/PrimitiveIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)">makeString</a>, <a href="../../../../api/PrimitiveIterable.html#notEmpty()">notEmpty</a>, <a href="../../../../api/PrimitiveIterable.html#size()">size</a>, <a href="../../../../api/PrimitiveIterable.html#toString()">toString</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from interface&nbsp;org.eclipse.collections.api.<a href="../../../../api/ShortIterable.html" title="interface in org.eclipse.collections.api">ShortIterable</a></h3>
<a id="methods.inherited.from.class.org.eclipse.collections.api.ShortIterable">
<!-- -->
</a><code><a href="../../../../api/ShortIterable.html#allSatisfy(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">allSatisfy</a>, <a href="../../../../api/ShortIterable.html#anySatisfy(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">anySatisfy</a>, <a href="../../../../api/ShortIterable.html#asLazy()">asLazy</a>, <a href="../../../../api/ShortIterable.html#average()">average</a>, <a href="../../../../api/ShortIterable.html#averageIfEmpty(double)">averageIfEmpty</a>, <a href="../../../../api/ShortIterable.html#chunk(int)">chunk</a>, <a href="../../../../api/ShortIterable.html#collect(org.eclipse.collections.api.block.function.primitive.ShortToObjectFunction,R)">collect</a>, <a href="../../../../api/ShortIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.ShortToBooleanFunction,R)">collectBoolean</a>, <a href="../../../../api/ShortIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ShortToByteFunction,R)">collectByte</a>, <a href="../../../../api/ShortIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.ShortToCharFunction,R)">collectChar</a>, <a href="../../../../api/ShortIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.ShortToDoubleFunction,R)">collectDouble</a>, <a href="../../../../api/ShortIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.ShortToFloatFunction,R)">collectFloat</a>, <a href="../../../../api/ShortIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.ShortToIntFunction,R)">collectInt</a>, <a href="../../../../api/ShortIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.ShortToLongFunction,R)">collectLong</a>, <a href="../../../../api/ShortIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortToShortFunction,R)">collectShort</a>, <a href="../../../../api/ShortIterable.html#contains(short)">contains</a>, <a href="../../../../api/ShortIterable.html#containsAll(short...)">containsAll</a>, <a href="../../../../api/ShortIterable.html#containsAll(org.eclipse.collections.api.ShortIterable)">containsAll</a>, <a href="../../../../api/ShortIterable.html#count(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">count</a>, <a href="../../../../api/ShortIterable.html#detectIfNone(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate,short)">detectIfNone</a>, <a href="../../../../api/ShortIterable.html#each(org.eclipse.collections.api.block.procedure.primitive.ShortProcedure)">each</a>, <a href="../../../../api/ShortIterable.html#flatCollect(org.eclipse.collections.api.block.function.primitive.ShortToObjectFunction,R)">flatCollect</a>, <a href="../../../../api/ShortIterable.html#forEach(org.eclipse.collections.api.block.procedure.primitive.ShortProcedure)">forEach</a>, <a href="../../../../api/ShortIterable.html#injectInto(T,org.eclipse.collections.api.block.function.primitive.ObjectShortToObjectFunction)">injectInto</a>, <a href="../../../../api/ShortIterable.html#max()">max</a>, <a href="../../../../api/ShortIterable.html#maxIfEmpty(short)">maxIfEmpty</a>, <a href="../../../../api/ShortIterable.html#median()">median</a>, <a href="../../../../api/ShortIterable.html#medianIfEmpty(double)">medianIfEmpty</a>, <a href="../../../../api/ShortIterable.html#min()">min</a>, <a href="../../../../api/ShortIterable.html#minIfEmpty(short)">minIfEmpty</a>, <a href="../../../../api/ShortIterable.html#noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">noneSatisfy</a>, <a href="../../../../api/ShortIterable.html#reduce(org.eclipse.collections.api.block.function.primitive.LongShortToLongFunction)">reduce</a>, <a href="../../../../api/ShortIterable.html#reduceIfEmpty(org.eclipse.collections.api.block.function.primitive.LongShortToLongFunction,long)">reduceIfEmpty</a>, <a href="../../../../api/ShortIterable.html#reject(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate,R)">reject</a>, <a href="../../../../api/ShortIterable.html#select(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate,R)">select</a>, <a href="../../../../api/ShortIterable.html#shortIterator()">shortIterator</a>, <a href="../../../../api/ShortIterable.html#sum()">sum</a>, <a href="../../../../api/ShortIterable.html#summaryStatistics()">summaryStatistics</a>, <a href="../../../../api/ShortIterable.html#toArray()">toArray</a>, <a href="../../../../api/ShortIterable.html#toArray(short%5B%5D)">toArray</a>, <a href="../../../../api/ShortIterable.html#toBag()">toBag</a>, <a href="../../../../api/ShortIterable.html#toList()">toList</a>, <a href="../../../../api/ShortIterable.html#toSet()">toSet</a>, <a href="../../../../api/ShortIterable.html#toSortedArray()">toSortedArray</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from interface&nbsp;org.eclipse.collections.api.stack.primitive.<a href="../../../../api/stack/primitive/ShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">ShortStack</a></h3>
<a id="methods.inherited.from.class.org.eclipse.collections.api.stack.primitive.ShortStack">
<!-- -->
</a><code><a href="../../../../api/stack/primitive/ShortStack.html#peek()">peek</a>, <a href="../../../../api/stack/primitive/ShortStack.html#peek(int)">peek</a>, <a href="../../../../api/stack/primitive/ShortStack.html#peekAt(int)">peekAt</a></code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<li class="blockList">
<section class="constructorDetails"><a id="constructor.detail">
<!-- -->
</a>
<h2>Constructor Details</h2>
<ul class="blockList">
<li class="blockList">
<section class="detail">
<h3><a id="&lt;init&gt;()">ShortArrayStack</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="memberName">ShortArrayStack</span>()</div>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li class="blockList">
<section class="methodDetails"><a id="method.detail">
<!-- -->
</a>
<h2>Method Details</h2>
<ul class="blockList">
<li class="blockList">
<section class="detail">
<h3><a id="newStackFromTopToBottom(short...)">newStackFromTopToBottom</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="ShortArrayStack.html" title="class in org.eclipse.collections.impl.stack.mutable.primitive">ShortArrayStack</a></span>&nbsp;<span class="memberName">newStackFromTopToBottom</span>&#8203;(<span class="arguments">short...&nbsp;items)</span></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="newStackWith(short...)">newStackWith</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="ShortArrayStack.html" title="class in org.eclipse.collections.impl.stack.mutable.primitive">ShortArrayStack</a></span>&nbsp;<span class="memberName">newStackWith</span>&#8203;(<span class="arguments">short...&nbsp;items)</span></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="newStack(org.eclipse.collections.api.ShortIterable)">newStack</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="ShortArrayStack.html" title="class in org.eclipse.collections.impl.stack.mutable.primitive">ShortArrayStack</a></span>&nbsp;<span class="memberName">newStack</span>&#8203;(<span class="arguments"><a href="../../../../api/ShortIterable.html" title="interface in org.eclipse.collections.api">ShortIterable</a>&nbsp;items)</span></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="newStackFromTopToBottom(org.eclipse.collections.api.ShortIterable)">newStackFromTopToBottom</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="returnType"><a href="ShortArrayStack.html" title="class in org.eclipse.collections.impl.stack.mutable.primitive">ShortArrayStack</a></span>&nbsp;<span class="memberName">newStackFromTopToBottom</span>&#8203;(<span class="arguments"><a href="../../../../api/ShortIterable.html" title="interface in org.eclipse.collections.api">ShortIterable</a>&nbsp;items)</span></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="push(short)">push</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">push</span>&#8203;(<span class="arguments">short&nbsp;item)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../api/stack/primitive/MutableShortStack.html#push(short)">MutableShortStack</a></code></span></div>
<div class="block">Adds an item to the top of the stack.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/stack/primitive/MutableShortStack.html#push(short)">push</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="pop()">pop</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">short</span>&nbsp;<span class="memberName">pop</span>()</div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../api/stack/primitive/MutableShortStack.html#pop()">MutableShortStack</a></code></span></div>
<div class="block">Removes and returns the top element of the stack.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/stack/primitive/MutableShortStack.html#pop()">pop</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="pop(int)">pop</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../../api/list/primitive/ShortList.html" title="interface in org.eclipse.collections.api.list.primitive">ShortList</a></span>&nbsp;<span class="memberName">pop</span>&#8203;(<span class="arguments">int&nbsp;count)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../api/stack/primitive/MutableShortStack.html#pop(int)">MutableShortStack</a></code></span></div>
<div class="block">Removes and returns a ShortList of the number of elements specified by the count, beginning with the top of the stack.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/stack/primitive/MutableShortStack.html#pop(int)">pop</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="select(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">select</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></span>&nbsp;<span class="memberName">select</span>&#8203;(<span class="arguments"><a href="../../../../api/block/predicate/primitive/ShortPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">ShortPredicate</a>&nbsp;predicate)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../api/ShortIterable.html#select(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">ShortIterable</a></code></span></div>
<div class="block">Returns a new ShortIterable with all of the elements in the ShortIterable that
return true for the specified predicate.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/stack/primitive/MutableShortStack.html#select(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">select</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/ordered/primitive/OrderedShortIterable.html#select(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">select</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/ordered/primitive/OrderedShortIterable.html" title="interface in org.eclipse.collections.api.ordered.primitive">OrderedShortIterable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/ShortIterable.html#select(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">select</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/ShortIterable.html" title="interface in org.eclipse.collections.api">ShortIterable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/stack/primitive/ShortStack.html#select(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">select</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/stack/primitive/ShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">ShortStack</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="reject(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">reject</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></span>&nbsp;<span class="memberName">reject</span>&#8203;(<span class="arguments"><a href="../../../../api/block/predicate/primitive/ShortPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">ShortPredicate</a>&nbsp;predicate)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../api/ShortIterable.html#reject(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">ShortIterable</a></code></span></div>
<div class="block">Returns a new ShortIterable with all of the elements in the ShortIterable that
return false for the specified predicate.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/stack/primitive/MutableShortStack.html#reject(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">reject</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/ordered/primitive/OrderedShortIterable.html#reject(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">reject</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/ordered/primitive/OrderedShortIterable.html" title="interface in org.eclipse.collections.api.ordered.primitive">OrderedShortIterable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/ShortIterable.html#reject(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">reject</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/ShortIterable.html" title="interface in org.eclipse.collections.api">ShortIterable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/stack/primitive/ShortStack.html#reject(org.eclipse.collections.api.block.predicate.primitive.ShortPredicate)">reject</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/stack/primitive/ShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">ShortStack</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="collect(org.eclipse.collections.api.block.function.primitive.ShortToObjectFunction)">collect</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="typeParameters">&lt;V&gt;</span>&nbsp;<span class="returnType"><a href="../../../../api/stack/MutableStack.html" title="interface in org.eclipse.collections.api.stack">MutableStack</a>&lt;V&gt;</span>&nbsp;<span class="memberName">collect</span>&#8203;(<span class="arguments"><a href="../../../../api/block/function/primitive/ShortToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ShortToObjectFunction</a>&lt;? extends V&gt;&nbsp;function)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../api/ShortIterable.html#collect(org.eclipse.collections.api.block.function.primitive.ShortToObjectFunction)">ShortIterable</a></code></span></div>
<div class="block">Returns a new collection with the results of applying the specified function on each element of the source
collection. This method is also commonly called transform or map.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/stack/primitive/MutableShortStack.html#collect(org.eclipse.collections.api.block.function.primitive.ShortToObjectFunction)">collect</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/ordered/primitive/OrderedShortIterable.html#collect(org.eclipse.collections.api.block.function.primitive.ShortToObjectFunction)">collect</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/ordered/primitive/OrderedShortIterable.html" title="interface in org.eclipse.collections.api.ordered.primitive">OrderedShortIterable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/ShortIterable.html#collect(org.eclipse.collections.api.block.function.primitive.ShortToObjectFunction)">collect</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/ShortIterable.html" title="interface in org.eclipse.collections.api">ShortIterable</a></code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/stack/primitive/ShortStack.html#collect(org.eclipse.collections.api.block.function.primitive.ShortToObjectFunction)">collect</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/stack/primitive/ShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">ShortStack</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="clear()">clear</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">clear</span>()</div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../api/stack/primitive/MutableShortStack.html#clear()">MutableShortStack</a></code></span></div>
<div class="block">Clears the Stack</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/stack/primitive/MutableShortStack.html#clear()">clear</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="toSortedList()">toSortedList</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../../api/list/primitive/MutableShortList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableShortList</a></span>&nbsp;<span class="memberName">toSortedList</span>()</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/ShortIterable.html#toSortedList()">toSortedList</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/ShortIterable.html" title="interface in org.eclipse.collections.api">ShortIterable</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="asUnmodifiable()">asUnmodifiable</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></span>&nbsp;<span class="memberName">asUnmodifiable</span>()</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/stack/primitive/MutableShortStack.html#asUnmodifiable()">asUnmodifiable</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="asSynchronized()">asSynchronized</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></span>&nbsp;<span class="memberName">asSynchronized</span>()</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/stack/primitive/MutableShortStack.html#asSynchronized()">asSynchronized</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="toImmutable()">toImmutable</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../../api/stack/primitive/ImmutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">ImmutableShortStack</a></span>&nbsp;<span class="memberName">toImmutable</span>()</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/stack/primitive/ShortStack.html#toImmutable()">toImmutable</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/stack/primitive/ShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">ShortStack</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="newEmpty()">newEmpty</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="ShortArrayStack.html" title="class in org.eclipse.collections.impl.stack.mutable.primitive">ShortArrayStack</a></span>&nbsp;<span class="memberName">newEmpty</span>()</div>
<div class="block">Creates a new empty ShortArrayStack.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/stack/primitive/MutableShortStack.html#newEmpty()">newEmpty</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/stack/primitive/MutableShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableShortStack</a></code></dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>9.2.</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="equals(java.lang.Object)">equals</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">boolean</span>&nbsp;<span class="memberName">equals</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>&nbsp;otherStack)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../api/stack/primitive/ShortStack.html#equals(java.lang.Object)">ShortStack</a></code></span></div>
<div class="block">Follows the same general contract as <a href="../../../../api/stack/StackIterable.html#equals(java.lang.Object)"><code>StackIterable.equals(Object)</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/stack/primitive/ShortStack.html#equals(java.lang.Object)">equals</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/stack/primitive/ShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">ShortStack</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../primitive/AbstractShortStack.html#equals(java.lang.Object)">equals</a></code>&nbsp;in class&nbsp;<code><a href="../../primitive/AbstractShortStack.html" title="class in org.eclipse.collections.impl.stack.primitive">AbstractShortStack</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="hashCode()">hashCode</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">int</span>&nbsp;<span class="memberName">hashCode</span>()</div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../../api/stack/primitive/ShortStack.html#hashCode()">ShortStack</a></code></span></div>
<div class="block">Follows the same general contract as <a href="../../../../api/stack/StackIterable.html#hashCode()"><code>StackIterable.hashCode()</code></a>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../../api/stack/primitive/ShortStack.html#hashCode()">hashCode</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../api/stack/primitive/ShortStack.html" title="interface in org.eclipse.collections.api.stack.primitive">ShortStack</a></code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../primitive/AbstractShortStack.html#hashCode()">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="../../primitive/AbstractShortStack.html" title="class in org.eclipse.collections.impl.stack.primitive">AbstractShortStack</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="writeExternal(java.io.ObjectOutput)">writeExternal</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">writeExternal</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/io/ObjectOutput.html?is-external=true" title="class or interface in java.io" class="externalLink">ObjectOutput</a>&nbsp;out)</span>
throws <span class="exceptions"><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></span></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true#writeExternal(java.io.ObjectOutput)" title="class or interface in java.io" class="externalLink">writeExternal</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io" class="externalLink">Externalizable</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="readExternal(java.io.ObjectInput)">readExternal</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">void</span>&nbsp;<span class="memberName">readExternal</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/io/ObjectInput.html?is-external=true" title="class or interface in java.io" class="externalLink">ObjectInput</a>&nbsp;in)</span>
throws <span class="exceptions"><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></span></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true#readExternal(java.io.ObjectInput)" title="class or interface in java.io" class="externalLink">readExternal</a></code>&nbsp;in interface&nbsp;<code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io" class="externalLink">Externalizable</a></code></dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code></dd>
</dl>
</section>
</li>
</ul>
</section>
</li>
</ul>
</section>
</div>
<!-- ========= END OF CLASS DATA ========= -->
</main>
<footer role="contentinfo">
<nav role="navigation">
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ShortArrayStack.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">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&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>
</div>
<a id="skip.navbar.bottom">
<!-- -->
</a>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small>Copyright &#169; 2004&#x2013;2020. All rights reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>