| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (14.0.2) on Thu Aug 20 21:25:36 CDT 2020 --> |
| <title>UnmodifiableLongStack (Eclipse Collections - 10.4.0)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2020-08-20"> |
| <meta name="description" content="declaration: package: org.eclipse.collections.impl.stack.mutable.primitive, class: UnmodifiableLongStack"> |
| <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":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| 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/UnmodifiableLongStack.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: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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> <a href="package-summary.html">org.eclipse.collections.impl.stack.mutable.primitive</a></div> |
| <h1 title="Class UnmodifiableLongStack" class="title">Class UnmodifiableLongStack</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">org.eclipse.collections.impl.stack.mutable.primitive.UnmodifiableLongStack</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/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></code>, <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code>, <code><a href="../../../../api/ordered/primitive/OrderedLongIterable.html" title="interface in org.eclipse.collections.api.ordered.primitive">OrderedLongIterable</a></code>, <code><a href="../../../../api/PrimitiveIterable.html" title="interface in org.eclipse.collections.api">PrimitiveIterable</a></code>, <code><a href="../../../../api/stack/primitive/LongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">LongStack</a></code>, <code><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public class <span class="typeNameLabel">UnmodifiableLongStack</span> |
| extends <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> |
| implements <a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a>, <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></pre> |
| <div class="block">This file was automatically generated from template file unmodifiablePrimitiveStack.stg.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.1.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../../serialized-form.html#org.eclipse.collections.impl.stack.mutable.primitive.UnmodifiableLongStack">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"> </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(org.eclipse.collections.api.stack.primitive.MutableLongStack)">UnmodifiableLongStack</a></span>​(<a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a> stack)</code></th> |
| <td class="colLast"> </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="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>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allSatisfy(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">allSatisfy</a></span>​(<a href="../../../../api/block/predicate/primitive/LongPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">LongPredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if all of the elements in the LongIterable return true for the |
| specified predicate, otherwise returns false.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i1"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#anySatisfy(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">anySatisfy</a></span>​(<a href="../../../../api/block/predicate/primitive/LongPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">LongPredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if any of the elements in the LongIterable return true for the |
| specified predicate, otherwise returns false.</div> |
| </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="#appendString(java.lang.Appendable)">appendString</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Appendable</a> appendable)</code></th> |
| <td class="colLast"> |
| <div class="block">Prints a string representation of this collection onto the given <code>Appendable</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i3"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#appendString(java.lang.Appendable,java.lang.String)">appendString</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Appendable</a> appendable, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> separator)</code></th> |
| <td class="colLast"> |
| <div class="block">Prints a string representation of this collection onto the given <code>Appendable</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i4"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Appendable</a> appendable, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> start, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> separator, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> end)</code></th> |
| <td class="colLast"> |
| <div class="block">Prints a string representation of this collection onto the given <code>Appendable</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i5"> |
| <td class="colFirst"><code><a href="../../../../api/LazyLongIterable.html" title="interface in org.eclipse.collections.api">LazyLongIterable</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asLazy()">asLazy</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a LazyLongIterable adapter wrapping the source LongIterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i6"> |
| <td class="colFirst"><code><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asSynchronized()">asSynchronized</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i7"> |
| <td class="colFirst"><code><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asUnmodifiable()">asUnmodifiable</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i8"> |
| <td class="colFirst"><code>double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#average()">average</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i9"> |
| <td class="colFirst"><code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#chunk(int)">chunk</a></span>​(int size)</code></th> |
| <td class="colLast"> |
| <div class="block">Partitions elements in fixed size chunks.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i10"> |
| <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="i11"> |
| <td class="colFirst"><code><V> <a href="../../../../api/stack/MutableStack.html" title="interface in org.eclipse.collections.api.stack">MutableStack</a><V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collect(org.eclipse.collections.api.block.function.primitive.LongToObjectFunction)">collect</a></span>​(<a href="../../../../api/block/function/primitive/LongToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongToObjectFunction</a><? extends V> 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="i12"> |
| <td class="colFirst"><code><V> <a href="../../../../api/stack/MutableStack.html" title="interface in org.eclipse.collections.api.stack">MutableStack</a><V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectWithIndex(org.eclipse.collections.api.block.function.primitive.LongIntToObjectFunction)">collectWithIndex</a></span>​(<a href="../../../../api/block/function/primitive/LongIntToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongIntToObjectFunction</a><? extends V> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new MutableStack using results obtained by applying the specified function to each element |
| and its corresponding index.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i13"> |
| <td class="colFirst"><code><V,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><V>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectWithIndex(org.eclipse.collections.api.block.function.primitive.LongIntToObjectFunction,R)">collectWithIndex</a></span>​(<a href="../../../../api/block/function/primitive/LongIntToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongIntToObjectFunction</a><? extends V> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds elements to the target Collection using results obtained by applying the specified function to each element |
| and its corresponding index.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i14"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#contains(long)">contains</a></span>​(long value)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the value is contained in the LongIterable, and false if it is not.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i15"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#containsAll(long...)">containsAll</a></span>​(long... source)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the all of the values specified in the source array are contained |
| in the LongIterable, and false if they are not.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i16"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#containsAll(org.eclipse.collections.api.LongIterable)">containsAll</a></span>​(<a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a> source)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the all of the values specified in the source LongIterable are contained |
| in the LongIterable, and false if they are not.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i17"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#count(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">count</a></span>​(<a href="../../../../api/block/predicate/primitive/LongPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">LongPredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a count of the number of elements in the LongIterable that return true for the |
| specified predicate.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i18"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detectIfNone(org.eclipse.collections.api.block.predicate.primitive.LongPredicate,long)">detectIfNone</a></span>​(<a href="../../../../api/block/predicate/primitive/LongPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">LongPredicate</a> predicate, |
| long ifNone)</code></th> |
| <td class="colLast"> </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="#each(org.eclipse.collections.api.block.procedure.primitive.LongProcedure)">each</a></span>​(<a href="../../../../api/block/procedure/primitive/LongProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">LongProcedure</a> procedure)</code></th> |
| <td class="colLast"> |
| <div class="block">A synonym for forEach.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i20"> |
| <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>​(<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> 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="i21"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#forEach(org.eclipse.collections.api.block.procedure.primitive.LongProcedure)">forEach</a></span>​(<a href="../../../../api/block/procedure/primitive/LongProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">LongProcedure</a> procedure)</code></th> |
| <td class="colLast"> |
| <div class="block">Applies the LongProcedure to each element in the LongIterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i22"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.LongIntProcedure)">forEachWithIndex</a></span>​(<a href="../../../../api/block/procedure/primitive/LongIntProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">LongIntProcedure</a> procedure)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i23"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFirst()">getFirst</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i24"> |
| <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="rowColor" id="i25"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#indexOf(long)">indexOf</a></span>​(long value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i26"> |
| <td class="colFirst"><code><T> T</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#injectInto(T,org.eclipse.collections.api.block.function.primitive.ObjectLongToObjectFunction)">injectInto</a></span>​(T injectedValue, |
| <a href="../../../../api/block/function/primitive/ObjectLongToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ObjectLongToObjectFunction</a><? super T,​? extends T> function)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i27"> |
| <td class="colFirst"><code><T> T</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#injectIntoWithIndex(T,org.eclipse.collections.api.block.function.primitive.ObjectLongIntToObjectFunction)">injectIntoWithIndex</a></span>​(T injectedValue, |
| <a href="../../../../api/block/function/primitive/ObjectLongIntToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ObjectLongIntToObjectFunction</a><? super T,​? extends T> function)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i28"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isEmpty()">isEmpty</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if this iterable has zero items.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i29"> |
| <td class="colFirst"><code><a href="../../../../api/iterator/LongIterator.html" title="interface in org.eclipse.collections.api.iterator">LongIterator</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#longIterator()">longIterator</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a primitive iterator that can be used to iterate over the LongIterable in an |
| imperative style.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i30"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#makeString()">makeString</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a string representation of this collection by delegating to <a href="../../../../api/PrimitiveIterable.html#makeString(java.lang.String)"><code>PrimitiveIterable.makeString(String)</code></a> and defaulting |
| the separator parameter to the characters <code>", "</code> (comma and space).</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i31"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#makeString(java.lang.String)">makeString</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> separator)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a string representation of this collection by delegating to <a href="../../../../api/PrimitiveIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)"><code>PrimitiveIterable.makeString(String, String, String)</code></a> |
| and defaulting the start and end parameters to <code>""</code> (the empty String).</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i32"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#makeString(java.lang.String,java.lang.String,java.lang.String)">makeString</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> start, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> separator, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> end)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a string representation of this collection with the elements separated by the specified |
| separator and enclosed between the start and end strings.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i33"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#max()">max</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i34"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#maxIfEmpty(long)">maxIfEmpty</a></span>​(long defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i35"> |
| <td class="colFirst"><code>double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#median()">median</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i36"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#min()">min</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i37"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#minIfEmpty(long)">minIfEmpty</a></span>​(long defaultValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i38"> |
| <td class="colFirst"><code><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</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 mutable version of the same stack type.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i39"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">noneSatisfy</a></span>​(<a href="../../../../api/block/predicate/primitive/LongPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">LongPredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if none of the elements in the LongIterable return true for the |
| specified predicate, otherwise returns false.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i40"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notEmpty()">notEmpty</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">The English equivalent of !this.isEmpty()</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i41"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#peek()">peek</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the top of the stack.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i42"> |
| <td class="colFirst"><code><a href="../../../../api/list/primitive/LongList.html" title="interface in org.eclipse.collections.api.list.primitive">LongList</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#peek(int)">peek</a></span>​(int count)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns LongList of the number of elements specified by the count, beginning with the top of the stack.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i43"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#peekAt(int)">peekAt</a></span>​(int index)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the element at the specified index.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i44"> |
| <td class="colFirst"><code>long</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="rowColor" id="i45"> |
| <td class="colFirst"><code><a href="../../../../api/list/primitive/LongList.html" title="interface in org.eclipse.collections.api.list.primitive">LongList</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#pop(int)">pop</a></span>​(int count)</code></th> |
| <td class="colLast"> |
| <div class="block">Removes and returns a LongList of the number of elements specified by the count, beginning with the top of the stack.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i46"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#push(long)">push</a></span>​(long item)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds an item to the top of the stack.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i47"> |
| <td class="colFirst"><code><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reject(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">reject</a></span>​(<a href="../../../../api/block/predicate/primitive/LongPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">LongPredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new LongIterable with all of the elements in the LongIterable that |
| return false for the specified predicate.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i48"> |
| <td class="colFirst"><code><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#select(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">select</a></span>​(<a href="../../../../api/block/predicate/primitive/LongPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">LongPredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new LongIterable with all of the elements in the LongIterable that |
| return true for the specified predicate.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i49"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#size()">size</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the number of items in this iterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i50"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sum()">sum</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i51"> |
| <td class="colFirst"><code>long[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toArray()">toArray</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the LongIterable to a primitive long array.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i52"> |
| <td class="colFirst"><code>long[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toArray(long%5B%5D)">toArray</a></span>​(long[] target)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the LongIterable to a primitive long array.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i53"> |
| <td class="colFirst"><code><a href="../../../../api/bag/primitive/MutableLongBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableLongBag</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toBag()">toBag</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the LongIterable to a new MutableLongBag.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i54"> |
| <td class="colFirst"><code><a href="../../../../api/stack/primitive/ImmutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">ImmutableLongStack</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toImmutable()">toImmutable</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i55"> |
| <td class="colFirst"><code><a href="../../../../api/list/primitive/MutableLongList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableLongList</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toList()">toList</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the LongIterable to a new MutableLongList.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i56"> |
| <td class="colFirst"><code><a href="../../../../api/set/primitive/MutableLongSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableLongSet</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSet()">toSet</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the LongIterable to a new MutableLongSet.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i57"> |
| <td class="colFirst"><code>long[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSortedArray()">toSortedArray</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i58"> |
| <td class="colFirst"><code><a href="../../../../api/list/primitive/MutableLongList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableLongList</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSortedList()">toSortedList</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i59"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a string with the elements of this iterable separated by commas with spaces and |
| enclosed in square brackets.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from class 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 org.eclipse.collections.api.<a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.LongIterable"> |
| <!-- --> |
| </a><code><a href="../../../../api/LongIterable.html#averageIfEmpty(double)">averageIfEmpty</a>, <a href="../../../../api/LongIterable.html#collect(org.eclipse.collections.api.block.function.primitive.LongToObjectFunction,R)">collect</a>, <a href="../../../../api/LongIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.LongToBooleanFunction,R)">collectBoolean</a>, <a href="../../../../api/LongIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.LongToByteFunction,R)">collectByte</a>, <a href="../../../../api/LongIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.LongToCharFunction,R)">collectChar</a>, <a href="../../../../api/LongIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.LongToDoubleFunction,R)">collectDouble</a>, <a href="../../../../api/LongIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.LongToFloatFunction,R)">collectFloat</a>, <a href="../../../../api/LongIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.LongToIntFunction,R)">collectInt</a>, <a href="../../../../api/LongIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongToLongFunction,R)">collectLong</a>, <a href="../../../../api/LongIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.LongToShortFunction,R)">collectShort</a>, <a href="../../../../api/LongIterable.html#flatCollect(org.eclipse.collections.api.block.function.primitive.LongToObjectFunction,R)">flatCollect</a>, <a href="../../../../api/LongIterable.html#medianIfEmpty(double)">medianIfEmpty</a>, <a href="../../../../api/LongIterable.html#reduce(org.eclipse.collections.api.block.function.primitive.LongLongToLongFunction)">reduce</a>, <a href="../../../../api/LongIterable.html#reduceIfEmpty(org.eclipse.collections.api.block.function.primitive.LongLongToLongFunction,long)">reduceIfEmpty</a>, <a href="../../../../api/LongIterable.html#reject(org.eclipse.collections.api.block.predicate.primitive.LongPredicate,R)">reject</a>, <a href="../../../../api/LongIterable.html#select(org.eclipse.collections.api.block.predicate.primitive.LongPredicate,R)">select</a>, <a href="../../../../api/LongIterable.html#summaryStatistics()">summaryStatistics</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.stack.primitive.<a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.stack.primitive.MutableLongStack"> |
| <!-- --> |
| </a><code><a href="../../../../api/stack/primitive/MutableLongStack.html#tap(org.eclipse.collections.api.block.procedure.primitive.LongProcedure)">tap</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="<init>(org.eclipse.collections.api.stack.primitive.MutableLongStack)">UnmodifiableLongStack</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="memberName">UnmodifiableLongStack</span>​(<span class="arguments"><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a> stack)</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="push(long)">push</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">push</span>​(<span class="arguments">long item)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/stack/primitive/MutableLongStack.html#push(long)">MutableLongStack</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/MutableLongStack.html#push(long)">push</a></code> in interface <code><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</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> <span class="returnType">long</span> <span class="memberName">pop</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/stack/primitive/MutableLongStack.html#pop()">MutableLongStack</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/MutableLongStack.html#pop()">pop</a></code> in interface <code><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</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> <span class="returnType"><a href="../../../../api/list/primitive/LongList.html" title="interface in org.eclipse.collections.api.list.primitive">LongList</a></span> <span class="memberName">pop</span>​(<span class="arguments">int count)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/stack/primitive/MutableLongStack.html#pop(int)">MutableLongStack</a></code></span></div> |
| <div class="block">Removes and returns a LongList 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/MutableLongStack.html#pop(int)">pop</a></code> in interface <code><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="peek()">peek</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">long</span> <span class="memberName">peek</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/stack/primitive/LongStack.html#peek()">LongStack</a></code></span></div> |
| <div class="block">Returns the top of the stack.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/stack/primitive/LongStack.html#peek()">peek</a></code> in interface <code><a href="../../../../api/stack/primitive/LongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">LongStack</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="peek(int)">peek</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/list/primitive/LongList.html" title="interface in org.eclipse.collections.api.list.primitive">LongList</a></span> <span class="memberName">peek</span>​(<span class="arguments">int count)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/stack/primitive/LongStack.html#peek(int)">LongStack</a></code></span></div> |
| <div class="block">Returns LongList 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/LongStack.html#peek(int)">peek</a></code> in interface <code><a href="../../../../api/stack/primitive/LongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">LongStack</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="peekAt(int)">peekAt</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">long</span> <span class="memberName">peekAt</span>​(<span class="arguments">int index)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/stack/primitive/LongStack.html#peekAt(int)">LongStack</a></code></span></div> |
| <div class="block">Returns the element at the specified index.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/stack/primitive/LongStack.html#peekAt(int)">peekAt</a></code> in interface <code><a href="../../../../api/stack/primitive/LongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">LongStack</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - the location to peek into</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="size()">size</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">int</span> <span class="memberName">size</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/PrimitiveIterable.html#size()">PrimitiveIterable</a></code></span></div> |
| <div class="block">Returns the number of items in this iterable.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/PrimitiveIterable.html#size()">size</a></code> in interface <code><a href="../../../../api/PrimitiveIterable.html" title="interface in org.eclipse.collections.api">PrimitiveIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="isEmpty()">isEmpty</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">isEmpty</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/PrimitiveIterable.html#isEmpty()">PrimitiveIterable</a></code></span></div> |
| <div class="block">Returns true if this iterable has zero items.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/PrimitiveIterable.html#isEmpty()">isEmpty</a></code> in interface <code><a href="../../../../api/PrimitiveIterable.html" title="interface in org.eclipse.collections.api">PrimitiveIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="notEmpty()">notEmpty</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">notEmpty</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/PrimitiveIterable.html#notEmpty()">PrimitiveIterable</a></code></span></div> |
| <div class="block">The English equivalent of !this.isEmpty()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/PrimitiveIterable.html#notEmpty()">notEmpty</a></code> in interface <code><a href="../../../../api/PrimitiveIterable.html" title="interface in org.eclipse.collections.api">PrimitiveIterable</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> <span class="returnType">void</span> <span class="memberName">clear</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/stack/primitive/MutableLongStack.html#clear()">MutableLongStack</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/MutableLongStack.html#clear()">clear</a></code> in interface <code><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="contains(long)">contains</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">contains</span>​(<span class="arguments">long value)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#contains(long)">LongIterable</a></code></span></div> |
| <div class="block">Returns true if the value is contained in the LongIterable, and false if it is not.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#contains(long)">contains</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="containsAll(long...)">containsAll</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">containsAll</span>​(<span class="arguments">long... source)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#containsAll(long...)">LongIterable</a></code></span></div> |
| <div class="block">Returns true if the all of the values specified in the source array are contained |
| in the LongIterable, and false if they are not.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#containsAll(long...)">containsAll</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="containsAll(org.eclipse.collections.api.LongIterable)">containsAll</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">containsAll</span>​(<span class="arguments"><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a> source)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#containsAll(org.eclipse.collections.api.LongIterable)">LongIterable</a></code></span></div> |
| <div class="block">Returns true if the all of the values specified in the source LongIterable are contained |
| in the LongIterable, and false if they are not.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#containsAll(org.eclipse.collections.api.LongIterable)">containsAll</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="longIterator()">longIterator</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/iterator/LongIterator.html" title="interface in org.eclipse.collections.api.iterator">LongIterator</a></span> <span class="memberName">longIterator</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#longIterator()">LongIterable</a></code></span></div> |
| <div class="block">Returns a primitive iterator that can be used to iterate over the LongIterable in an |
| imperative style.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#longIterator()">longIterator</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="forEach(org.eclipse.collections.api.block.procedure.primitive.LongProcedure)">forEach</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">forEach</span>​(<span class="arguments"><a href="../../../../api/block/procedure/primitive/LongProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">LongProcedure</a> procedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#forEach(org.eclipse.collections.api.block.procedure.primitive.LongProcedure)">LongIterable</a></code></span></div> |
| <div class="block">Applies the LongProcedure to each element in the LongIterable.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#forEach(org.eclipse.collections.api.block.procedure.primitive.LongProcedure)">forEach</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="each(org.eclipse.collections.api.block.procedure.primitive.LongProcedure)">each</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">each</span>​(<span class="arguments"><a href="../../../../api/block/procedure/primitive/LongProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">LongProcedure</a> procedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#each(org.eclipse.collections.api.block.procedure.primitive.LongProcedure)">LongIterable</a></code></span></div> |
| <div class="block">A synonym for forEach.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#each(org.eclipse.collections.api.block.procedure.primitive.LongProcedure)">each</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>7.0.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="count(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">count</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">int</span> <span class="memberName">count</span>​(<span class="arguments"><a href="../../../../api/block/predicate/primitive/LongPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">LongPredicate</a> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#count(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">LongIterable</a></code></span></div> |
| <div class="block">Returns a count of the number of elements in the LongIterable that return true for the |
| specified predicate.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#count(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">count</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="anySatisfy(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">anySatisfy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">anySatisfy</span>​(<span class="arguments"><a href="../../../../api/block/predicate/primitive/LongPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">LongPredicate</a> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#anySatisfy(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">LongIterable</a></code></span></div> |
| <div class="block">Returns true if any of the elements in the LongIterable return true for the |
| specified predicate, otherwise returns false.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#anySatisfy(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">anySatisfy</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="allSatisfy(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">allSatisfy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">allSatisfy</span>​(<span class="arguments"><a href="../../../../api/block/predicate/primitive/LongPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">LongPredicate</a> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#allSatisfy(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">LongIterable</a></code></span></div> |
| <div class="block">Returns true if all of the elements in the LongIterable return true for the |
| specified predicate, otherwise returns false.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#allSatisfy(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">allSatisfy</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">noneSatisfy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">noneSatisfy</span>​(<span class="arguments"><a href="../../../../api/block/predicate/primitive/LongPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">LongPredicate</a> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">LongIterable</a></code></span></div> |
| <div class="block">Returns true if none of the elements in the LongIterable return true for the |
| specified predicate, otherwise returns false.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">noneSatisfy</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="detectIfNone(org.eclipse.collections.api.block.predicate.primitive.LongPredicate,long)">detectIfNone</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">long</span> <span class="memberName">detectIfNone</span>​(<span class="arguments"><a href="../../../../api/block/predicate/primitive/LongPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">LongPredicate</a> predicate, |
| long ifNone)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#detectIfNone(org.eclipse.collections.api.block.predicate.primitive.LongPredicate,long)">detectIfNone</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="select(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">select</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a></span> <span class="memberName">select</span>​(<span class="arguments"><a href="../../../../api/block/predicate/primitive/LongPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">LongPredicate</a> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#select(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">LongIterable</a></code></span></div> |
| <div class="block">Returns a new LongIterable with all of the elements in the LongIterable that |
| return true for the specified predicate.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#select(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">select</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/stack/primitive/LongStack.html#select(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">select</a></code> in interface <code><a href="../../../../api/stack/primitive/LongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">LongStack</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/stack/primitive/MutableLongStack.html#select(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">select</a></code> in interface <code><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/primitive/OrderedLongIterable.html#select(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">select</a></code> in interface <code><a href="../../../../api/ordered/primitive/OrderedLongIterable.html" title="interface in org.eclipse.collections.api.ordered.primitive">OrderedLongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="reject(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">reject</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a></span> <span class="memberName">reject</span>​(<span class="arguments"><a href="../../../../api/block/predicate/primitive/LongPredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">LongPredicate</a> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#reject(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">LongIterable</a></code></span></div> |
| <div class="block">Returns a new LongIterable with all of the elements in the LongIterable that |
| return false for the specified predicate.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#reject(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">reject</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/stack/primitive/LongStack.html#reject(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">reject</a></code> in interface <code><a href="../../../../api/stack/primitive/LongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">LongStack</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/stack/primitive/MutableLongStack.html#reject(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">reject</a></code> in interface <code><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/primitive/OrderedLongIterable.html#reject(org.eclipse.collections.api.block.predicate.primitive.LongPredicate)">reject</a></code> in interface <code><a href="../../../../api/ordered/primitive/OrderedLongIterable.html" title="interface in org.eclipse.collections.api.ordered.primitive">OrderedLongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collect(org.eclipse.collections.api.block.function.primitive.LongToObjectFunction)">collect</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><V></span> <span class="returnType"><a href="../../../../api/stack/MutableStack.html" title="interface in org.eclipse.collections.api.stack">MutableStack</a><V></span> <span class="memberName">collect</span>​(<span class="arguments"><a href="../../../../api/block/function/primitive/LongToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongToObjectFunction</a><? extends V> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#collect(org.eclipse.collections.api.block.function.primitive.LongToObjectFunction)">LongIterable</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/LongIterable.html#collect(org.eclipse.collections.api.block.function.primitive.LongToObjectFunction)">collect</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/stack/primitive/LongStack.html#collect(org.eclipse.collections.api.block.function.primitive.LongToObjectFunction)">collect</a></code> in interface <code><a href="../../../../api/stack/primitive/LongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">LongStack</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/stack/primitive/MutableLongStack.html#collect(org.eclipse.collections.api.block.function.primitive.LongToObjectFunction)">collect</a></code> in interface <code><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/primitive/OrderedLongIterable.html#collect(org.eclipse.collections.api.block.function.primitive.LongToObjectFunction)">collect</a></code> in interface <code><a href="../../../../api/ordered/primitive/OrderedLongIterable.html" title="interface in org.eclipse.collections.api.ordered.primitive">OrderedLongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="sum()">sum</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">long</span> <span class="memberName">sum</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#sum()">sum</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="max()">max</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">long</span> <span class="memberName">max</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#max()">max</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="min()">min</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">long</span> <span class="memberName">min</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#min()">min</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="minIfEmpty(long)">minIfEmpty</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">long</span> <span class="memberName">minIfEmpty</span>​(<span class="arguments">long defaultValue)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#minIfEmpty(long)">minIfEmpty</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="maxIfEmpty(long)">maxIfEmpty</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">long</span> <span class="memberName">maxIfEmpty</span>​(<span class="arguments">long defaultValue)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#maxIfEmpty(long)">maxIfEmpty</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="average()">average</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">double</span> <span class="memberName">average</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#average()">average</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="median()">median</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">double</span> <span class="memberName">median</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#median()">median</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</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> <span class="returnType"><a href="../../../../api/list/primitive/MutableLongList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableLongList</a></span> <span class="memberName">toSortedList</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#toSortedList()">toSortedList</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toSortedArray()">toSortedArray</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">long[]</span> <span class="memberName">toSortedArray</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#toSortedArray()">toSortedArray</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toArray()">toArray</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">long[]</span> <span class="memberName">toArray</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#toArray()">LongIterable</a></code></span></div> |
| <div class="block">Converts the LongIterable to a primitive long array.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#toArray()">toArray</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toArray(long[])">toArray</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">long[]</span> <span class="memberName">toArray</span>​(<span class="arguments">long[] target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#toArray(long%5B%5D)">LongIterable</a></code></span></div> |
| <div class="block">Converts the LongIterable to a primitive long array. If the collection fits into the provided array it is used |
| to store its elements and is returned from the method, otherwise a new array of the appropriate size is allocated |
| and returned. If the iterable is empty, the target array is returned unchanged.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#toArray(long%5B%5D)">toArray</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toString()">toString</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span> <span class="memberName">toString</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/PrimitiveIterable.html#toString()">PrimitiveIterable</a></code></span></div> |
| <div class="block">Returns a string with the elements of this iterable separated by commas with spaces and |
| enclosed in square brackets. |
| |
| <pre> |
| Assert.assertEquals("[]", IntLists.mutable.empty().toString()); |
| Assert.assertEquals("[1]", IntLists.mutable.with(1).toString()); |
| Assert.assertEquals("[1, 2, 3]", IntLists.mutable.with(1, 2, 3).toString()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/PrimitiveIterable.html#toString()">toString</a></code> in interface <code><a href="../../../../api/PrimitiveIterable.html" title="interface in org.eclipse.collections.api">PrimitiveIterable</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a></code> in class <code><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></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a string representation of this PrimitiveIterable</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractCollection.html?is-external=true#toString()" title="class or interface in java.util" class="externalLink"><code>AbstractCollection.toString()</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="makeString()">makeString</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span> <span class="memberName">makeString</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/PrimitiveIterable.html#makeString()">PrimitiveIterable</a></code></span></div> |
| <div class="block">Returns a string representation of this collection by delegating to <a href="../../../../api/PrimitiveIterable.html#makeString(java.lang.String)"><code>PrimitiveIterable.makeString(String)</code></a> and defaulting |
| the separator parameter to the characters <code>", "</code> (comma and space).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/PrimitiveIterable.html#makeString()">makeString</a></code> in interface <code><a href="../../../../api/PrimitiveIterable.html" title="interface in org.eclipse.collections.api">PrimitiveIterable</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a string representation of this collection.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="makeString(java.lang.String)">makeString</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span> <span class="memberName">makeString</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> separator)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/PrimitiveIterable.html#makeString(java.lang.String)">PrimitiveIterable</a></code></span></div> |
| <div class="block">Returns a string representation of this collection by delegating to <a href="../../../../api/PrimitiveIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)"><code>PrimitiveIterable.makeString(String, String, String)</code></a> |
| and defaulting the start and end parameters to <code>""</code> (the empty String).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/PrimitiveIterable.html#makeString(java.lang.String)">makeString</a></code> in interface <code><a href="../../../../api/PrimitiveIterable.html" title="interface in org.eclipse.collections.api">PrimitiveIterable</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a string representation of this collection.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="makeString(java.lang.String,java.lang.String,java.lang.String)">makeString</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span> <span class="memberName">makeString</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> start, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> separator, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> end)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/PrimitiveIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)">PrimitiveIterable</a></code></span></div> |
| <div class="block">Returns a string representation of this collection with the elements separated by the specified |
| separator and enclosed between the start and end strings.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/PrimitiveIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)">makeString</a></code> in interface <code><a href="../../../../api/PrimitiveIterable.html" title="interface in org.eclipse.collections.api">PrimitiveIterable</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a string representation of this collection.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="appendString(java.lang.Appendable)">appendString</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">appendString</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Appendable</a> appendable)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/PrimitiveIterable.html#appendString(java.lang.Appendable)">PrimitiveIterable</a></code></span></div> |
| <div class="block">Prints a string representation of this collection onto the given <code>Appendable</code>. Prints the string returned |
| by <a href="../../../../api/PrimitiveIterable.html#makeString()"><code>PrimitiveIterable.makeString()</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/PrimitiveIterable.html#appendString(java.lang.Appendable)">appendString</a></code> in interface <code><a href="../../../../api/PrimitiveIterable.html" title="interface in org.eclipse.collections.api">PrimitiveIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="appendString(java.lang.Appendable,java.lang.String)">appendString</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">appendString</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Appendable</a> appendable, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> separator)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/PrimitiveIterable.html#appendString(java.lang.Appendable,java.lang.String)">PrimitiveIterable</a></code></span></div> |
| <div class="block">Prints a string representation of this collection onto the given <code>Appendable</code>. Prints the string returned |
| by <a href="../../../../api/PrimitiveIterable.html#makeString(java.lang.String)"><code>PrimitiveIterable.makeString(String)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/PrimitiveIterable.html#appendString(java.lang.Appendable,java.lang.String)">appendString</a></code> in interface <code><a href="../../../../api/PrimitiveIterable.html" title="interface in org.eclipse.collections.api">PrimitiveIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">appendString</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Appendable</a> appendable, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> start, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> separator, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> end)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/PrimitiveIterable.html#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">PrimitiveIterable</a></code></span></div> |
| <div class="block">Prints a string representation of this collection onto the given <code>Appendable</code>. Prints the string returned |
| by <a href="../../../../api/PrimitiveIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)"><code>PrimitiveIterable.makeString(String, String, String)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/PrimitiveIterable.html#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a></code> in interface <code><a href="../../../../api/PrimitiveIterable.html" title="interface in org.eclipse.collections.api">PrimitiveIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toList()">toList</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/list/primitive/MutableLongList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableLongList</a></span> <span class="memberName">toList</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#toList()">LongIterable</a></code></span></div> |
| <div class="block">Converts the LongIterable to a new MutableLongList.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#toList()">toList</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toSet()">toSet</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/set/primitive/MutableLongSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableLongSet</a></span> <span class="memberName">toSet</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#toSet()">LongIterable</a></code></span></div> |
| <div class="block">Converts the LongIterable to a new MutableLongSet.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#toSet()">toSet</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toBag()">toBag</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/bag/primitive/MutableLongBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableLongBag</a></span> <span class="memberName">toBag</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#toBag()">LongIterable</a></code></span></div> |
| <div class="block">Converts the LongIterable to a new MutableLongBag.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#toBag()">toBag</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></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> <span class="returnType">boolean</span> <span class="memberName">equals</span>​(<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> otherStack)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/stack/primitive/LongStack.html#equals(java.lang.Object)">LongStack</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/LongStack.html#equals(java.lang.Object)">equals</a></code> in interface <code><a href="../../../../api/stack/primitive/LongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">LongStack</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a></code> in class <code><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></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> <span class="returnType">int</span> <span class="memberName">hashCode</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/stack/primitive/LongStack.html#hashCode()">LongStack</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/LongStack.html#hashCode()">hashCode</a></code> in interface <code><a href="../../../../api/stack/primitive/LongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">LongStack</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a></code> in class <code><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></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="asLazy()">asLazy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/LazyLongIterable.html" title="interface in org.eclipse.collections.api">LazyLongIterable</a></span> <span class="memberName">asLazy</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#asLazy()">LongIterable</a></code></span></div> |
| <div class="block">Returns a LazyLongIterable adapter wrapping the source LongIterable.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#asLazy()">asLazy</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</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> <span class="returnType"><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a></span> <span class="memberName">asUnmodifiable</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/stack/primitive/MutableLongStack.html#asUnmodifiable()">asUnmodifiable</a></code> in interface <code><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</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> <span class="returnType"><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a></span> <span class="memberName">asSynchronized</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/stack/primitive/MutableLongStack.html#asSynchronized()">asSynchronized</a></code> in interface <code><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</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> <span class="returnType"><a href="../../../../api/stack/primitive/ImmutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">ImmutableLongStack</a></span> <span class="memberName">toImmutable</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/stack/primitive/LongStack.html#toImmutable()">toImmutable</a></code> in interface <code><a href="../../../../api/stack/primitive/LongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">LongStack</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> <span class="returnType"><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a></span> <span class="memberName">newEmpty</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/stack/primitive/MutableLongStack.html#newEmpty()">MutableLongStack</a></code></span></div> |
| <div class="block">Creates a new empty mutable version of the same stack type.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/stack/primitive/MutableLongStack.html#newEmpty()">newEmpty</a></code> in interface <code><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</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="injectInto(java.lang.Object,org.eclipse.collections.api.block.function.primitive.ObjectLongToObjectFunction)"> |
| <!-- --> |
| </a><a id="injectInto(T,org.eclipse.collections.api.block.function.primitive.ObjectLongToObjectFunction)">injectInto</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><T></span> <span class="returnType">T</span> <span class="memberName">injectInto</span>​(<span class="arguments">T injectedValue, |
| <a href="../../../../api/block/function/primitive/ObjectLongToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ObjectLongToObjectFunction</a><? super T,​? extends T> function)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#injectInto(T,org.eclipse.collections.api.block.function.primitive.ObjectLongToObjectFunction)">injectInto</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="chunk(int)">chunk</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a>></span> <span class="memberName">chunk</span>​(<span class="arguments">int size)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/LongIterable.html#chunk(int)">LongIterable</a></code></span></div> |
| <div class="block">Partitions elements in fixed size chunks.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/LongIterable.html#chunk(int)">chunk</a></code> in interface <code><a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>size</code> - the number of elements per chunk</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A <code>RichIterable</code> containing <code>LongIterable</code>s of size <code>size</code>, except the last will be |
| truncated if the elements don't divide evenly.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getFirst()">getFirst</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">long</span> <span class="memberName">getFirst</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/primitive/OrderedLongIterable.html#getFirst()">getFirst</a></code> in interface <code><a href="../../../../api/ordered/primitive/OrderedLongIterable.html" title="interface in org.eclipse.collections.api.ordered.primitive">OrderedLongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="indexOf(long)">indexOf</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">int</span> <span class="memberName">indexOf</span>​(<span class="arguments">long value)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/primitive/OrderedLongIterable.html#indexOf(long)">indexOf</a></code> in interface <code><a href="../../../../api/ordered/primitive/OrderedLongIterable.html" title="interface in org.eclipse.collections.api.ordered.primitive">OrderedLongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="injectIntoWithIndex(java.lang.Object,org.eclipse.collections.api.block.function.primitive.ObjectLongIntToObjectFunction)"> |
| <!-- --> |
| </a><a id="injectIntoWithIndex(T,org.eclipse.collections.api.block.function.primitive.ObjectLongIntToObjectFunction)">injectIntoWithIndex</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><T></span> <span class="returnType">T</span> <span class="memberName">injectIntoWithIndex</span>​(<span class="arguments">T injectedValue, |
| <a href="../../../../api/block/function/primitive/ObjectLongIntToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ObjectLongIntToObjectFunction</a><? super T,​? extends T> function)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/primitive/OrderedLongIterable.html#injectIntoWithIndex(T,org.eclipse.collections.api.block.function.primitive.ObjectLongIntToObjectFunction)">injectIntoWithIndex</a></code> in interface <code><a href="../../../../api/ordered/primitive/OrderedLongIterable.html" title="interface in org.eclipse.collections.api.ordered.primitive">OrderedLongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.LongIntProcedure)">forEachWithIndex</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">forEachWithIndex</span>​(<span class="arguments"><a href="../../../../api/block/procedure/primitive/LongIntProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">LongIntProcedure</a> procedure)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/primitive/OrderedLongIterable.html#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.LongIntProcedure)">forEachWithIndex</a></code> in interface <code><a href="../../../../api/ordered/primitive/OrderedLongIterable.html" title="interface in org.eclipse.collections.api.ordered.primitive">OrderedLongIterable</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectWithIndex(org.eclipse.collections.api.block.function.primitive.LongIntToObjectFunction)">collectWithIndex</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><V></span> <span class="returnType"><a href="../../../../api/stack/MutableStack.html" title="interface in org.eclipse.collections.api.stack">MutableStack</a><V></span> <span class="memberName">collectWithIndex</span>​(<span class="arguments"><a href="../../../../api/block/function/primitive/LongIntToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongIntToObjectFunction</a><? extends V> function)</span></div> |
| <div class="block">Returns a new MutableStack using results obtained by applying the specified function to each element |
| and its corresponding index.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/stack/primitive/LongStack.html#collectWithIndex(org.eclipse.collections.api.block.function.primitive.LongIntToObjectFunction)">collectWithIndex</a></code> in interface <code><a href="../../../../api/stack/primitive/LongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">LongStack</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/stack/primitive/MutableLongStack.html#collectWithIndex(org.eclipse.collections.api.block.function.primitive.LongIntToObjectFunction)">collectWithIndex</a></code> in interface <code><a href="../../../../api/stack/primitive/MutableLongStack.html" title="interface in org.eclipse.collections.api.stack.primitive">MutableLongStack</a></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/primitive/OrderedLongIterable.html#collectWithIndex(org.eclipse.collections.api.block.function.primitive.LongIntToObjectFunction)">collectWithIndex</a></code> in interface <code><a href="../../../../api/ordered/primitive/OrderedLongIterable.html" title="interface in org.eclipse.collections.api.ordered.primitive">OrderedLongIterable</a></code></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>9.1.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectWithIndex(org.eclipse.collections.api.block.function.primitive.LongIntToObjectFunction,java.util.Collection)"> |
| <!-- --> |
| </a><a id="collectWithIndex(org.eclipse.collections.api.block.function.primitive.LongIntToObjectFunction,R)">collectWithIndex</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><V,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><V>></span> <span class="returnType">R</span> <span class="memberName">collectWithIndex</span>​(<span class="arguments"><a href="../../../../api/block/function/primitive/LongIntToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongIntToObjectFunction</a><? extends V> function, |
| R target)</span></div> |
| <div class="block">Adds elements to the target Collection using results obtained by applying the specified function to each element |
| and its corresponding index.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/primitive/OrderedLongIterable.html#collectWithIndex(org.eclipse.collections.api.block.function.primitive.LongIntToObjectFunction,R)">collectWithIndex</a></code> in interface <code><a href="../../../../api/ordered/primitive/OrderedLongIterable.html" title="interface in org.eclipse.collections.api.ordered.primitive">OrderedLongIterable</a></code></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>9.1.</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/UnmodifiableLongStack.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: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </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 © 2004–2020. All rights reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |