| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (14.0.2) on Sat Aug 08 22:45:01 CDT 2020 --> |
| <title>AbstractArrayAdapter (Eclipse Collections - 10.3.0)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2020-08-08"> |
| <meta name="description" content="declaration: package: org.eclipse.collections.impl.list.fixed, class: AbstractArrayAdapter"> |
| <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,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":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/AbstractArrayAdapter.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>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </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.list.fixed</a></div> |
| <h1 title="Class AbstractArrayAdapter" class="title">Class AbstractArrayAdapter<T></h1> |
| </div> |
| <div class="contentContainer"> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a> |
| <div class="inheritance"><a href="../../AbstractRichIterable.html" title="class in org.eclipse.collections.impl">org.eclipse.collections.impl.AbstractRichIterable</a><T> |
| <div class="inheritance"><a href="../../collection/mutable/AbstractMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">org.eclipse.collections.impl.collection.mutable.AbstractMutableCollection</a><T> |
| <div class="inheritance"><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">org.eclipse.collections.impl.list.mutable.AbstractMutableList</a><T> |
| <div class="inheritance">org.eclipse.collections.impl.list.fixed.AbstractArrayAdapter<T></div> |
| </div> |
| </div> |
| </div> |
| </div> |
| <section class="description"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Cloneable</a></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><T></code>, <code><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><T></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><T></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/RandomAccess.html?is-external=true" title="class or interface in java.util" class="externalLink">RandomAccess</a></code>, <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><T></code>, <code><a href="../../../api/InternalIterable.html" title="interface in org.eclipse.collections.api">InternalIterable</a><T></code>, <code><a href="../../../api/list/ListIterable.html" title="interface in org.eclipse.collections.api.list">ListIterable</a><T></code>, <code><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><T></code>, <code><a href="../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><T></code>, <code><a href="../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><T></code>, <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><T></code></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><code><a href="ArrayAdapter.html" title="class in org.eclipse.collections.impl.list.fixed">ArrayAdapter</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public abstract class <span class="typeNameLabel">AbstractArrayAdapter<T></span> |
| extends <a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><T> |
| implements <a href="https://docs.oracle.com/javase/8/docs/api/java/util/RandomAccess.html?is-external=true" title="class or interface in java.util" class="externalLink">RandomAccess</a></pre> |
| </section> |
| <section class="summary"> |
| <ul class="blockList"> |
| <!-- ========== 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="#abstractArrayAdapterEquals(org.eclipse.collections.impl.list.fixed.AbstractArrayAdapter)">abstractArrayAdapterEquals</a></span>​(<a href="AbstractArrayAdapter.html" title="class in org.eclipse.collections.impl.list.fixed">AbstractArrayAdapter</a><?> list)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i1"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#add(int,T)">add</a></span>​(int index, |
| <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a> element)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i2"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addAll(int,java.util.Collection)">addAll</a></span>​(int index, |
| <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><? extends <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> collection)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i3"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addAll(java.util.Collection)">addAll</a></span>​(<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><? extends <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> collection)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i4"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addAllIterable(java.lang.Iterable)">addAllIterable</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><? extends <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> iterable)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i5"> |
| <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.Predicate)">allSatisfy</a></span>​(<a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the predicate evaluates to true for every element of the iterable or if the iterable is empty.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i6"> |
| <td class="colFirst"><code><P> boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">allSatisfyWith</a></span>​(<a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the predicate evaluates to true for every element of the collection, or returns false.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i7"> |
| <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.Predicate)">anySatisfy</a></span>​(<a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the predicate evaluates to true for any element of the iterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i8"> |
| <td class="colFirst"><code><P> boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">anySatisfyWith</a></span>​(<a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the predicate evaluates to true for any element of the collection, or return false.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i9"> |
| <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="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"> </td> |
| </tr> |
| <tr class="rowColor" id="i11"> |
| <td class="colFirst"><code><V> <a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collect(org.eclipse.collections.api.block.function.Function)">collect</a></span>​(<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? extends V> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new MutableCollection with the results of applying the specified function to each element of the source |
| collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i12"> |
| <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="#collect(org.eclipse.collections.api.block.function.Function,R)">collect</a></span>​(<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? extends V> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection.</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="#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function,R)">collectIf</a></span>​(<a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate, |
| <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? extends V> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as the collectIf method with two parameters but uses the specified target collection for the results.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i14"> |
| <td class="colFirst"><code><P,​ |
| A> <a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><A></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></span>​(<a href="../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P,​? extends A> function, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a> with a <code>Function2</code> and specified parameter which is passed to the block.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i15"> |
| <td class="colFirst"><code><P,​ |
| A,​ |
| 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><A>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectWith(org.eclipse.collections.api.block.function.Function2,P,R)">collectWith</a></span>​(<a href="../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P,​? extends A> function, |
| P parameter, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as collectWith but with a targetCollection parameter to gather the results.</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="#contains(java.lang.Object)">contains</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> o)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the iterable has an element which responds true to element.equals(object).</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i17"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#containsAll(java.util.Collection)">containsAll</a></span>​(<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><?> collection)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if all elements in source are contained in this collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i18"> |
| <td class="colFirst"><code><S> boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#corresponds(org.eclipse.collections.api.ordered.OrderedIterable,org.eclipse.collections.api.block.predicate.Predicate2)">corresponds</a></span>​(<a href="../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><S> other, |
| <a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super S> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if both OrderedIterables have the same length |
| and <code>predicate</code> returns true for all corresponding elements e1 of |
| this <code>OrderedIterable</code> and e2 of <code>other</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i19"> |
| <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.Predicate)">count</a></span>​(<a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Return the total number of elements that answer true to the specified predicate.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i20"> |
| <td class="colFirst"><code><P> int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#countWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">countWith</a></span>​(<a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the total number of elements that evaluate to true for the specified predicate.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i21"> |
| <td class="colFirst"><code><a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detect(org.eclipse.collections.api.block.predicate.Predicate)">detect</a></span>​(<a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the first element of the iterable for which the predicate evaluates to true or null in the case where no |
| element returns true.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i22"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detectIndex(org.eclipse.collections.api.block.predicate.Predicate)">detectIndex</a></span>​(<a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the index of the first element of the <code>OrderedIterable</code> for which the <code>predicate</code> evaluates to true.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i23"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detectLastIndex(org.eclipse.collections.api.block.predicate.Predicate)">detectLastIndex</a></span>​(<a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the index of the last element of the <code>ReversibleIterable</code> for which the <code>predicate</code> evaluates to true.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i24"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detectOptional(org.eclipse.collections.api.block.predicate.Predicate)">detectOptional</a></span>​(<a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the first element of the iterable for which the predicate evaluates to true as an Optional.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i25"> |
| <td class="colFirst"><code><P> <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWith</a></span>​(<a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the first element that evaluates to true for the specified predicate2 and parameter, or null if none |
| evaluate to true.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i26"> |
| <td class="colFirst"><code><P> <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detectWithOptional(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWithOptional</a></span>​(<a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the first element that evaluates to true for the specified predicate2 and parameter as an Optional.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i27"> |
| <td class="colFirst"><code><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#distinct()">distinct</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new <code>ListIterable</code> containing the distinct elements in this list.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i28"> |
| <td class="colFirst"><code><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#distinct(org.eclipse.collections.api.block.HashingStrategy)">distinct</a></span>​(<a href="../../../api/block/HashingStrategy.html" title="interface in org.eclipse.collections.api.block">HashingStrategy</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> hashingStrategy)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new <code>ListIterable</code> containing the distinct elements in this list.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i29"> |
| <td class="colFirst"><code><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#drop(int)">drop</a></span>​(int count)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an iterable after skipping the first <code>count</code> elements |
| or an empty iterable if the <code>count</code> is greater than the length of the iterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i30"> |
| <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.Procedure)">each</a></span>​(<a href="../../../api/block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> procedure)</code></th> |
| <td class="colLast"> |
| <div class="block">The procedure is executed for each element in the iterable.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i31"> |
| <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> that)</code></th> |
| <td class="colLast"> |
| <div class="block">Follows the same general contract as <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util" class="externalLink"><code>List.equals(Object)</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i32"> |
| <td class="colFirst"><code><V> <a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></span>​(<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><V>> function)</code></th> |
| <td class="colLast"> |
| <div class="block"><code>flatCollect</code> is a special case of <a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i33"> |
| <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="#flatCollect(org.eclipse.collections.api.block.function.Function,R)">flatCollect</a></span>​(<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><V>> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i34"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#forEach(int,int,org.eclipse.collections.api.block.procedure.Procedure)">forEach</a></span>​(int fromIndex, |
| int toIndex, |
| <a href="../../../api/block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> procedure)</code></th> |
| <td class="colLast"> |
| <div class="block">Iterates over the section of the iterable covered by the specified inclusive indexes.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i35"> |
| <td class="colFirst"><code><P> void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,P)">forEachWith</a></span>​(<a href="../../../api/block/procedure/Procedure2.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> procedure, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">The procedure2 is evaluated for each element in the iterable with the specified parameter provided |
| as the second argument.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i36"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#forEachWithIndex(int,int,org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></span>​(int fromIndex, |
| int toIndex, |
| <a href="../../../api/block/procedure/primitive/ObjectIntProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">ObjectIntProcedure</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> objectIntProcedure)</code></th> |
| <td class="colLast"> |
| <div class="block">Iterates over the section of the iterable covered by the specified inclusive indexes.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i37"> |
| <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.ObjectIntProcedure)">forEachWithIndex</a></span>​(<a href="../../../api/block/procedure/primitive/ObjectIntProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">ObjectIntProcedure</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> objectIntProcedure)</code></th> |
| <td class="colLast"> |
| <div class="block">Iterates over the iterable passing each element and the current relative int index to the specified instance of |
| ObjectIntProcedure.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i38"> |
| <td class="colFirst"><code><a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#get(int)">get</a></span>​(int index)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the item at the specified position in this list iterable.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i39"> |
| <td class="colFirst"><code><a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFirst()">getFirst</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the first element of an iterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i40"> |
| <td class="colFirst"><code><a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLast()">getLast</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the last element of an iterable.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i41"> |
| <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="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#hashCode()" title="class or interface in java.util" class="externalLink"><code>List.hashCode()</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i42"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#indexOf(java.lang.Object)">indexOf</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> item)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the index of the first occurrence of the specified item |
| in this iterable, or -1 if this iterable does not contain the item.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i43"> |
| <td class="colFirst"><code><IV> IV</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#injectInto(IV,org.eclipse.collections.api.block.function.Function2)">injectInto</a></span>​(IV injectedValue, |
| <a href="../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super IV,​? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? extends IV> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the final result of evaluating function using each element of the iterable and the previous evaluation |
| result as the parameters.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i44"> |
| <td class="colFirst"><code><IV,​ |
| P> IV</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#injectIntoWith(IV,org.eclipse.collections.api.block.function.Function3,P)">injectIntoWith</a></span>​(IV injectValue, |
| <a href="../../../api/block/function/Function3.html" title="interface in org.eclipse.collections.api.block.function">Function3</a><? super IV,​? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P,​? extends IV> function, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the final result of evaluating function using each element of the iterable, the previous evaluation |
| result and the parameters.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i45"> |
| <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="altColor" id="i46"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink">Iterator</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#iterator()">iterator</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i47"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#lastIndexOf(java.lang.Object)">lastIndexOf</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> item)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the index of the last occurrence of the specified item |
| in this list, or -1 if this list does not contain the item.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i48"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util" class="externalLink">ListIterator</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#listIterator(int)">listIterator</a></span>​(int index)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i49"> |
| <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.Predicate)">noneSatisfy</a></span>​(<a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the predicate evaluates to false for every element of the iterable or if the iterable is empty.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i50"> |
| <td class="colFirst"><code><P> boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">noneSatisfyWith</a></span>​(<a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the predicate evaluates to false for every element of the collection, or return false.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i51"> |
| <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="altColor" id="i52"> |
| <td class="colFirst"><code><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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reject(org.eclipse.collections.api.block.predicate.Predicate,R)">reject</a></span>​(<a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as the reject method with one parameter but uses the specified target collection for the results.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i53"> |
| <td class="colFirst"><code><P,​ |
| 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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">rejectWith</a></span>​(<a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Similar to <a href="../../../api/RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate,R)"><code>RichIterable.reject(Predicate, Collection)</code></a>, except with an evaluation parameter for the second generic argument in <a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i54"> |
| <td class="colFirst"><code><a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remove(int)">remove</a></span>​(int index)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i55"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remove(java.lang.Object)">remove</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> o)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i56"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeAll(java.util.Collection)">removeAll</a></span>​(<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><?> collection)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i57"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeAllIterable(java.lang.Iterable)">removeAllIterable</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><?> iterable)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i58"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeIf(org.eclipse.collections.api.block.predicate.Predicate)">removeIf</a></span>​(<a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Removes all elements in the collection that evaluate to true for the specified predicate.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i59"> |
| <td class="colFirst"><code><P> boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeIfWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">removeIfWith</a></span>​(<a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Removes all elements in the collection that evaluate to true for the specified predicate2 and parameter.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i60"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#replaceAll(java.util.function.UnaryOperator)">replaceAll</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/UnaryOperator.html?is-external=true" title="class or interface in java.util.function" class="externalLink">UnaryOperator</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> operator)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i61"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#retainAll(java.util.Collection)">retainAll</a></span>​(<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><?> collection)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i62"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#retainAllIterable(java.lang.Iterable)">retainAllIterable</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><?> iterable)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i63"> |
| <td class="colFirst"><code><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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#select(org.eclipse.collections.api.block.predicate.Predicate,R)">select</a></span>​(<a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as the select method with one parameter but uses the specified target collection for the results.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i64"> |
| <td class="colFirst"><code><P> <a href="../../../api/tuple/Twin.html" title="interface in org.eclipse.collections.api.tuple">Twin</a><<a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#selectAndRejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectAndRejectWith</a></span>​(<a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Filters a collection into two separate collections based on a predicate returned via a Pair.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i65"> |
| <td class="colFirst"><code><P,​ |
| 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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">selectWith</a></span>​(<a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Similar to <a href="../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate,R)"><code>RichIterable.select(Predicate, Collection)</code></a>, except with an evaluation parameter for the second generic argument in <a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i66"> |
| <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="rowColor" id="i67"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sort(java.util.Comparator)">sort</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> comparator)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i68"> |
| <td class="colFirst"><code><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#subList(int,int)">subList</a></span>​(int fromIndex, |
| int toIndex)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i69"> |
| <td class="colFirst"><code><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#take(int)">take</a></span>​(int count)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the first <code>count</code> elements of the iterable |
| or all the elements in the iterable if <code>count</code> is greater than the length of |
| the iterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i70"> |
| <td class="colFirst"><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></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 this iterable to an array.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i71"> |
| <td class="colFirst"><code><E> E[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toArray(E%5B%5D)">toArray</a></span>​(E[] array)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts this iterable to an array using the specified target array, assuming the target array is as long |
| or longer than the iterable.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from class org.eclipse.collections.impl.list.mutable.<a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.impl.list.mutable.AbstractMutableList"> |
| <!-- --> |
| </a><code><a href="../mutable/AbstractMutableList.html#appendString(java.lang.Appendable,java.lang.String)">appendString</a>, <a href="../mutable/AbstractMutableList.html#asParallel(java.util.concurrent.ExecutorService,int)">asParallel</a>, <a href="../mutable/AbstractMutableList.html#asReversed()">asReversed</a>, <a href="../mutable/AbstractMutableList.html#asSynchronized()">asSynchronized</a>, <a href="../mutable/AbstractMutableList.html#asUnmodifiable()">asUnmodifiable</a>, <a href="../mutable/AbstractMutableList.html#binarySearch(T,java.util.Comparator)">binarySearch</a>, <a href="../mutable/AbstractMutableList.html#chunk(int)">chunk</a>, <a href="../mutable/AbstractMutableList.html#clone()">clone</a>, <a href="../mutable/AbstractMutableList.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a>, <a href="../mutable/AbstractMutableList.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a>, <a href="../mutable/AbstractMutableList.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a>, <a href="../mutable/AbstractMutableList.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a>, <a href="../mutable/AbstractMutableList.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a>, <a href="../mutable/AbstractMutableList.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a>, <a href="../mutable/AbstractMutableList.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a>, <a href="../mutable/AbstractMutableList.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a>, <a href="../mutable/AbstractMutableList.html#distinctBy(org.eclipse.collections.api.block.function.Function)">distinctBy</a>, <a href="../mutable/AbstractMutableList.html#dropWhile(org.eclipse.collections.api.block.predicate.Predicate)">dropWhile</a>, <a href="../mutable/AbstractMutableList.html#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a>, <a href="../mutable/AbstractMutableList.html#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a>, <a href="../mutable/AbstractMutableList.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function)">groupByUniqueKey</a>, <a href="../mutable/AbstractMutableList.html#injectInto(float,org.eclipse.collections.api.block.function.primitive.FloatObjectToFloatFunction)">injectInto</a>, <a href="../mutable/AbstractMutableList.html#injectInto(int,org.eclipse.collections.api.block.function.primitive.IntObjectToIntFunction)">injectInto</a>, <a href="../mutable/AbstractMutableList.html#injectInto(long,org.eclipse.collections.api.block.function.primitive.LongObjectToLongFunction)">injectInto</a>, <a href="../mutable/AbstractMutableList.html#listIterator()">listIterator</a>, <a href="../mutable/AbstractMutableList.html#max()">max</a>, <a href="../mutable/AbstractMutableList.html#max(java.util.Comparator)">max</a>, <a href="../mutable/AbstractMutableList.html#maxBy(org.eclipse.collections.api.block.function.Function)">maxBy</a>, <a href="../mutable/AbstractMutableList.html#min()">min</a>, <a href="../mutable/AbstractMutableList.html#min(java.util.Comparator)">min</a>, <a href="../mutable/AbstractMutableList.html#minBy(org.eclipse.collections.api.block.function.Function)">minBy</a>, <a href="../mutable/AbstractMutableList.html#newEmpty()">newEmpty</a>, <a href="../mutable/AbstractMutableList.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a>, <a href="../mutable/AbstractMutableList.html#partitionWhile(org.eclipse.collections.api.block.predicate.Predicate)">partitionWhile</a>, <a href="../mutable/AbstractMutableList.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a>, <a href="../mutable/AbstractMutableList.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a>, <a href="../mutable/AbstractMutableList.html#sortThisBy(org.eclipse.collections.api.block.function.Function)">sortThisBy</a>, <a href="../mutable/AbstractMutableList.html#sortThisByBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">sortThisByBoolean</a>, <a href="../mutable/AbstractMutableList.html#sortThisByByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">sortThisByByte</a>, <a href="../mutable/AbstractMutableList.html#sortThisByChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">sortThisByChar</a>, <a href="../mutable/AbstractMutableList.html#sortThisByDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sortThisByDouble</a>, <a href="../mutable/AbstractMutableList.html#sortThisByFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">sortThisByFloat</a>, <a href="../mutable/AbstractMutableList.html#sortThisByInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">sortThisByInt</a>, <a href="../mutable/AbstractMutableList.html#sortThisByLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">sortThisByLong</a>, <a href="../mutable/AbstractMutableList.html#sortThisByShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">sortThisByShort</a>, <a href="../mutable/AbstractMutableList.html#sumOfDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumOfDouble</a>, <a href="../mutable/AbstractMutableList.html#sumOfFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumOfFloat</a>, <a href="../mutable/AbstractMutableList.html#sumOfInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">sumOfInt</a>, <a href="../mutable/AbstractMutableList.html#sumOfLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">sumOfLong</a>, <a href="../mutable/AbstractMutableList.html#takeWhile(org.eclipse.collections.api.block.predicate.Predicate)">takeWhile</a>, <a href="../mutable/AbstractMutableList.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a>, <a href="../mutable/AbstractMutableList.html#toSet()">toSet</a>, <a href="../mutable/AbstractMutableList.html#toSortedList()">toSortedList</a>, <a href="../mutable/AbstractMutableList.html#toStack()">toStack</a>, <a href="../mutable/AbstractMutableList.html#zip(java.lang.Iterable)">zip</a>, <a href="../mutable/AbstractMutableList.html#zip(java.lang.Iterable,R)">zip</a>, <a href="../mutable/AbstractMutableList.html#zipWithIndex()">zipWithIndex</a>, <a href="../mutable/AbstractMutableList.html#zipWithIndex(R)">zipWithIndex</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from class org.eclipse.collections.impl.collection.mutable.<a href="../../collection/mutable/AbstractMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractMutableCollection</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.impl.collection.mutable.AbstractMutableCollection"> |
| <!-- --> |
| </a><code><a href="../../collection/mutable/AbstractMutableCollection.html#add(T)">add</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.procedure.Procedure2)">aggregateInPlaceBy</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#countBy(org.eclipse.collections.api.block.function.Function)">countBy</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#countByEach(org.eclipse.collections.api.block.function.Function)">countByEach</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#countByWith(org.eclipse.collections.api.block.function.Function2,P)">countByWith</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#reduce(java.util.function.BinaryOperator)">reduce</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#sumByDouble(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumByDouble</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#sumByFloat(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumByFloat</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#sumByInt(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.IntFunction)">sumByInt</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#sumByLong(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.LongFunction)">sumByLong</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from class org.eclipse.collections.impl.<a href="../../AbstractRichIterable.html" title="class in org.eclipse.collections.impl">AbstractRichIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.impl.AbstractRichIterable"> |
| <!-- --> |
| </a><code><a href="../../AbstractRichIterable.html#asLazy()">asLazy</a>, <a href="../../AbstractRichIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction,R)">collectBoolean</a>, <a href="../../AbstractRichIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction,R)">collectByte</a>, <a href="../../AbstractRichIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction,R)">collectChar</a>, <a href="../../AbstractRichIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction,R)">collectDouble</a>, <a href="../../AbstractRichIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction,R)">collectFloat</a>, <a href="../../AbstractRichIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction,R)">collectInt</a>, <a href="../../AbstractRichIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction,R)">collectLong</a>, <a href="../../AbstractRichIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction,R)">collectShort</a>, <a href="../../AbstractRichIterable.html#containsAllArguments(java.lang.Object...)">containsAllArguments</a>, <a href="../../AbstractRichIterable.html#containsAllIterable(java.lang.Iterable)">containsAllIterable</a>, <a href="../../AbstractRichIterable.html#detectWithIfNone(org.eclipse.collections.api.block.predicate.Predicate2,P,org.eclipse.collections.api.block.function.Function0)">detectWithIfNone</a>, <a href="../../AbstractRichIterable.html#forEach(org.eclipse.collections.api.block.procedure.Procedure)">forEach</a>, <a href="../../AbstractRichIterable.html#groupBy(org.eclipse.collections.api.block.function.Function,R)">groupBy</a>, <a href="../../AbstractRichIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function,R)">groupByEach</a>, <a href="../../AbstractRichIterable.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function,R)">groupByUniqueKey</a>, <a href="../../AbstractRichIterable.html#injectInto(double,org.eclipse.collections.api.block.function.primitive.DoubleObjectToDoubleFunction)">injectInto</a>, <a href="../../AbstractRichIterable.html#into(R)">into</a>, <a href="../../AbstractRichIterable.html#toBag()">toBag</a>, <a href="../../AbstractRichIterable.html#toBiMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toBiMap</a>, <a href="../../AbstractRichIterable.html#toList()">toList</a>, <a href="../../AbstractRichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toMap</a>, <a href="../../AbstractRichIterable.html#toSortedBag()">toSortedBag</a>, <a href="../../AbstractRichIterable.html#toSortedBag(java.util.Comparator)">toSortedBag</a>, <a href="../../AbstractRichIterable.html#toSortedBagBy(org.eclipse.collections.api.block.function.Function)">toSortedBagBy</a>, <a href="../../AbstractRichIterable.html#toSortedListBy(org.eclipse.collections.api.block.function.Function)">toSortedListBy</a>, <a href="../../AbstractRichIterable.html#toSortedMap(java.util.Comparator,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../../AbstractRichIterable.html#toSortedMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../../AbstractRichIterable.html#toSortedMapBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMapBy</a>, <a href="../../AbstractRichIterable.html#toSortedSet()">toSortedSet</a>, <a href="../../AbstractRichIterable.html#toSortedSet(java.util.Comparator)">toSortedSet</a>, <a href="../../AbstractRichIterable.html#toSortedSetBy(org.eclipse.collections.api.block.function.Function)">toSortedSetBy</a>, <a href="../../AbstractRichIterable.html#toString()">toString</a></code></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 java.util.<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></h3> |
| <a id="methods.inherited.from.class.java.util.Collection"> |
| <!-- --> |
| </a><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#parallelStream()" title="class or interface in java.util" class="externalLink">parallelStream</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#removeIf(java.util.function.Predicate)" title="class or interface in java.util" class="externalLink">removeIf</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#stream()" title="class or interface in java.util" class="externalLink">stream</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#toArray(java.util.function.IntFunction)" title="class or interface in java.util" class="externalLink">toArray</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.<a href="../../../api/InternalIterable.html" title="interface in org.eclipse.collections.api">InternalIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.InternalIterable"> |
| <!-- --> |
| </a><code><a href="../../../api/InternalIterable.html#forEach(java.util.function.Consumer)">forEach</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a></h3> |
| <a id="methods.inherited.from.class.java.util.List"> |
| <!-- --> |
| </a><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#add(E)" title="class or interface in java.util" class="externalLink">add</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#set(int,E)" title="class or interface in java.util" class="externalLink">set</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#spliterator()" title="class or interface in java.util" class="externalLink">spliterator</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.list.<a href="../../../api/list/ListIterable.html" title="interface in org.eclipse.collections.api.list">ListIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.list.ListIterable"> |
| <!-- --> |
| </a><code><a href="../../../api/list/ListIterable.html#binarySearch(T)">binarySearch</a>, <a href="../../../api/list/ListIterable.html#forEachInBoth(org.eclipse.collections.api.list.ListIterable,org.eclipse.collections.api.block.procedure.Procedure2)">forEachInBoth</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.collection.<a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.collection.MutableCollection"> |
| <!-- --> |
| </a><code><a href="../../../api/collection/MutableCollection.html#aggregateBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2)">aggregateBy</a>, <a href="../../../api/collection/MutableCollection.html#aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.procedure.Procedure2)">aggregateInPlaceBy</a>, <a href="../../../api/collection/MutableCollection.html#countBy(org.eclipse.collections.api.block.function.Function)">countBy</a>, <a href="../../../api/collection/MutableCollection.html#countByEach(org.eclipse.collections.api.block.function.Function)">countByEach</a>, <a href="../../../api/collection/MutableCollection.html#countByWith(org.eclipse.collections.api.block.function.Function2,P)">countByWith</a>, <a href="../../../api/collection/MutableCollection.html#sumByDouble(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumByDouble</a>, <a href="../../../api/collection/MutableCollection.html#sumByFloat(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumByFloat</a>, <a href="../../../api/collection/MutableCollection.html#sumByInt(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.IntFunction)">sumByInt</a>, <a href="../../../api/collection/MutableCollection.html#sumByLong(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.LongFunction)">sumByLong</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.list.<a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.list.MutableList"> |
| <!-- --> |
| </a><code><a href="../../../api/list/MutableList.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)">collectIf</a>, <a href="../../../api/list/MutableList.html#collectWithIndex(org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction)">collectWithIndex</a>, <a href="../../../api/list/MutableList.html#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P)">flatCollectWith</a>, <a href="../../../api/list/MutableList.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a>, <a href="../../../api/list/MutableList.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a>, <a href="../../../api/list/MutableList.html#reverseThis()">reverseThis</a>, <a href="../../../api/list/MutableList.html#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a>, <a href="../../../api/list/MutableList.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a>, <a href="../../../api/list/MutableList.html#shuffleThis()">shuffleThis</a>, <a href="../../../api/list/MutableList.html#shuffleThis(java.util.Random)">shuffleThis</a>, <a href="../../../api/list/MutableList.html#sortThis()">sortThis</a>, <a href="../../../api/list/MutableList.html#sortThis(java.util.Comparator)">sortThis</a>, <a href="../../../api/list/MutableList.html#toImmutable()">toImmutable</a>, <a href="../../../api/list/MutableList.html#toReversed()">toReversed</a>, <a href="../../../api/list/MutableList.html#with(T)">with</a>, <a href="../../../api/list/MutableList.html#withAll(java.lang.Iterable)">withAll</a>, <a href="../../../api/list/MutableList.html#without(T)">without</a>, <a href="../../../api/list/MutableList.html#withoutAll(java.lang.Iterable)">withoutAll</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.ordered.<a href="../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.ordered.OrderedIterable"> |
| <!-- --> |
| </a><code><a href="../../../api/ordered/OrderedIterable.html#collectWithIndex(org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction,R)">collectWithIndex</a>, <a href="../../../api/ordered/OrderedIterable.html#getFirstOptional()">getFirstOptional</a>, <a href="../../../api/ordered/OrderedIterable.html#getLastOptional()">getLastOptional</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.ordered.<a href="../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.ordered.ReversibleIterable"> |
| <!-- --> |
| </a><code><a href="../../../api/ordered/ReversibleIterable.html#reverseForEach(org.eclipse.collections.api.block.procedure.Procedure)">reverseForEach</a>, <a href="../../../api/ordered/ReversibleIterable.html#reverseForEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">reverseForEachWithIndex</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.<a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.RichIterable"> |
| <!-- --> |
| </a><code><a href="../../../api/RichIterable.html#aggregateBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2,R)">aggregateBy</a>, <a href="../../../api/RichIterable.html#appendString(java.lang.Appendable)">appendString</a>, <a href="../../../api/RichIterable.html#asLazy()">asLazy</a>, <a href="../../../api/RichIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction,R)">collectBoolean</a>, <a href="../../../api/RichIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction,R)">collectByte</a>, <a href="../../../api/RichIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction,R)">collectChar</a>, <a href="../../../api/RichIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction,R)">collectDouble</a>, <a href="../../../api/RichIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction,R)">collectFloat</a>, <a href="../../../api/RichIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction,R)">collectInt</a>, <a href="../../../api/RichIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction,R)">collectLong</a>, <a href="../../../api/RichIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction,R)">collectShort</a>, <a href="../../../api/RichIterable.html#containsAllArguments(java.lang.Object...)">containsAllArguments</a>, <a href="../../../api/RichIterable.html#containsAllIterable(java.lang.Iterable)">containsAllIterable</a>, <a href="../../../api/RichIterable.html#containsBy(org.eclipse.collections.api.block.function.Function,V)">containsBy</a>, <a href="../../../api/RichIterable.html#countBy(org.eclipse.collections.api.block.function.Function,R)">countBy</a>, <a href="../../../api/RichIterable.html#countByEach(org.eclipse.collections.api.block.function.Function,R)">countByEach</a>, <a href="../../../api/RichIterable.html#countByWith(org.eclipse.collections.api.block.function.Function2,P,R)">countByWith</a>, <a href="../../../api/RichIterable.html#detectIfNone(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function0)">detectIfNone</a>, <a href="../../../api/RichIterable.html#detectWithIfNone(org.eclipse.collections.api.block.predicate.Predicate2,P,org.eclipse.collections.api.block.function.Function0)">detectWithIfNone</a>, <a href="../../../api/RichIterable.html#flatCollectBoolean(org.eclipse.collections.api.block.function.Function,R)">flatCollectBoolean</a>, <a href="../../../api/RichIterable.html#flatCollectByte(org.eclipse.collections.api.block.function.Function,R)">flatCollectByte</a>, <a href="../../../api/RichIterable.html#flatCollectChar(org.eclipse.collections.api.block.function.Function,R)">flatCollectChar</a>, <a href="../../../api/RichIterable.html#flatCollectDouble(org.eclipse.collections.api.block.function.Function,R)">flatCollectDouble</a>, <a href="../../../api/RichIterable.html#flatCollectFloat(org.eclipse.collections.api.block.function.Function,R)">flatCollectFloat</a>, <a href="../../../api/RichIterable.html#flatCollectInt(org.eclipse.collections.api.block.function.Function,R)">flatCollectInt</a>, <a href="../../../api/RichIterable.html#flatCollectLong(org.eclipse.collections.api.block.function.Function,R)">flatCollectLong</a>, <a href="../../../api/RichIterable.html#flatCollectShort(org.eclipse.collections.api.block.function.Function,R)">flatCollectShort</a>, <a href="../../../api/RichIterable.html#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P,R)">flatCollectWith</a>, <a href="../../../api/RichIterable.html#forEach(org.eclipse.collections.api.block.procedure.Procedure)">forEach</a>, <a href="../../../api/RichIterable.html#getAny()">getAny</a>, <a href="../../../api/RichIterable.html#getOnly()">getOnly</a>, <a href="../../../api/RichIterable.html#groupBy(org.eclipse.collections.api.block.function.Function,R)">groupBy</a>, <a href="../../../api/RichIterable.html#groupByAndCollect(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">groupByAndCollect</a>, <a href="../../../api/RichIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function,R)">groupByEach</a>, <a href="../../../api/RichIterable.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function,R)">groupByUniqueKey</a>, <a href="../../../api/RichIterable.html#injectInto(double,org.eclipse.collections.api.block.function.primitive.DoubleObjectToDoubleFunction)">injectInto</a>, <a href="../../../api/RichIterable.html#into(R)">into</a>, <a href="../../../api/RichIterable.html#makeString()">makeString</a>, <a href="../../../api/RichIterable.html#makeString(java.lang.String)">makeString</a>, <a href="../../../api/RichIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)">makeString</a>, <a href="../../../api/RichIterable.html#maxByOptional(org.eclipse.collections.api.block.function.Function)">maxByOptional</a>, <a href="../../../api/RichIterable.html#maxOptional()">maxOptional</a>, <a href="../../../api/RichIterable.html#maxOptional(java.util.Comparator)">maxOptional</a>, <a href="../../../api/RichIterable.html#minByOptional(org.eclipse.collections.api.block.function.Function)">minByOptional</a>, <a href="../../../api/RichIterable.html#minOptional()">minOptional</a>, <a href="../../../api/RichIterable.html#minOptional(java.util.Comparator)">minOptional</a>, <a href="../../../api/RichIterable.html#reduce(java.util.function.BinaryOperator)">reduce</a>, <a href="../../../api/RichIterable.html#reduceInPlace(java.util.function.Supplier,java.util.function.BiConsumer)">reduceInPlace</a>, <a href="../../../api/RichIterable.html#reduceInPlace(java.util.stream.Collector)">reduceInPlace</a>, <a href="../../../api/RichIterable.html#summarizeDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">summarizeDouble</a>, <a href="../../../api/RichIterable.html#summarizeFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">summarizeFloat</a>, <a href="../../../api/RichIterable.html#summarizeInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">summarizeInt</a>, <a href="../../../api/RichIterable.html#summarizeLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">summarizeLong</a>, <a href="../../../api/RichIterable.html#toBag()">toBag</a>, <a href="../../../api/RichIterable.html#toBiMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toBiMap</a>, <a href="../../../api/RichIterable.html#toList()">toList</a>, <a href="../../../api/RichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toMap</a>, <a href="../../../api/RichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">toMap</a>, <a href="../../../api/RichIterable.html#toSortedBag()">toSortedBag</a>, <a href="../../../api/RichIterable.html#toSortedBag(java.util.Comparator)">toSortedBag</a>, <a href="../../../api/RichIterable.html#toSortedBagBy(org.eclipse.collections.api.block.function.Function)">toSortedBagBy</a>, <a href="../../../api/RichIterable.html#toSortedList(java.util.Comparator)">toSortedList</a>, <a href="../../../api/RichIterable.html#toSortedListBy(org.eclipse.collections.api.block.function.Function)">toSortedListBy</a>, <a href="../../../api/RichIterable.html#toSortedMap(java.util.Comparator,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../../../api/RichIterable.html#toSortedMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../../../api/RichIterable.html#toSortedMapBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMapBy</a>, <a href="../../../api/RichIterable.html#toSortedSet()">toSortedSet</a>, <a href="../../../api/RichIterable.html#toSortedSet(java.util.Comparator)">toSortedSet</a>, <a href="../../../api/RichIterable.html#toSortedSetBy(org.eclipse.collections.api.block.function.Function)">toSortedSetBy</a>, <a href="../../../api/RichIterable.html#toString()">toString</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="blockList"> |
| <!-- ============ 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="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/RichIterable.html#notEmpty()">RichIterable</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/RichIterable.html#notEmpty()">notEmpty</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></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"><a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a></span> <span class="memberName">getFirst</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#getFirst()">RichIterable</a></code></span></div> |
| <div class="block">Returns the first element of an iterable. In the case of a List it is the element at the first index. In the |
| case of any other Collection, it is the first element that would be returned during an iteration. If the |
| iterable is empty, null is returned. If null is a valid element of the container, then a developer would need to |
| check to see if the iterable is empty to validate that a null result was not due to the container being empty. |
| <p> |
| The order of Sets are not guaranteed (except for TreeSets and other Ordered Set implementations), so if you use |
| this method, the first element could be any element from the Set.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/ListIterable.html#getFirst()">getFirst</a></code> in interface <code><a href="../../../api/list/ListIterable.html" title="interface in org.eclipse.collections.api.list">ListIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/ordered/OrderedIterable.html#getFirst()">getFirst</a></code> in interface <code><a href="../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#getFirst()">getFirst</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#getFirst()">getFirst</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getLast()">getLast</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a></span> <span class="memberName">getLast</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#getLast()">RichIterable</a></code></span></div> |
| <div class="block">Returns the last element of an iterable. In the case of a List it is the element at the last index. In the case |
| of any other Collection, it is the last element that would be returned during an iteration. If the iterable is |
| empty, null is returned. If null is a valid element of the container, then a developer would need to check to |
| see if the iterable is empty to validate that a null result was not due to the container being empty. |
| <p> |
| The order of Sets are not guaranteed (except for TreeSets and other Ordered Set implementations), so if you use |
| this method, the last element could be any element from the Set.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/ListIterable.html#getLast()">getLast</a></code> in interface <code><a href="../../../api/list/ListIterable.html" title="interface in org.eclipse.collections.api.list">ListIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/ordered/OrderedIterable.html#getLast()">getLast</a></code> in interface <code><a href="../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#getLast()">getLast</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#getLast()">getLast</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="each(org.eclipse.collections.api.block.procedure.Procedure)">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/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> procedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#each(org.eclipse.collections.api.block.procedure.Procedure)">RichIterable</a></code></span></div> |
| <div class="block">The procedure is executed for each element in the iterable. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| people.each(person -> LOGGER.info(person.getName())); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| people.each(new Procedure<Person>() |
| { |
| public void value(Person person) |
| { |
| LOGGER.info(person.getName()); |
| } |
| }); |
| </pre> |
| This method is a variant of <a href="../../../api/InternalIterable.html#forEach(org.eclipse.collections.api.block.procedure.Procedure)"><code>InternalIterable.forEach(Procedure)</code></a> |
| that has a signature conflict with <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach(java.util.function.Consumer)" title="class or interface in java.lang" class="externalLink"><code>Iterable.forEach(java.util.function.Consumer)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#each(org.eclipse.collections.api.block.procedure.Procedure)">each</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#each(org.eclipse.collections.api.block.procedure.Procedure)">each</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../api/InternalIterable.html#forEach(org.eclipse.collections.api.block.procedure.Procedure)"><code>InternalIterable.forEach(Procedure)</code></a>, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach(java.util.function.Consumer)" title="class or interface in java.lang" class="externalLink"><code>Iterable.forEach(java.util.function.Consumer)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">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/ObjectIntProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">ObjectIntProcedure</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> objectIntProcedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/InternalIterable.html#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">InternalIterable</a></code></span></div> |
| <div class="block">Iterates over the iterable passing each element and the current relative int index to the specified instance of |
| ObjectIntProcedure. |
| <p> |
| Example using a Java 8 lambda: |
| <pre> |
| people.forEachWithIndex((Person person, int index) -> LOGGER.info("Index: " + index + " person: " + person.getName())); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| people.forEachWithIndex(new ObjectIntProcedure<Person>() |
| { |
| public void value(Person person, int index) |
| { |
| LOGGER.info("Index: " + index + " person: " + person.getName()); |
| } |
| }); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/InternalIterable.html#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></code> in interface <code><a href="../../../api/InternalIterable.html" title="interface in org.eclipse.collections.api">InternalIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/ordered/OrderedIterable.html#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></code> in interface <code><a href="../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="forEachWithIndex(int,int,org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">forEachWithIndex</span>​(<span class="arguments">int fromIndex, |
| int toIndex, |
| <a href="../../../api/block/procedure/primitive/ObjectIntProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">ObjectIntProcedure</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> objectIntProcedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/ordered/OrderedIterable.html#forEachWithIndex(int,int,org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">OrderedIterable</a></code></span></div> |
| <div class="block">Iterates over the section of the iterable covered by the specified inclusive indexes. The indexes are |
| both inclusive. |
| |
| <pre>e.g. |
| OrderedIterable<People> people = FastList.newListWith(ted, mary, bob, sally) |
| people.forEachWithIndex(0, 1, new ObjectIntProcedure<Person>() |
| { |
| public void value(Person person, int index) |
| { |
| LOGGER.info(person.getName()); |
| } |
| }); |
| </pre> |
| <p> |
| This code would output ted and mary's names.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/ordered/OrderedIterable.html#forEachWithIndex(int,int,org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></code> in interface <code><a href="../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#forEachWithIndex(int,int,org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="removeIf(org.eclipse.collections.api.block.predicate.Predicate)">removeIf</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">removeIf</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/collection/MutableCollection.html#removeIf(org.eclipse.collections.api.block.predicate.Predicate)">MutableCollection</a></code></span></div> |
| <div class="block">Removes all elements in the collection that evaluate to true for the specified predicate. |
| |
| <pre>e.g. |
| return lastNames.<b>removeIf</b>(Predicates.isNull()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#removeIf(org.eclipse.collections.api.block.predicate.Predicate)">removeIf</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#removeIf(org.eclipse.collections.api.block.predicate.Predicate)">removeIf</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="removeIfWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="removeIfWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">removeIfWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType">boolean</span> <span class="memberName">removeIfWith</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/collection/MutableCollection.html#removeIfWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">MutableCollection</a></code></span></div> |
| <div class="block">Removes all elements in the collection that evaluate to true for the specified predicate2 and parameter. |
| |
| <pre> |
| return lastNames.<b>removeIfWith</b>(Predicates2.isNull(), null); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#removeIfWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">removeIfWith</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#removeIfWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">removeIfWith</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="detect(org.eclipse.collections.api.block.predicate.Predicate)">detect</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a></span> <span class="memberName">detect</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#detect(org.eclipse.collections.api.block.predicate.Predicate)">RichIterable</a></code></span></div> |
| <div class="block">Returns the first element of the iterable for which the predicate evaluates to true or null in the case where no |
| element returns true. This method is commonly called find. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| Person person = |
| people.detect(person -> person.getFirstName().equals("John") && person.getLastName().equals("Smith")); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| Person person = |
| people.detect(new Predicate<Person>() |
| { |
| public boolean accept(Person person) |
| { |
| return person.getFirstName().equals("John") && person.getLastName().equals("Smith"); |
| } |
| }); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#detect(org.eclipse.collections.api.block.predicate.Predicate)">detect</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#detect(org.eclipse.collections.api.block.predicate.Predicate)">detect</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="detectWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="detectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType"><a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a></span> <span class="memberName">detectWith</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#detectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">RichIterable</a></code></span></div> |
| <div class="block">Returns the first element that evaluates to true for the specified predicate2 and parameter, or null if none |
| evaluate to true. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| Person person = |
| people.detectWith((person, fullName) -> person.getFullName().equals(fullName), "John Smith"); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| Person person = |
| people.detectWith(new Predicate2<Person, String>() |
| { |
| public boolean accept(Person person, String fullName) |
| { |
| return person.getFullName().equals(fullName); |
| } |
| }, "John Smith"); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#detectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWith</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#detectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWith</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="detectOptional(org.eclipse.collections.api.block.predicate.Predicate)">detectOptional</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></span> <span class="memberName">detectOptional</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#detectOptional(org.eclipse.collections.api.block.predicate.Predicate)">RichIterable</a></code></span></div> |
| <div class="block">Returns the first element of the iterable for which the predicate evaluates to true as an Optional. This method is commonly called find. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| Person person = |
| people.detectOptional(person -> person.getFirstName().equals("John") && person.getLastName().equals("Smith")); |
| </pre> |
| <p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#detectOptional(org.eclipse.collections.api.block.predicate.Predicate)">detectOptional</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#detectOptional(org.eclipse.collections.api.block.predicate.Predicate)">detectOptional</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="detectWithOptional(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="detectWithOptional(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWithOptional</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></span> <span class="memberName">detectWithOptional</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#detectWithOptional(org.eclipse.collections.api.block.predicate.Predicate2,P)">RichIterable</a></code></span></div> |
| <div class="block">Returns the first element that evaluates to true for the specified predicate2 and parameter as an Optional. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| Optional<Person> person = |
| people.detectWithOptional((person, fullName) -> person.getFullName().equals(fullName), "John Smith"); |
| </pre> |
| <p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#detectWithOptional(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWithOptional</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#detectWithOptional(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWithOptional</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="detectIndex(org.eclipse.collections.api.block.predicate.Predicate)">detectIndex</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">int</span> <span class="memberName">detectIndex</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/ordered/OrderedIterable.html#detectIndex(org.eclipse.collections.api.block.predicate.Predicate)">OrderedIterable</a></code></span></div> |
| <div class="block">Returns the index of the first element of the <code>OrderedIterable</code> for which the <code>predicate</code> evaluates to true. |
| Returns -1 if no element evaluates true for the <code>predicate</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/ordered/OrderedIterable.html#detectIndex(org.eclipse.collections.api.block.predicate.Predicate)">detectIndex</a></code> in interface <code><a href="../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#detectIndex(org.eclipse.collections.api.block.predicate.Predicate)">detectIndex</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="detectLastIndex(org.eclipse.collections.api.block.predicate.Predicate)">detectLastIndex</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">int</span> <span class="memberName">detectLastIndex</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/ordered/ReversibleIterable.html#detectLastIndex(org.eclipse.collections.api.block.predicate.Predicate)">ReversibleIterable</a></code></span></div> |
| <div class="block">Returns the index of the last element of the <code>ReversibleIterable</code> for which the <code>predicate</code> evaluates to true. |
| Returns -1 if no element evaluates true for the <code>predicate</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/ordered/ReversibleIterable.html#detectLastIndex(org.eclipse.collections.api.block.predicate.Predicate)">detectLastIndex</a></code> in interface <code><a href="../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#detectLastIndex(org.eclipse.collections.api.block.predicate.Predicate)">detectLastIndex</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="count(org.eclipse.collections.api.block.predicate.Predicate)">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/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#count(org.eclipse.collections.api.block.predicate.Predicate)">RichIterable</a></code></span></div> |
| <div class="block">Return the total number of elements that answer true to the specified predicate. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| int count = |
| people.<b>count</b>(person -> person.getAddress().getState().getName().equals("New York")); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| int count = |
| people.<b>count</b>(new Predicate<Person>() |
| { |
| public boolean accept(Person person) |
| { |
| return person.getAddress().getState().getName().equals("New York"); |
| } |
| }); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#count(org.eclipse.collections.api.block.predicate.Predicate)">count</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#count(org.eclipse.collections.api.block.predicate.Predicate)">count</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="corresponds(org.eclipse.collections.api.ordered.OrderedIterable,org.eclipse.collections.api.block.predicate.Predicate2)">corresponds</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><S></span> <span class="returnType">boolean</span> <span class="memberName">corresponds</span>​(<span class="arguments"><a href="../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><S> other, |
| <a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super S> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/ordered/OrderedIterable.html#corresponds(org.eclipse.collections.api.ordered.OrderedIterable,org.eclipse.collections.api.block.predicate.Predicate2)">OrderedIterable</a></code></span></div> |
| <div class="block">Returns true if both OrderedIterables have the same length |
| and <code>predicate</code> returns true for all corresponding elements e1 of |
| this <code>OrderedIterable</code> and e2 of <code>other</code>. |
| The <code>predicate</code> is evaluated for each element at the same position of each <code>OrderedIterable</code> in a forward iteration order. |
| This is a short circuit pattern.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/ordered/OrderedIterable.html#corresponds(org.eclipse.collections.api.ordered.OrderedIterable,org.eclipse.collections.api.block.predicate.Predicate2)">corresponds</a></code> in interface <code><a href="../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#corresponds(org.eclipse.collections.api.ordered.OrderedIterable,org.eclipse.collections.api.block.predicate.Predicate2)">corresponds</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="anySatisfy(org.eclipse.collections.api.block.predicate.Predicate)">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/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#anySatisfy(org.eclipse.collections.api.block.predicate.Predicate)">RichIterable</a></code></span></div> |
| <div class="block">Returns true if the predicate evaluates to true for any element of the iterable. |
| Returns false if the iterable is empty, or if no element returned true when evaluating the predicate.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#anySatisfy(org.eclipse.collections.api.block.predicate.Predicate)">anySatisfy</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#anySatisfy(org.eclipse.collections.api.block.predicate.Predicate)">anySatisfy</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="allSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">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/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#allSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">RichIterable</a></code></span></div> |
| <div class="block">Returns true if the predicate evaluates to true for every element of the iterable or if the iterable is empty. |
| Otherwise, returns false.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#allSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">allSatisfy</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#allSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">allSatisfy</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">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/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">RichIterable</a></code></span></div> |
| <div class="block">Returns true if the predicate evaluates to false for every element of the iterable or if the iterable is empty. |
| Otherwise, returns false.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">noneSatisfy</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">noneSatisfy</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="injectInto(java.lang.Object,org.eclipse.collections.api.block.function.Function2)"> |
| <!-- --> |
| </a><a id="injectInto(IV,org.eclipse.collections.api.block.function.Function2)">injectInto</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><IV></span> <span class="returnType">IV</span> <span class="memberName">injectInto</span>​(<span class="arguments">IV injectedValue, |
| <a href="../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super IV,​? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? extends IV> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#injectInto(IV,org.eclipse.collections.api.block.function.Function2)">RichIterable</a></code></span></div> |
| <div class="block">Returns the final result of evaluating function using each element of the iterable and the previous evaluation |
| result as the parameters. The injected value is used for the first parameter of the first evaluation, and the current |
| item in the iterable is used as the second parameter. This method is commonly called fold or sometimes reduce.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#injectInto(IV,org.eclipse.collections.api.block.function.Function2)">injectInto</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#injectInto(IV,org.eclipse.collections.api.block.function.Function2)">injectInto</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="select(org.eclipse.collections.api.block.predicate.Predicate,java.util.Collection)"> |
| <!-- --> |
| </a><a id="select(org.eclipse.collections.api.block.predicate.Predicate,R)">select</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>>></span> <span class="returnType">R</span> <span class="memberName">select</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as the select method with one parameter but uses the specified target collection for the results. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| MutableList<Person> selected = |
| people.select(person -> person.person.getLastName().equals("Smith"), Lists.mutable.empty()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| MutableList<Person> selected = |
| people.select(new Predicate<Person>() |
| { |
| public boolean accept(Person person) |
| { |
| return person.person.getLastName().equals("Smith"); |
| } |
| }, Lists.mutable.empty()); |
| </pre> |
| <p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate,R)">select</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#select(org.eclipse.collections.api.block.predicate.Predicate,R)">select</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - a <a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate</code></a> to use as the select criteria</dd> |
| <dd><code>target</code> - the Collection to append to for all elements in this <code>RichIterable</code> that meet select criteria <code>predicate</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which contains appended elements as a result of the select criteria</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)"><code>RichIterable.select(Predicate)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="reject(org.eclipse.collections.api.block.predicate.Predicate,java.util.Collection)"> |
| <!-- --> |
| </a><a id="reject(org.eclipse.collections.api.block.predicate.Predicate,R)">reject</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>>></span> <span class="returnType">R</span> <span class="memberName">reject</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as the reject method with one parameter but uses the specified target collection for the results. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| MutableList<Person> rejected = |
| people.reject(person -> person.person.getLastName().equals("Smith"), Lists.mutable.empty()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| MutableList<Person> rejected = |
| people.reject(new Predicate<Person>() |
| { |
| public boolean accept(Person person) |
| { |
| return person.person.getLastName().equals("Smith"); |
| } |
| }, Lists.mutable.empty()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate,R)">reject</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#reject(org.eclipse.collections.api.block.predicate.Predicate,R)">reject</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - a <a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate</code></a> to use as the reject criteria</dd> |
| <dd><code>target</code> - the Collection to append to for all elements in this <code>RichIterable</code> that cause <code>Predicate#accept(Object)</code> method to evaluate to false</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which contains appended elements as a result of the reject criteria</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collect(org.eclipse.collections.api.block.function.Function)">collect</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><V></span> <span class="returnType"><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><V></span> <span class="memberName">collect</span>​(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? extends V> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/collection/MutableCollection.html#collect(org.eclipse.collections.api.block.function.Function)">MutableCollection</a></code></span></div> |
| <div class="block">Returns a new MutableCollection with the results of applying the specified function to each element of the source |
| collection. |
| |
| <pre> |
| MutableCollection<String> names = |
| people.collect(person -> person.getFirstName() + " " + person.getLastName()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/ListIterable.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code> in interface <code><a href="../../../api/list/ListIterable.html" title="interface in org.eclipse.collections.api.list">ListIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/MutableList.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code> in interface <code><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/ordered/OrderedIterable.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code> in interface <code><a href="../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/ordered/ReversibleIterable.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code> in interface <code><a href="../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collect(org.eclipse.collections.api.block.function.Function,java.util.Collection)"> |
| <!-- --> |
| </a><a id="collect(org.eclipse.collections.api.block.function.Function,R)">collect</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">collect</span>​(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? extends V> function, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as <a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| MutableList<String> names = |
| people.collect(person -> person.getFirstName() + " " + person.getLastName(), Lists.mutable.empty()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| MutableList<String> names = |
| people.collect(new Function<Person, String>() |
| { |
| public String valueOf(Person person) |
| { |
| return person.getFirstName() + " " + person.getLastName(); |
| } |
| }, Lists.mutable.empty()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function,R)">collect</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#collect(org.eclipse.collections.api.block.function.Function,R)">collect</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - a <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to use as the collect transformation function</dd> |
| <dd><code>target</code> - the Collection to append to for all elements in this <code>RichIterable</code> that meet select criteria <code>function</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which contains appended elements as a result of the collect transformation</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function,java.util.Collection)"> |
| <!-- --> |
| </a><a id="collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function,R)">collectIf</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">collectIf</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> predicate, |
| <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? extends V> function, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as the collectIf method with two parameters but uses the specified target collection for the results.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function,R)">collectIf</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function,R)">collectIf</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - a <a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate</code></a> to use as the select criteria</dd> |
| <dd><code>function</code> - a <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to use as the collect transformation function</dd> |
| <dd><code>target</code> - the Collection to append to for all elements in this <code>RichIterable</code> that meet the collect criteria <code>predicate</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>targetCollection</code>, which contains appended elements as a result of the collect criteria and transformation</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../api/RichIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collectIf(Predicate, Function)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><V></span> <span class="returnType"><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><V></span> <span class="memberName">flatCollect</span>​(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><V>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/collection/MutableCollection.html#flatCollect(org.eclipse.collections.api.block.function.Function)">MutableCollection</a></code></span></div> |
| <div class="block"><code>flatCollect</code> is a special case of <a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a>. With <code>collect</code>, when the <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> returns |
| a collection, the result is a collection of collections. <code>flatCollect</code> outputs a single "flattened" collection |
| instead. This method is commonly called flatMap. |
| <p> |
| Consider the following example where we have a <code>Person</code> class, and each <code>Person</code> has a list of <code>Address</code> objects. Take the following <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a>: |
| <pre> |
| Function<Person, List<Address>> addressFunction = Person::getAddresses; |
| RichIterable<Person> people = ...; |
| </pre> |
| Using <code>collect</code> returns a collection of collections of addresses. |
| <pre> |
| RichIterable<List<Address>> addresses = people.collect(addressFunction); |
| </pre> |
| Using <code>flatCollect</code> returns a single flattened list of addresses. |
| <pre> |
| RichIterable<Address> addresses = people.flatCollect(addressFunction); |
| </pre> |
| Co-variant example for MutableCollection: |
| <pre> |
| Function<Person, List<Address>> addressFunction = Person::getAddresses; |
| MutableCollection<Person> people = ...; |
| MutableCollection<List<Address>> addresses = people.collect(addressFunction); |
| MutableCollection<Address> addresses = people.flatCollect(addressFunction); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/ListIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code> in interface <code><a href="../../../api/list/ListIterable.html" title="interface in org.eclipse.collections.api.list">ListIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/MutableList.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code> in interface <code><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/ordered/OrderedIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code> in interface <code><a href="../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/ordered/ReversibleIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code> in interface <code><a href="../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - The <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to apply</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new flattened collection produced by applying the given <code>function</code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="flatCollect(org.eclipse.collections.api.block.function.Function,java.util.Collection)"> |
| <!-- --> |
| </a><a id="flatCollect(org.eclipse.collections.api.block.function.Function,R)">flatCollect</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">flatCollect</span>​(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><V>> function, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function,R)">flatCollect</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#flatCollect(org.eclipse.collections.api.block.function.Function,R)">flatCollect</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - The <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to apply</dd> |
| <dd><code>target</code> - The collection into which results should be added.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which will contain a flattened collection of results produced by applying the given <code>function</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.flatCollect(Function)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="selectAndRejectWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="selectAndRejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectAndRejectWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType"><a href="../../../api/tuple/Twin.html" title="interface in org.eclipse.collections.api.tuple">Twin</a><<a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>>></span> <span class="memberName">selectAndRejectWith</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/collection/MutableCollection.html#selectAndRejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">MutableCollection</a></code></span></div> |
| <div class="block">Filters a collection into two separate collections based on a predicate returned via a Pair. |
| |
| <pre>e.g. |
| return lastNames.<b>selectAndRejectWith</b>(Predicates2.lessThan(), "Mason"); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#selectAndRejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectAndRejectWith</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#selectAndRejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectAndRejectWith</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></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/RichIterable.html#size()">RichIterable</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="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#size()" title="class or interface in java.util" class="externalLink">size</a></code> in interface <code><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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#size()" title="class or interface in java.util" class="externalLink">size</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#size()">size</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</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/RichIterable.html#isEmpty()">RichIterable</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="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#isEmpty()" title="class or interface in java.util" class="externalLink">isEmpty</a></code> in interface <code><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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#isEmpty()" title="class or interface in java.util" class="externalLink">isEmpty</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#isEmpty()">isEmpty</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../AbstractRichIterable.html#isEmpty()">isEmpty</a></code> in class <code><a href="../../AbstractRichIterable.html" title="class in org.eclipse.collections.impl">AbstractRichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="contains(java.lang.Object)">contains</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">contains</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> o)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#contains(java.lang.Object)">RichIterable</a></code></span></div> |
| <div class="block">Returns true if the iterable has an element which responds true to element.equals(object).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#contains(java.lang.Object)" title="class or interface in java.util" class="externalLink">contains</a></code> in interface <code><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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#contains(java.lang.Object)" title="class or interface in java.util" class="externalLink">contains</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#contains(java.lang.Object)">contains</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#contains(java.lang.Object)">contains</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="iterator()">iterator</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink">Iterator</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></span> <span class="memberName">iterator</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#iterator()" title="class or interface in java.util" class="externalLink">iterator</a></code> in interface <code><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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#iterator()" title="class or interface in java.lang" class="externalLink">iterator</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#iterator()" title="class or interface in java.util" class="externalLink">iterator</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#iterator()">iterator</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</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"><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>[]</span> <span class="memberName">toArray</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#toArray()">RichIterable</a></code></span></div> |
| <div class="block">Converts this iterable to an array.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#toArray()" title="class or interface in java.util" class="externalLink">toArray</a></code> in interface <code><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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#toArray()" title="class or interface in java.util" class="externalLink">toArray</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#toArray()">toArray</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../AbstractRichIterable.html#toArray()">toArray</a></code> in class <code><a href="../../AbstractRichIterable.html" title="class in org.eclipse.collections.impl">AbstractRichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#toArray()" title="class or interface in java.util" class="externalLink"><code>Collection.toArray()</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toArray(java.lang.Object[])"> |
| <!-- --> |
| </a><a id="toArray(E[])">toArray</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><E></span> <span class="returnType">E[]</span> <span class="memberName">toArray</span>​(<span class="arguments">E[] array)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#toArray(E%5B%5D)">RichIterable</a></code></span></div> |
| <div class="block">Converts this iterable to an array using the specified target array, assuming the target array is as long |
| or longer than the iterable.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#toArray(T%5B%5D)" title="class or interface in java.util" class="externalLink">toArray</a></code> in interface <code><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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#toArray(T%5B%5D)" title="class or interface in java.util" class="externalLink">toArray</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#toArray(E%5B%5D)">toArray</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../AbstractRichIterable.html#toArray(E%5B%5D)">toArray</a></code> in class <code><a href="../../AbstractRichIterable.html" title="class in org.eclipse.collections.impl">AbstractRichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#toArray(T%5B%5D)" title="class or interface in java.util" class="externalLink"><code>Collection.toArray(Object[])</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="remove(java.lang.Object)">remove</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">remove</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> o)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util" class="externalLink">remove</a></code> in interface <code><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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util" class="externalLink">remove</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/mutable/AbstractMutableCollection.html#remove(java.lang.Object)">remove</a></code> in class <code><a href="../../collection/mutable/AbstractMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractMutableCollection</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="containsAll(java.util.Collection)">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="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><?> collection)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#containsAll(java.util.Collection)">RichIterable</a></code></span></div> |
| <div class="block">Returns true if all elements in source are contained in this collection.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#containsAll(java.util.Collection)" title="class or interface in java.util" class="externalLink">containsAll</a></code> in interface <code><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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#containsAll(java.util.Collection)" title="class or interface in java.util" class="externalLink">containsAll</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#containsAll(java.util.Collection)">containsAll</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#containsAll(java.util.Collection)">containsAll</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#containsAll(java.util.Collection)" title="class or interface in java.util" class="externalLink"><code>Collection.containsAll(Collection)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="addAll(java.util.Collection)">addAll</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">addAll</span>​(<span class="arguments"><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><? extends <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> collection)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#addAll(java.util.Collection)" title="class or interface in java.util" class="externalLink">addAll</a></code> in interface <code><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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#addAll(java.util.Collection)" title="class or interface in java.util" class="externalLink">addAll</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/mutable/AbstractMutableCollection.html#addAll(java.util.Collection)">addAll</a></code> in class <code><a href="../../collection/mutable/AbstractMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractMutableCollection</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="addAllIterable(java.lang.Iterable)">addAllIterable</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">addAllIterable</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><? extends <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> iterable)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#addAllIterable(java.lang.Iterable)">addAllIterable</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/mutable/AbstractMutableCollection.html#addAllIterable(java.lang.Iterable)">addAllIterable</a></code> in class <code><a href="../../collection/mutable/AbstractMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractMutableCollection</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#addAll(java.util.Collection)" title="class or interface in java.util" class="externalLink"><code>Collection.addAll(Collection)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="removeAll(java.util.Collection)">removeAll</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">removeAll</span>​(<span class="arguments"><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><?> collection)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#removeAll(java.util.Collection)" title="class or interface in java.util" class="externalLink">removeAll</a></code> in interface <code><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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#removeAll(java.util.Collection)" title="class or interface in java.util" class="externalLink">removeAll</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#removeAll(java.util.Collection)">removeAll</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="removeAllIterable(java.lang.Iterable)">removeAllIterable</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">removeAllIterable</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><?> iterable)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#removeAllIterable(java.lang.Iterable)">removeAllIterable</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/mutable/AbstractMutableCollection.html#removeAllIterable(java.lang.Iterable)">removeAllIterable</a></code> in class <code><a href="../../collection/mutable/AbstractMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractMutableCollection</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#removeAll(java.util.Collection)" title="class or interface in java.util" class="externalLink"><code>Collection.removeAll(Collection)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="retainAll(java.util.Collection)">retainAll</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">retainAll</span>​(<span class="arguments"><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><?> collection)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#retainAll(java.util.Collection)" title="class or interface in java.util" class="externalLink">retainAll</a></code> in interface <code><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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#retainAll(java.util.Collection)" title="class or interface in java.util" class="externalLink">retainAll</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#retainAll(java.util.Collection)">retainAll</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="retainAllIterable(java.lang.Iterable)">retainAllIterable</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">retainAllIterable</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><?> iterable)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#retainAllIterable(java.lang.Iterable)">retainAllIterable</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/mutable/AbstractMutableCollection.html#retainAllIterable(java.lang.Iterable)">retainAllIterable</a></code> in class <code><a href="../../collection/mutable/AbstractMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractMutableCollection</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#retainAll(java.util.Collection)" title="class or interface in java.util" class="externalLink"><code>Collection.retainAll(Collection)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="replaceAll(java.util.function.UnaryOperator)">replaceAll</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">replaceAll</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/UnaryOperator.html?is-external=true" title="class or interface in java.util.function" class="externalLink">UnaryOperator</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> operator)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#replaceAll(java.util.function.UnaryOperator)" title="class or interface in java.util" class="externalLink">replaceAll</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>10.0 - Overridden for efficiency</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="sort(java.util.Comparator)">sort</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">sort</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> comparator)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#sort(java.util.Comparator)" title="class or interface in java.util" class="externalLink">sort</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>10.0</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> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#clear()" title="class or interface in java.util" class="externalLink">clear</a></code> in interface <code><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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#clear()" title="class or interface in java.util" class="externalLink">clear</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="addAll(int,java.util.Collection)">addAll</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">addAll</span>​(<span class="arguments">int index, |
| <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><? extends <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> collection)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#addAll(int,java.util.Collection)" title="class or interface in java.util" class="externalLink">addAll</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="get(int)">get</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a></span> <span class="memberName">get</span>​(<span class="arguments">int index)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/list/ListIterable.html#get(int)">ListIterable</a></code></span></div> |
| <div class="block">Returns the item at the specified position in this list iterable.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#get(int)" title="class or interface in java.util" class="externalLink">get</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/ListIterable.html#get(int)">get</a></code> in interface <code><a href="../../../api/list/ListIterable.html" title="interface in org.eclipse.collections.api.list">ListIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="add(int,java.lang.Object)"> |
| <!-- --> |
| </a><a id="add(int,T)">add</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">add</span>​(<span class="arguments">int index, |
| <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a> element)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#add(int,E)" title="class or interface in java.util" class="externalLink">add</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="remove(int)">remove</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a></span> <span class="memberName">remove</span>​(<span class="arguments">int index)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#remove(int)" title="class or interface in java.util" class="externalLink">remove</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="indexOf(java.lang.Object)">indexOf</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">int</span> <span class="memberName">indexOf</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> item)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/ordered/OrderedIterable.html#indexOf(java.lang.Object)">OrderedIterable</a></code></span></div> |
| <div class="block">Returns the index of the first occurrence of the specified item |
| in this iterable, or -1 if this iterable does not contain the item.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#indexOf(java.lang.Object)" title="class or interface in java.util" class="externalLink">indexOf</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/ordered/OrderedIterable.html#indexOf(java.lang.Object)">indexOf</a></code> in interface <code><a href="../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#indexOf(java.lang.Object)">indexOf</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#indexOf(java.lang.Object)" title="class or interface in java.util" class="externalLink"><code>List.indexOf(Object)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="lastIndexOf(java.lang.Object)">lastIndexOf</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">int</span> <span class="memberName">lastIndexOf</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> item)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/list/ListIterable.html#lastIndexOf(java.lang.Object)">ListIterable</a></code></span></div> |
| <div class="block">Returns the index of the last occurrence of the specified item |
| in this list, or -1 if this list does not contain the item.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#lastIndexOf(java.lang.Object)" title="class or interface in java.util" class="externalLink">lastIndexOf</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/ListIterable.html#lastIndexOf(java.lang.Object)">lastIndexOf</a></code> in interface <code><a href="../../../api/list/ListIterable.html" title="interface in org.eclipse.collections.api.list">ListIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#lastIndexOf(java.lang.Object)">lastIndexOf</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="listIterator(int)">listIterator</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/ListIterator.html?is-external=true" title="class or interface in java.util" class="externalLink">ListIterator</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></span> <span class="memberName">listIterator</span>​(<span class="arguments">int index)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#listIterator(int)" title="class or interface in java.util" class="externalLink">listIterator</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/ListIterable.html#listIterator(int)">listIterator</a></code> in interface <code><a href="../../../api/list/ListIterable.html" title="interface in org.eclipse.collections.api.list">ListIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#listIterator(int)">listIterator</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#listIterator(int)" title="class or interface in java.util" class="externalLink"><code>List.listIterator(int)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="subList(int,int)">subList</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></span> <span class="memberName">subList</span>​(<span class="arguments">int fromIndex, |
| int toIndex)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#subList(int,int)" title="class or interface in java.util" class="externalLink">subList</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/ListIterable.html#subList(int,int)">subList</a></code> in interface <code><a href="../../../api/list/ListIterable.html" title="interface in org.eclipse.collections.api.list">ListIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/MutableList.html#subList(int,int)">subList</a></code> in interface <code><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#subList(int,int)">subList</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#subList(int,int)" title="class or interface in java.util" class="externalLink"><code>List.subList(int, int)</code></a></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> that)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/list/ListIterable.html#equals(java.lang.Object)">ListIterable</a></code></span></div> |
| <div class="block">Follows the same general contract as <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util" class="externalLink"><code>List.equals(Object)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util" class="externalLink">equals</a></code> in interface <code><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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util" class="externalLink">equals</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/ListIterable.html#equals(java.lang.Object)">equals</a></code> in interface <code><a href="../../../api/list/ListIterable.html" title="interface in org.eclipse.collections.api.list">ListIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#equals(java.lang.Object)">equals</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="abstractArrayAdapterEquals(org.eclipse.collections.impl.list.fixed.AbstractArrayAdapter)">abstractArrayAdapterEquals</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">abstractArrayAdapterEquals</span>​(<span class="arguments"><a href="AbstractArrayAdapter.html" title="class in org.eclipse.collections.impl.list.fixed">AbstractArrayAdapter</a><?> list)</span></div> |
| </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/list/ListIterable.html#hashCode()">ListIterable</a></code></span></div> |
| <div class="block">Follows the same general contract as <a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#hashCode()" title="class or interface in java.util" class="externalLink"><code>List.hashCode()</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#hashCode()" title="class or interface in java.util" class="externalLink">hashCode</a></code> in interface <code><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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#hashCode()" title="class or interface in java.util" class="externalLink">hashCode</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util" class="externalLink">List</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/ListIterable.html#hashCode()">hashCode</a></code> in interface <code><a href="../../../api/list/ListIterable.html" title="interface in org.eclipse.collections.api.list">ListIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#hashCode()">hashCode</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,P)">forEachWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType">void</span> <span class="memberName">forEachWith</span>​(<span class="arguments"><a href="../../../api/block/procedure/Procedure2.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> procedure, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/InternalIterable.html#forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,P)">InternalIterable</a></code></span></div> |
| <div class="block">The procedure2 is evaluated for each element in the iterable with the specified parameter provided |
| as the second argument. |
| <p> |
| Example using a Java 8 lambda: |
| <pre> |
| people.forEachWith((Person person, Person other) -> |
| { |
| if (person.isRelatedTo(other)) |
| { |
| LOGGER.info(person.getName()); |
| } |
| }, fred); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| people.forEachWith(new Procedure2<Person, Person>() |
| { |
| public void value(Person person, Person other) |
| { |
| if (person.isRelatedTo(other)) |
| { |
| LOGGER.info(person.getName()); |
| } |
| } |
| }, fred); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/InternalIterable.html#forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,P)">forEachWith</a></code> in interface <code><a href="../../../api/InternalIterable.html" title="interface in org.eclipse.collections.api">InternalIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,P)">forEachWith</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="selectWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object,java.util.Collection)"> |
| <!-- --> |
| </a><a id="selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">selectWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P,​ |
| 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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>>></span> <span class="returnType">R</span> <span class="memberName">selectWith</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">RichIterable</a></code></span></div> |
| <div class="block">Similar to <a href="../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate,R)"><code>RichIterable.select(Predicate, Collection)</code></a>, except with an evaluation parameter for the second generic argument in <a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a>. |
| <p> |
| E.g. return a <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"><code>Collection</code></a> of Person elements where the person has an age <b>greater than or equal to</b> 18 years |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| MutableList<Person> selected = |
| people.selectWith((Person person, Integer age) -> person.getAge()>= age, Integer.valueOf(18), Lists.mutable.empty()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| MutableList<Person> selected = |
| people.selectWith(new Predicate2<Person, Integer>() |
| { |
| public boolean accept(Person person, Integer age) |
| { |
| return person.getAge()>= age; |
| } |
| }, Integer.valueOf(18), Lists.mutable.empty()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">selectWith</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">selectWith</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - a <a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a> to use as the select criteria</dd> |
| <dd><code>parameter</code> - a parameter to pass in for evaluation of the second argument <code>P</code> in <code>predicate</code></dd> |
| <dd><code>target</code> - the Collection to append to for all elements in this <code>RichIterable</code> that meet select criteria <code>predicate</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>targetCollection</code>, which contains appended elements as a result of the select criteria</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)"><code>RichIterable.select(Predicate)</code></a>, |
| <a href="../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate,R)"><code>RichIterable.select(Predicate, Collection)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object,java.util.Collection)"> |
| <!-- --> |
| </a><a id="rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">rejectWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P,​ |
| 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><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>>></span> <span class="returnType">R</span> <span class="memberName">rejectWith</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">RichIterable</a></code></span></div> |
| <div class="block">Similar to <a href="../../../api/RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate,R)"><code>RichIterable.reject(Predicate, Collection)</code></a>, except with an evaluation parameter for the second generic argument in <a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a>. |
| <p> |
| E.g. return a <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"><code>Collection</code></a> of Person elements where the person has an age <b>greater than or equal to</b> 18 years |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| MutableList<Person> rejected = |
| people.rejectWith((Person person, Integer age) -> person.getAge() < age, Integer.valueOf(18), Lists.mutable.empty()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| MutableList<Person> rejected = |
| people.rejectWith(new Predicate2<Person, Integer>() |
| { |
| public boolean accept(Person person, Integer age) |
| { |
| return person.getAge() < age; |
| } |
| }, Integer.valueOf(18), Lists.mutable.empty()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">rejectWith</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">rejectWith</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - a <a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a> to use as the reject criteria</dd> |
| <dd><code>parameter</code> - a parameter to pass in for evaluation of the second argument <code>P</code> in <code>predicate</code></dd> |
| <dd><code>target</code> - the Collection to append to for all elements in this <code>RichIterable</code> that cause <code>Predicate#accept(Object)</code> method to evaluate to false</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>targetCollection</code>, which contains appended elements as a result of the reject criteria</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../api/RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate)"><code>RichIterable.reject(Predicate)</code></a>, |
| <a href="../../../api/RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate,R)"><code>RichIterable.reject(Predicate, Collection)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectWith(org.eclipse.collections.api.block.function.Function2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P,​ |
| A></span> <span class="returnType"><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><A></span> <span class="memberName">collectWith</span>​(<span class="arguments"><a href="../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P,​? extends A> function, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/collection/MutableCollection.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">MutableCollection</a></code></span></div> |
| <div class="block">Same as <a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a> with a <code>Function2</code> and specified parameter which is passed to the block. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| RichIterable<Integer> integers = |
| Lists.mutable.with(1, 2, 3).collectWith((each, parameter) -> each + parameter, Integer.valueOf(1)); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| Function2<Integer, Integer, Integer> addParameterFunction = |
| new Function2<Integer, Integer, Integer>() |
| { |
| public Integer value(Integer each, Integer parameter) |
| { |
| return each + parameter; |
| } |
| }; |
| RichIterable<Integer> integers = |
| Lists.mutable.with(1, 2, 3).collectWith(addParameterFunction, Integer.valueOf(1)); |
| </pre> |
| Co-variant example for MutableCollection: |
| <pre> |
| MutableCollection<Integer> integers = |
| Lists.mutable.with(1, 2, 3).collectWith((each, parameter) -> each + parameter, Integer.valueOf(1)); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/ListIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code> in interface <code><a href="../../../api/list/ListIterable.html" title="interface in org.eclipse.collections.api.list">ListIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/MutableList.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code> in interface <code><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/ordered/OrderedIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code> in interface <code><a href="../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/ordered/ReversibleIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code> in interface <code><a href="../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - A <a href="../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function"><code>Function2</code></a> to use as the collect transformation function</dd> |
| <dd><code>parameter</code> - A parameter to pass in for evaluation of the second argument <code>P</code> in <code>function</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A new <code>RichIterable</code> that contains the transformed elements returned by <a href="../../../api/block/function/Function2.html#value(T1,T2)"><code>Function2.value(Object, Object)</code></a></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectWith(org.eclipse.collections.api.block.function.Function2,java.lang.Object,java.util.Collection)"> |
| <!-- --> |
| </a><a id="collectWith(org.eclipse.collections.api.block.function.Function2,P,R)">collectWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P,​ |
| A,​ |
| 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><A>></span> <span class="returnType">R</span> <span class="memberName">collectWith</span>​(<span class="arguments"><a href="../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P,​? extends A> function, |
| P parameter, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as collectWith but with a targetCollection parameter to gather the results. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| MutableSet<Integer> integers = |
| Lists.mutable.with(1, 2, 3).collectWith((each, parameter) -> each + parameter, Integer.valueOf(1), Sets.mutable.empty()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| Function2<Integer, Integer, Integer> addParameterFunction = |
| new Function2<Integer, Integer, Integer>() |
| { |
| public Integer value(final Integer each, final Integer parameter) |
| { |
| return each + parameter; |
| } |
| }; |
| MutableSet<Integer> integers = |
| Lists.mutable.with(1, 2, 3).collectWith(addParameterFunction, Integer.valueOf(1), Sets.mutable.empty()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P,R)">collectWith</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#collectWith(org.eclipse.collections.api.block.function.Function2,P,R)">collectWith</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - a <a href="../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function"><code>Function2</code></a> to use as the collect transformation function</dd> |
| <dd><code>parameter</code> - a parameter to pass in for evaluation of the second argument <code>P</code> in <code>function</code></dd> |
| <dd><code>target</code> - the Collection to append to for all elements in this <code>RichIterable</code> that meet select criteria <code>function</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>targetCollection</code>, which contains appended elements as a result of the collect transformation</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="injectIntoWith(java.lang.Object,org.eclipse.collections.api.block.function.Function3,java.lang.Object)"> |
| <!-- --> |
| </a><a id="injectIntoWith(IV,org.eclipse.collections.api.block.function.Function3,P)">injectIntoWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><IV,​ |
| P></span> <span class="returnType">IV</span> <span class="memberName">injectIntoWith</span>​(<span class="arguments">IV injectValue, |
| <a href="../../../api/block/function/Function3.html" title="interface in org.eclipse.collections.api.block.function">Function3</a><? super IV,​? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P,​? extends IV> function, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/collection/MutableCollection.html#injectIntoWith(IV,org.eclipse.collections.api.block.function.Function3,P)">MutableCollection</a></code></span></div> |
| <div class="block">Returns the final result of evaluating function using each element of the iterable, the previous evaluation |
| result and the parameters. The injected value is used for the first parameter of the first evaluation, and the current |
| item in the iterable is used as the second parameter. The parameter value is always used as the third parameter |
| to the function call.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#injectIntoWith(IV,org.eclipse.collections.api.block.function.Function3,P)">injectIntoWith</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#injectIntoWith(IV,org.eclipse.collections.api.block.function.Function3,P)">injectIntoWith</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../api/RichIterable.html#injectInto(IV,org.eclipse.collections.api.block.function.Function2)"><code>RichIterable.injectInto(Object, Function2)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="forEach(int,int,org.eclipse.collections.api.block.procedure.Procedure)">forEach</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">forEach</span>​(<span class="arguments">int fromIndex, |
| int toIndex, |
| <a href="../../../api/block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> procedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/ordered/OrderedIterable.html#forEach(int,int,org.eclipse.collections.api.block.procedure.Procedure)">OrderedIterable</a></code></span></div> |
| <div class="block">Iterates over the section of the iterable covered by the specified inclusive indexes. The indexes are |
| both inclusive. |
| |
| <pre>e.g. |
| OrderedIterable<People> people = FastList.newListWith(ted, mary, bob, sally) |
| people.forEach(0, 1, new Procedure<Person>() |
| { |
| public void value(Person person) |
| { |
| LOGGER.info(person.getName()); |
| } |
| }); |
| </pre> |
| <p> |
| This code would output ted and mary's names.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/ordered/OrderedIterable.html#forEach(int,int,org.eclipse.collections.api.block.procedure.Procedure)">forEach</a></code> in interface <code><a href="../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#forEach(int,int,org.eclipse.collections.api.block.procedure.Procedure)">forEach</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="countWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="countWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">countWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType">int</span> <span class="memberName">countWith</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#countWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">RichIterable</a></code></span></div> |
| <div class="block">Returns the total number of elements that evaluate to true for the specified predicate. |
| |
| <pre>e.g. |
| return lastNames.<b>countWith</b>(Predicates2.equal(), "Smith"); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#countWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">countWith</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#countWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">countWith</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">anySatisfyWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType">boolean</span> <span class="memberName">anySatisfyWith</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">RichIterable</a></code></span></div> |
| <div class="block">Returns true if the predicate evaluates to true for any element of the collection, or return false. |
| Returns false if the collection is empty.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">anySatisfyWith</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">anySatisfyWith</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">allSatisfyWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType">boolean</span> <span class="memberName">allSatisfyWith</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">RichIterable</a></code></span></div> |
| <div class="block">Returns true if the predicate evaluates to true for every element of the collection, or returns false.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">allSatisfyWith</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">allSatisfyWith</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">noneSatisfyWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType">boolean</span> <span class="memberName">noneSatisfyWith</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>,​? super P> predicate, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">RichIterable</a></code></span></div> |
| <div class="block">Returns true if the predicate evaluates to false for every element of the collection, or return false. |
| Returns true if the collection is empty.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">noneSatisfyWith</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">noneSatisfyWith</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="distinct()">distinct</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></span> <span class="memberName">distinct</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/list/MutableList.html#distinct()">MutableList</a></code></span></div> |
| <div class="block">Returns a new <code>ListIterable</code> containing the distinct elements in this list.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/ListIterable.html#distinct()">distinct</a></code> in interface <code><a href="../../../api/list/ListIterable.html" title="interface in org.eclipse.collections.api.list">ListIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/MutableList.html#distinct()">distinct</a></code> in interface <code><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/ordered/OrderedIterable.html#distinct()">distinct</a></code> in interface <code><a href="../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/ordered/ReversibleIterable.html#distinct()">distinct</a></code> in interface <code><a href="../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#distinct()">distinct</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>ListIterable</code> of distinct elements</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="distinct(org.eclipse.collections.api.block.HashingStrategy)">distinct</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></span> <span class="memberName">distinct</span>​(<span class="arguments"><a href="../../../api/block/HashingStrategy.html" title="interface in org.eclipse.collections.api.block">HashingStrategy</a><? super <a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>> hashingStrategy)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/list/MutableList.html#distinct(org.eclipse.collections.api.block.HashingStrategy)">MutableList</a></code></span></div> |
| <div class="block">Returns a new <code>ListIterable</code> containing the distinct elements in this list. Takes HashingStrategy.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/ListIterable.html#distinct(org.eclipse.collections.api.block.HashingStrategy)">distinct</a></code> in interface <code><a href="../../../api/list/ListIterable.html" title="interface in org.eclipse.collections.api.list">ListIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/MutableList.html#distinct(org.eclipse.collections.api.block.HashingStrategy)">distinct</a></code> in interface <code><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#distinct(org.eclipse.collections.api.block.HashingStrategy)">distinct</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>ListIterable</code> of distinct elements</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/RichIterable.html#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">RichIterable</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/RichIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)"><code>RichIterable.makeString(String, String, String)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="take(int)">take</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></span> <span class="memberName">take</span>​(<span class="arguments">int count)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/ordered/ReversibleIterable.html#take(int)">ReversibleIterable</a></code></span></div> |
| <div class="block">Returns the first <code>count</code> elements of the iterable |
| or all the elements in the iterable if <code>count</code> is greater than the length of |
| the iterable.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/ListIterable.html#take(int)">take</a></code> in interface <code><a href="../../../api/list/ListIterable.html" title="interface in org.eclipse.collections.api.list">ListIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/MutableList.html#take(int)">take</a></code> in interface <code><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/ordered/ReversibleIterable.html#take(int)">take</a></code> in interface <code><a href="../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#take(int)">take</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>count</code> - the number of items to take.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="drop(int)">drop</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></span> <span class="memberName">drop</span>​(<span class="arguments">int count)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/ordered/ReversibleIterable.html#drop(int)">ReversibleIterable</a></code></span></div> |
| <div class="block">Returns an iterable after skipping the first <code>count</code> elements |
| or an empty iterable if the <code>count</code> is greater than the length of the iterable.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/ListIterable.html#drop(int)">drop</a></code> in interface <code><a href="../../../api/list/ListIterable.html" title="interface in org.eclipse.collections.api.list">ListIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/list/MutableList.html#drop(int)">drop</a></code> in interface <code><a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/ordered/ReversibleIterable.html#drop(int)">drop</a></code> in interface <code><a href="../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../mutable/AbstractMutableList.html#drop(int)">drop</a></code> in class <code><a href="../mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a><<a href="AbstractArrayAdapter.html" title="type parameter in AbstractArrayAdapter">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>count</code> - the number of items to drop.</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/AbstractArrayAdapter.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>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </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> |