| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (14.0.2) on Sat Aug 08 22:45:01 CDT 2020 --> |
| <title>MutableCollection (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.api.collection, interface: MutableCollection"> |
| <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":6,"i1":18,"i2":18,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":18,"i17":18,"i18":18,"i19":6,"i20":18,"i21":6,"i22":6,"i23":18,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":38,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":38,"i49":38}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"],32:["t6","Deprecated 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/MutableCollection.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.api.collection</a></div> |
| <h1 title="Interface MutableCollection" class="title">Interface MutableCollection<T></h1> |
| </div> |
| <div class="contentContainer"> |
| <section class="description"> |
| <dl> |
| <dt>All Superinterfaces:</dt> |
| <dd><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="../InternalIterable.html" title="interface in org.eclipse.collections.api">InternalIterable</a><T></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="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><T></code></dd> |
| </dl> |
| <dl> |
| <dt>All Known Subinterfaces:</dt> |
| <dd><code><a href="FixedSizeCollection.html" title="interface in org.eclipse.collections.api.collection">FixedSizeCollection</a><T></code>, <code><a href="../list/FixedSizeList.html" title="interface in org.eclipse.collections.api.list">FixedSizeList</a><T></code>, <code><a href="../set/FixedSizeSet.html" title="interface in org.eclipse.collections.api.set">FixedSizeSet</a><T></code>, <code><a href="../bag/MultiReaderBag.html" title="interface in org.eclipse.collections.api.bag">MultiReaderBag</a><T></code>, <code><a href="../list/MultiReaderList.html" title="interface in org.eclipse.collections.api.list">MultiReaderList</a><T></code>, <code><a href="../set/MultiReaderSet.html" title="interface in org.eclipse.collections.api.set">MultiReaderSet</a><T></code>, <code><a href="../bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><T></code>, <code><a href="../bag/MutableBagIterable.html" title="interface in org.eclipse.collections.api.bag">MutableBagIterable</a><T></code>, <code><a href="../list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><T></code>, <code><a href="../set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><T></code>, <code><a href="../set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a><T></code>, <code><a href="../bag/sorted/MutableSortedBag.html" title="interface in org.eclipse.collections.api.bag.sorted">MutableSortedBag</a><T></code>, <code><a href="../set/sorted/MutableSortedSet.html" title="interface in org.eclipse.collections.api.set.sorted">MutableSortedSet</a><T></code></dd> |
| </dl> |
| <dl> |
| <dt>All Known Implementing Classes:</dt> |
| <dd><code><a href="../../impl/list/fixed/AbstractArrayAdapter.html" title="class in org.eclipse.collections.impl.list.fixed">AbstractArrayAdapter</a></code>, <code><a href="../../impl/collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a></code>, <code><a href="../../impl/bag/mutable/AbstractHashBag.html" title="class in org.eclipse.collections.impl.bag.mutable">AbstractHashBag</a></code>, <code><a href="../../impl/list/mutable/AbstractListAdapter.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractListAdapter</a></code>, <code><a href="../../impl/list/fixed/AbstractMemoryEfficientMutableList.html" title="class in org.eclipse.collections.impl.list.fixed">AbstractMemoryEfficientMutableList</a></code>, <code><a href="../../impl/collection/mutable/AbstractMultiReaderMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractMultiReaderMutableCollection</a></code>, <code><a href="../../impl/bag/mutable/AbstractMutableBag.html" title="class in org.eclipse.collections.impl.bag.mutable">AbstractMutableBag</a></code>, <code><a href="../../impl/bag/mutable/AbstractMutableBagIterable.html" title="class in org.eclipse.collections.impl.bag.mutable">AbstractMutableBagIterable</a></code>, <code><a href="../../impl/collection/mutable/AbstractMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractMutableCollection</a></code>, <code><a href="../../impl/list/mutable/AbstractMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">AbstractMutableList</a></code>, <code><a href="../../impl/set/mutable/AbstractMutableSet.html" title="class in org.eclipse.collections.impl.set.mutable">AbstractMutableSet</a></code>, <code><a href="../../impl/bag/sorted/mutable/AbstractMutableSortedBag.html" title="class in org.eclipse.collections.impl.bag.sorted.mutable">AbstractMutableSortedBag</a></code>, <code><a href="../../impl/collection/mutable/AbstractSynchronizedMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractSynchronizedMutableCollection</a></code>, <code><a href="../../impl/set/AbstractUnifiedSet.html" title="class in org.eclipse.collections.impl.set">AbstractUnifiedSet</a></code>, <code><a href="../../impl/collection/mutable/AbstractUnmodifiableMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractUnmodifiableMutableCollection</a></code>, <code><a href="../../impl/list/fixed/ArrayAdapter.html" title="class in org.eclipse.collections.impl.list.fixed">ArrayAdapter</a></code>, <code><a href="../../impl/list/mutable/ArrayListAdapter.html" title="class in org.eclipse.collections.impl.list.mutable">ArrayListAdapter</a></code>, <code><a href="../../impl/collection/mutable/CollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">CollectionAdapter</a></code>, <code><a href="../../impl/list/mutable/CompositeFastList.html" title="class in org.eclipse.collections.impl.list.mutable">CompositeFastList</a></code>, <code><a href="../../impl/list/mutable/FastList.html" title="class in org.eclipse.collections.impl.list.mutable">FastList</a></code>, <code><a href="../../impl/bag/mutable/HashBag.html" title="class in org.eclipse.collections.impl.bag.mutable">HashBag</a></code>, <code><a href="../../impl/bag/strategy/mutable/HashBagWithHashingStrategy.html" title="class in org.eclipse.collections.impl.bag.strategy.mutable">HashBagWithHashingStrategy</a></code>, <code><a href="../../impl/list/mutable/ListAdapter.html" title="class in org.eclipse.collections.impl.list.mutable">ListAdapter</a></code>, <code><a href="../../impl/list/mutable/MultiReaderFastList.html" title="class in org.eclipse.collections.impl.list.mutable">MultiReaderFastList</a></code>, <code><a href="../../impl/bag/mutable/MultiReaderHashBag.html" title="class in org.eclipse.collections.impl.bag.mutable">MultiReaderHashBag</a></code>, <code><a href="../../impl/set/mutable/MultiReaderUnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">MultiReaderUnifiedSet</a></code>, <code><a href="../../impl/list/mutable/RandomAccessListAdapter.html" title="class in org.eclipse.collections.impl.list.mutable">RandomAccessListAdapter</a></code>, <code><a href="../../impl/set/mutable/SetAdapter.html" title="class in org.eclipse.collections.impl.set.mutable">SetAdapter</a></code>, <code><a href="../../impl/set/sorted/mutable/SortedSetAdapter.html" title="class in org.eclipse.collections.impl.set.sorted.mutable">SortedSetAdapter</a></code>, <code><a href="../../impl/bag/mutable/SynchronizedBag.html" title="class in org.eclipse.collections.impl.bag.mutable">SynchronizedBag</a></code>, <code><a href="../../impl/collection/mutable/SynchronizedMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">SynchronizedMutableCollection</a></code>, <code><a href="../../impl/list/mutable/SynchronizedMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">SynchronizedMutableList</a></code>, <code><a href="../../impl/set/mutable/SynchronizedMutableSet.html" title="class in org.eclipse.collections.impl.set.mutable">SynchronizedMutableSet</a></code>, <code><a href="../../impl/bag/sorted/mutable/SynchronizedSortedBag.html" title="class in org.eclipse.collections.impl.bag.sorted.mutable">SynchronizedSortedBag</a></code>, <code><a href="../../impl/set/sorted/mutable/SynchronizedSortedSet.html" title="class in org.eclipse.collections.impl.set.sorted.mutable">SynchronizedSortedSet</a></code>, <code><a href="../../impl/bag/sorted/mutable/TreeBag.html" title="class in org.eclipse.collections.impl.bag.sorted.mutable">TreeBag</a></code>, <code><a href="../../impl/set/sorted/mutable/TreeSortedSet.html" title="class in org.eclipse.collections.impl.set.sorted.mutable">TreeSortedSet</a></code>, <code><a href="../../impl/set/mutable/UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a></code>, <code><a href="../../impl/set/strategy/mutable/UnifiedSetWithHashingStrategy.html" title="class in org.eclipse.collections.impl.set.strategy.mutable">UnifiedSetWithHashingStrategy</a></code>, <code><a href="../../impl/bag/mutable/UnmodifiableBag.html" title="class in org.eclipse.collections.impl.bag.mutable">UnmodifiableBag</a></code>, <code><a href="../../impl/collection/mutable/UnmodifiableMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">UnmodifiableMutableCollection</a></code>, <code><a href="../../impl/list/mutable/UnmodifiableMutableList.html" title="class in org.eclipse.collections.impl.list.mutable">UnmodifiableMutableList</a></code>, <code><a href="../../impl/set/mutable/UnmodifiableMutableSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnmodifiableMutableSet</a></code>, <code><a href="../../impl/bag/sorted/mutable/UnmodifiableSortedBag.html" title="class in org.eclipse.collections.impl.bag.sorted.mutable">UnmodifiableSortedBag</a></code>, <code><a href="../../impl/set/sorted/mutable/UnmodifiableSortedSet.html" title="class in org.eclipse.collections.impl.set.sorted.mutable">UnmodifiableSortedSet</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public interface <span class="typeNameLabel">MutableCollection<T></span> |
| 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><T>, <a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><T></pre> |
| <div class="block">MutableCollection is an interface which extends the base java.util.Collection interface and adds several internal |
| iterator methods, from the Smalltalk Collection protocol. These include variations of forEach, select, reject, |
| detect, collect, injectInto, anySatisfy, allSatisfy. These include count, remove, partition, collectIf. The API also |
| includes converter methods to convert a MutableCollection to a List (toList), to a sorted List (toSortedList), to a |
| Set (toSet), and to a Map (toMap). |
| <p> |
| There are several extensions to MutableCollection, including MutableList, MutableSet, and MutableBag.</div> |
| </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="t3" class="tableTab" onclick="show(4);">Abstract Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t5" class="tableTab" onclick="show(16);">Default Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t6" class="tableTab" onclick="show(32);">Deprecated 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="#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="MutableCollection.html" title="type parameter in MutableCollection">T</a>> iterable)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i1"> |
| <td class="colFirst"><code>default <K,​ |
| V> <a href="../map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><K,​V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#aggregateBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2)">aggregateBy</a></span>​(<a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends K> groupBy, |
| <a href="../block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends V> zeroValueFactory, |
| <a href="../block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super V,​? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends V> nonMutatingAggregator)</code></th> |
| <td class="colLast"> |
| <div class="block">Applies an aggregate function over the iterable grouping results into a map based on the specific groupBy function.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i2"> |
| <td class="colFirst"><code>default <K,​ |
| V> <a href="../map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><K,​V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.procedure.Procedure2)">aggregateInPlaceBy</a></span>​(<a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends K> groupBy, |
| <a href="../block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends V> zeroValueFactory, |
| <a href="../block/procedure/Procedure2.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure2</a><? super V,​? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> mutatingAggregator)</code></th> |
| <td class="colLast"> |
| <div class="block">Applies an aggregate procedure over the iterable grouping results into a Map based on the specific groupBy function.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i3"> |
| <td class="colFirst"><code><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asSynchronized()">asSynchronized</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a synchronized wrapper backed by this collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i4"> |
| <td class="colFirst"><code><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asUnmodifiable()">asUnmodifiable</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an unmodifiable view of this collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i5"> |
| <td class="colFirst"><code><V> <a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</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="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">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="i6"> |
| <td class="colFirst"><code><a href="primitive/MutableBooleanCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableBooleanCollection</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a></span>​(<a href="../block/function/primitive/BooleanFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">BooleanFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> booleanFunction)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new primitive <code>boolean</code> iterable with the results of applying the specified function on each element |
| of the source collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i7"> |
| <td class="colFirst"><code><a href="primitive/MutableByteCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableByteCollection</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a></span>​(<a href="../block/function/primitive/ByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> byteFunction)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new primitive <code>byte</code> iterable with the results of applying the specified function on each element |
| of the source collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i8"> |
| <td class="colFirst"><code><a href="primitive/MutableCharCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableCharCollection</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a></span>​(<a href="../block/function/primitive/CharFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">CharFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> charFunction)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new primitive <code>char</code> iterable with the results of applying the specified function on each element |
| of the source collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i9"> |
| <td class="colFirst"><code><a href="primitive/MutableDoubleCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableDoubleCollection</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a></span>​(<a href="../block/function/primitive/DoubleFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">DoubleFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> doubleFunction)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new primitive <code>double</code> iterable with the results of applying the specified function on each element |
| of the source collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i10"> |
| <td class="colFirst"><code><a href="primitive/MutableFloatCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableFloatCollection</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a></span>​(<a href="../block/function/primitive/FloatFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">FloatFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> floatFunction)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new primitive <code>float</code> iterable with the results of applying the specified function on each element |
| of the source collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i11"> |
| <td class="colFirst"><code><V> <a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><V></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)">collectIf</a></span>​(<a href="../block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> predicate, |
| <a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">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, but only for elements that evaluate to true for the specified predicate.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i12"> |
| <td class="colFirst"><code><a href="primitive/MutableIntCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableIntCollection</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a></span>​(<a href="../block/function/primitive/IntFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> intFunction)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new primitive <code>int</code> iterable with the results of applying the specified function on each element |
| of the source collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i13"> |
| <td class="colFirst"><code><a href="primitive/MutableLongCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableLongCollection</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a></span>​(<a href="../block/function/primitive/LongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> longFunction)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new primitive <code>long</code> iterable with the results of applying the specified function on each element |
| of the source collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i14"> |
| <td class="colFirst"><code><a href="primitive/MutableShortCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableShortCollection</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a></span>​(<a href="../block/function/primitive/ShortFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ShortFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> shortFunction)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new primitive <code>short</code> iterable with the results of applying the specified function on each element |
| of the source collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i15"> |
| <td class="colFirst"><code><P,​ |
| V> <a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><V></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="../block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? super P,​? extends V> function, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../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="altColor" id="i16"> |
| <td class="colFirst"><code>default <V> <a href="../bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#countBy(org.eclipse.collections.api.block.function.Function)">countBy</a></span>​(<a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends V> function)</code></th> |
| <td class="colLast"> |
| <div class="block">This method will count the number of occurrences of each value calculated by applying the |
| function to each element of the collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i17"> |
| <td class="colFirst"><code>default <V> <a href="../bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#countByEach(org.eclipse.collections.api.block.function.Function)">countByEach</a></span>​(<a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">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">This method will count the number of occurrences of each value calculated by applying the |
| function to each element of the collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i18"> |
| <td class="colFirst"><code>default <V,​ |
| P> <a href="../bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#countByWith(org.eclipse.collections.api.block.function.Function2,P)">countByWith</a></span>​(<a href="../block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? super P,​? extends V> function, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">This method will count the number of occurrences of each value calculated by applying the |
| function to each element of the collection with the specified parameter as the second argument.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i19"> |
| <td class="colFirst"><code><V> <a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</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="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">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="../RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i20"> |
| <td class="colFirst"><code>default <P,​ |
| V> <a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P)">flatCollectWith</a></span>​(<a href="../block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? super P,​? 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, |
| P parameter)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i21"> |
| <td class="colFirst"><code><V> <a href="../multimap/MutableMultimap.html" title="interface in org.eclipse.collections.api.multimap">MutableMultimap</a><V,​<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></span>​(<a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends V> function)</code></th> |
| <td class="colLast"> |
| <div class="block">For each element of the iterable, the function is evaluated and the results of these evaluations are collected |
| into a new multimap, where the transformed value is the key and the original values are added to the same (or similar) |
| species of collection as the source iterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i22"> |
| <td class="colFirst"><code><V> <a href="../multimap/MutableMultimap.html" title="interface in org.eclipse.collections.api.multimap">MutableMultimap</a><V,​<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></span>​(<a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">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">Similar to <a href="../RichIterable.html#groupBy(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.groupBy(Function)</code></a>, except the result of evaluating function will return a collection of keys |
| for each value.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i23"> |
| <td class="colFirst"><code>default <V> <a href="../map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><V,​<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#groupByUniqueKey(org.eclipse.collections.api.block.function.Function)">groupByUniqueKey</a></span>​(<a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends V> function)</code></th> |
| <td class="colLast"> |
| <div class="block">For each element of the iterable, the function is evaluated and he results of these evaluations are collected |
| into a new map, where the transformed value is the key.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i24"> |
| <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="../block/function/Function3.html" title="interface in org.eclipse.collections.api.block.function">Function3</a><? super IV,​? super <a href="MutableCollection.html" title="type parameter in MutableCollection">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="i25"> |
| <td class="colFirst"><code><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newEmpty()">newEmpty</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a new empty mutable version of the same collection type.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i26"> |
| <td class="colFirst"><code><a href="../partition/PartitionMutableCollection.html" title="interface in org.eclipse.collections.api.partition">PartitionMutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></span>​(<a href="../block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Filters a collection into a PartitionedIterable based on the evaluation of the predicate.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i27"> |
| <td class="colFirst"><code><P> <a href="../partition/PartitionMutableCollection.html" title="interface in org.eclipse.collections.api.partition">PartitionMutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a></span>​(<a href="../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Filters a collection into a PartitionIterable based on the evaluation of the predicate.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i28"> |
| <td class="colFirst"><code><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></span>​(<a href="../block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a MutableCollection with all elements that evaluate to false for the specified predicate.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i29"> |
| <td class="colFirst"><code><P> <a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a></span>​(<a href="../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a MutableCollection with all elements that evaluate to false for the specified predicate2 and parameter.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i30"> |
| <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="rowColor" id="i31"> |
| <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="../block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">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="altColor" id="i32"> |
| <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="../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">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="rowColor" id="i33"> |
| <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="altColor" id="i34"> |
| <td class="colFirst"><code><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></span>​(<a href="../block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a MutableCollection with all elements that evaluate to true for the specified predicate.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i35"> |
| <td class="colFirst"><code><P> <a href="../tuple/Twin.html" title="interface in org.eclipse.collections.api.tuple">Twin</a><<a href="../list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">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="../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="deprecationComment">since 6.0 use <a href="../RichIterable.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)"><code>RichIterable.partitionWith(Predicate2, Object)</code></a> instead.</div> |
| </div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i36"> |
| <td class="colFirst"><code><S> <a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><S></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><S> clazz)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns all elements of the source collection that are instances of the Class <code>clazz</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i37"> |
| <td class="colFirst"><code><P> <a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></span>​(<a href="../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a MutableCollection with all elements that evaluate to true for the specified predicate2 and parameter.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i38"> |
| <td class="colFirst"><code><V> <a href="../map/primitive/MutableObjectDoubleMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableObjectDoubleMap</a><V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sumByDouble(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumByDouble</a></span>​(<a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends V> groupBy, |
| <a href="../block/function/primitive/DoubleFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">DoubleFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Groups and sums the values using the two specified functions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i39"> |
| <td class="colFirst"><code><V> <a href="../map/primitive/MutableObjectDoubleMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableObjectDoubleMap</a><V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sumByFloat(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumByFloat</a></span>​(<a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends V> groupBy, |
| <a href="../block/function/primitive/FloatFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">FloatFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Groups and sums the values using the two specified functions.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i40"> |
| <td class="colFirst"><code><V> <a href="../map/primitive/MutableObjectLongMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableObjectLongMap</a><V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sumByInt(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.IntFunction)">sumByInt</a></span>​(<a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends V> groupBy, |
| <a href="../block/function/primitive/IntFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Groups and sums the values using the two specified functions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i41"> |
| <td class="colFirst"><code><V> <a href="../map/primitive/MutableObjectLongMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableObjectLongMap</a><V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sumByLong(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.LongFunction)">sumByLong</a></span>​(<a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends V> groupBy, |
| <a href="../block/function/primitive/LongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Groups and sums the values using the two specified functions.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i42"> |
| <td class="colFirst"><code><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></span>​(<a href="../block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> procedure)</code></th> |
| <td class="colLast"> |
| <div class="block">Executes the Procedure for each element in the iterable and returns <code>this</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i43"> |
| <td class="colFirst"><code><a href="ImmutableCollection.html" title="interface in org.eclipse.collections.api.collection">ImmutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toImmutable()">toImmutable</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Converts this <code>MutableCollection</code> to an <code>ImmutableCollection</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i44"> |
| <td class="colFirst"><code><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#with(T)">with</a></span>​(<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a> element)</code></th> |
| <td class="colLast"> |
| <div class="block">This method allows mutable and fixed size collections the ability to add elements to their existing elements.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i45"> |
| <td class="colFirst"><code><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withAll(java.lang.Iterable)">withAll</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="MutableCollection.html" title="type parameter in MutableCollection">T</a>> elements)</code></th> |
| <td class="colLast"> |
| <div class="block">This method allows mutable and fixed size collections the ability to add multiple elements to their existing |
| elements.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i46"> |
| <td class="colFirst"><code><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#without(T)">without</a></span>​(<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a> element)</code></th> |
| <td class="colLast"> |
| <div class="block">This method allows mutable and fixed size collections the ability to remove elements from their existing elements.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i47"> |
| <td class="colFirst"><code><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withoutAll(java.lang.Iterable)">withoutAll</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="MutableCollection.html" title="type parameter in MutableCollection">T</a>> elements)</code></th> |
| <td class="colLast"> |
| <div class="block">This method allows mutable and fixed size collections the ability to remove multiple elements from their existing |
| elements.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i48"> |
| <td class="colFirst"><code><S> <a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="../tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​S>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#zip(java.lang.Iterable)">zip</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><S> that)</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="deprecationComment">in 6.0.</div> |
| </div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i49"> |
| <td class="colFirst"><code><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="../tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#zipWithIndex()">zipWithIndex</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="deprecationComment">in 6.0.</div> |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </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#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/Collection.html?is-external=true#addAll(java.util.Collection)" title="class or interface in java.util" class="externalLink">addAll</a>, <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>, <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>, <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>, <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>, <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>, <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>, <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>, <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#remove(java.lang.Object)" title="class or interface in java.util" class="externalLink">remove</a>, <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>, <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#retainAll(java.util.Collection)" title="class or interface in java.util" class="externalLink">retainAll</a>, <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>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#spliterator()" title="class or interface in java.util" class="externalLink">spliterator</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()" title="class or interface in java.util" class="externalLink">toArray</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>, <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></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.<a href="../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="../InternalIterable.html#forEach(java.util.function.Consumer)">forEach</a>, <a href="../InternalIterable.html#forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,P)">forEachWith</a>, <a href="../InternalIterable.html#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.<a href="../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="../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="../RichIterable.html#allSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">allSatisfy</a>, <a href="../RichIterable.html#allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">allSatisfyWith</a>, <a href="../RichIterable.html#anySatisfy(org.eclipse.collections.api.block.predicate.Predicate)">anySatisfy</a>, <a href="../RichIterable.html#anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">anySatisfyWith</a>, <a href="../RichIterable.html#appendString(java.lang.Appendable)">appendString</a>, <a href="../RichIterable.html#appendString(java.lang.Appendable,java.lang.String)">appendString</a>, <a href="../RichIterable.html#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a>, <a href="../RichIterable.html#asLazy()">asLazy</a>, <a href="../RichIterable.html#chunk(int)">chunk</a>, <a href="../RichIterable.html#collect(org.eclipse.collections.api.block.function.Function,R)">collect</a>, <a href="../RichIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction,R)">collectBoolean</a>, <a href="../RichIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction,R)">collectByte</a>, <a href="../RichIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction,R)">collectChar</a>, <a href="../RichIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction,R)">collectDouble</a>, <a href="../RichIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction,R)">collectFloat</a>, <a href="../RichIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function,R)">collectIf</a>, <a href="../RichIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction,R)">collectInt</a>, <a href="../RichIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction,R)">collectLong</a>, <a href="../RichIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction,R)">collectShort</a>, <a href="../RichIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P,R)">collectWith</a>, <a href="../RichIterable.html#contains(java.lang.Object)">contains</a>, <a href="../RichIterable.html#containsAll(java.util.Collection)">containsAll</a>, <a href="../RichIterable.html#containsAllArguments(java.lang.Object...)">containsAllArguments</a>, <a href="../RichIterable.html#containsAllIterable(java.lang.Iterable)">containsAllIterable</a>, <a href="../RichIterable.html#containsBy(org.eclipse.collections.api.block.function.Function,V)">containsBy</a>, <a href="../RichIterable.html#count(org.eclipse.collections.api.block.predicate.Predicate)">count</a>, <a href="../RichIterable.html#countBy(org.eclipse.collections.api.block.function.Function,R)">countBy</a>, <a href="../RichIterable.html#countByEach(org.eclipse.collections.api.block.function.Function,R)">countByEach</a>, <a href="../RichIterable.html#countByWith(org.eclipse.collections.api.block.function.Function2,P,R)">countByWith</a>, <a href="../RichIterable.html#countWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">countWith</a>, <a href="../RichIterable.html#detect(org.eclipse.collections.api.block.predicate.Predicate)">detect</a>, <a href="../RichIterable.html#detectIfNone(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function0)">detectIfNone</a>, <a href="../RichIterable.html#detectOptional(org.eclipse.collections.api.block.predicate.Predicate)">detectOptional</a>, <a href="../RichIterable.html#detectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWith</a>, <a href="../RichIterable.html#detectWithIfNone(org.eclipse.collections.api.block.predicate.Predicate2,P,org.eclipse.collections.api.block.function.Function0)">detectWithIfNone</a>, <a href="../RichIterable.html#detectWithOptional(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWithOptional</a>, <a href="../RichIterable.html#each(org.eclipse.collections.api.block.procedure.Procedure)">each</a>, <a href="../RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function,R)">flatCollect</a>, <a href="../RichIterable.html#flatCollectBoolean(org.eclipse.collections.api.block.function.Function,R)">flatCollectBoolean</a>, <a href="../RichIterable.html#flatCollectByte(org.eclipse.collections.api.block.function.Function,R)">flatCollectByte</a>, <a href="../RichIterable.html#flatCollectChar(org.eclipse.collections.api.block.function.Function,R)">flatCollectChar</a>, <a href="../RichIterable.html#flatCollectDouble(org.eclipse.collections.api.block.function.Function,R)">flatCollectDouble</a>, <a href="../RichIterable.html#flatCollectFloat(org.eclipse.collections.api.block.function.Function,R)">flatCollectFloat</a>, <a href="../RichIterable.html#flatCollectInt(org.eclipse.collections.api.block.function.Function,R)">flatCollectInt</a>, <a href="../RichIterable.html#flatCollectLong(org.eclipse.collections.api.block.function.Function,R)">flatCollectLong</a>, <a href="../RichIterable.html#flatCollectShort(org.eclipse.collections.api.block.function.Function,R)">flatCollectShort</a>, <a href="../RichIterable.html#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P,R)">flatCollectWith</a>, <a href="../RichIterable.html#forEach(org.eclipse.collections.api.block.procedure.Procedure)">forEach</a>, <a href="../RichIterable.html#getAny()">getAny</a>, <a href="../RichIterable.html#getFirst()">getFirst</a>, <a href="../RichIterable.html#getLast()">getLast</a>, <a href="../RichIterable.html#getOnly()">getOnly</a>, <a href="../RichIterable.html#groupBy(org.eclipse.collections.api.block.function.Function,R)">groupBy</a>, <a href="../RichIterable.html#groupByAndCollect(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">groupByAndCollect</a>, <a href="../RichIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function,R)">groupByEach</a>, <a href="../RichIterable.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function,R)">groupByUniqueKey</a>, <a href="../RichIterable.html#injectInto(double,org.eclipse.collections.api.block.function.primitive.DoubleObjectToDoubleFunction)">injectInto</a>, <a href="../RichIterable.html#injectInto(float,org.eclipse.collections.api.block.function.primitive.FloatObjectToFloatFunction)">injectInto</a>, <a href="../RichIterable.html#injectInto(int,org.eclipse.collections.api.block.function.primitive.IntObjectToIntFunction)">injectInto</a>, <a href="../RichIterable.html#injectInto(long,org.eclipse.collections.api.block.function.primitive.LongObjectToLongFunction)">injectInto</a>, <a href="../RichIterable.html#injectInto(IV,org.eclipse.collections.api.block.function.Function2)">injectInto</a>, <a href="../RichIterable.html#into(R)">into</a>, <a href="../RichIterable.html#isEmpty()">isEmpty</a>, <a href="../RichIterable.html#makeString()">makeString</a>, <a href="../RichIterable.html#makeString(java.lang.String)">makeString</a>, <a href="../RichIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)">makeString</a>, <a href="../RichIterable.html#max()">max</a>, <a href="../RichIterable.html#max(java.util.Comparator)">max</a>, <a href="../RichIterable.html#maxBy(org.eclipse.collections.api.block.function.Function)">maxBy</a>, <a href="../RichIterable.html#maxByOptional(org.eclipse.collections.api.block.function.Function)">maxByOptional</a>, <a href="../RichIterable.html#maxOptional()">maxOptional</a>, <a href="../RichIterable.html#maxOptional(java.util.Comparator)">maxOptional</a>, <a href="../RichIterable.html#min()">min</a>, <a href="../RichIterable.html#min(java.util.Comparator)">min</a>, <a href="../RichIterable.html#minBy(org.eclipse.collections.api.block.function.Function)">minBy</a>, <a href="../RichIterable.html#minByOptional(org.eclipse.collections.api.block.function.Function)">minByOptional</a>, <a href="../RichIterable.html#minOptional()">minOptional</a>, <a href="../RichIterable.html#minOptional(java.util.Comparator)">minOptional</a>, <a href="../RichIterable.html#noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">noneSatisfy</a>, <a href="../RichIterable.html#noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">noneSatisfyWith</a>, <a href="../RichIterable.html#notEmpty()">notEmpty</a>, <a href="../RichIterable.html#reduce(java.util.function.BinaryOperator)">reduce</a>, <a href="../RichIterable.html#reduceInPlace(java.util.function.Supplier,java.util.function.BiConsumer)">reduceInPlace</a>, <a href="../RichIterable.html#reduceInPlace(java.util.stream.Collector)">reduceInPlace</a>, <a href="../RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate,R)">reject</a>, <a href="../RichIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">rejectWith</a>, <a href="../RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate,R)">select</a>, <a href="../RichIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">selectWith</a>, <a href="../RichIterable.html#size()">size</a>, <a href="../RichIterable.html#summarizeDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">summarizeDouble</a>, <a href="../RichIterable.html#summarizeFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">summarizeFloat</a>, <a href="../RichIterable.html#summarizeInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">summarizeInt</a>, <a href="../RichIterable.html#summarizeLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">summarizeLong</a>, <a href="../RichIterable.html#sumOfDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumOfDouble</a>, <a href="../RichIterable.html#sumOfFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumOfFloat</a>, <a href="../RichIterable.html#sumOfInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">sumOfInt</a>, <a href="../RichIterable.html#sumOfLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">sumOfLong</a>, <a href="../RichIterable.html#toArray()">toArray</a>, <a href="../RichIterable.html#toArray(E%5B%5D)">toArray</a>, <a href="../RichIterable.html#toBag()">toBag</a>, <a href="../RichIterable.html#toBiMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toBiMap</a>, <a href="../RichIterable.html#toList()">toList</a>, <a href="../RichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toMap</a>, <a href="../RichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">toMap</a>, <a href="../RichIterable.html#toSet()">toSet</a>, <a href="../RichIterable.html#toSortedBag()">toSortedBag</a>, <a href="../RichIterable.html#toSortedBag(java.util.Comparator)">toSortedBag</a>, <a href="../RichIterable.html#toSortedBagBy(org.eclipse.collections.api.block.function.Function)">toSortedBagBy</a>, <a href="../RichIterable.html#toSortedList()">toSortedList</a>, <a href="../RichIterable.html#toSortedList(java.util.Comparator)">toSortedList</a>, <a href="../RichIterable.html#toSortedListBy(org.eclipse.collections.api.block.function.Function)">toSortedListBy</a>, <a href="../RichIterable.html#toSortedMap(java.util.Comparator,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../RichIterable.html#toSortedMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../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="../RichIterable.html#toSortedSet()">toSortedSet</a>, <a href="../RichIterable.html#toSortedSet(java.util.Comparator)">toSortedSet</a>, <a href="../RichIterable.html#toSortedSetBy(org.eclipse.collections.api.block.function.Function)">toSortedSetBy</a>, <a href="../RichIterable.html#toString()">toString</a>, <a href="../RichIterable.html#zip(java.lang.Iterable,R)">zip</a>, <a href="../RichIterable.html#zipWithIndex(R)">zipWithIndex</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="with(java.lang.Object)"> |
| <!-- --> |
| </a><a id="with(T)">with</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></span> <span class="memberName">with</span>​(<span class="arguments"><a href="MutableCollection.html" title="type parameter in MutableCollection">T</a> element)</span></div> |
| <div class="block">This method allows mutable and fixed size collections the ability to add elements to their existing elements. |
| In order to support fixed size a new instance of a collection would have to be returned taking the elements of |
| the original collection and appending the new element to form the new collection. In the case of mutable |
| collections, the original collection is modified, and is returned. In order to use this method properly with |
| mutable and fixed size collections the following approach must be taken: |
| |
| <pre> |
| MutableCollection<String> list = list.with("1"); |
| list = list.with("2"); |
| return list; |
| </pre> |
| In the case of <a href="FixedSizeCollection.html" title="interface in org.eclipse.collections.api.collection"><code>FixedSizeCollection</code></a> a new instance of MutableCollection will be returned by with, and any |
| variables that previously referenced the original collection will need to be redirected to reference the |
| new instance. For other MutableCollection types you will replace the reference to collection with the same |
| collection, since the instance will return "this" after calling add on itself.</div> |
| <dl> |
| <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#add(E)" title="class or interface in java.util" class="externalLink"><code>Collection.add(Object)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="without(java.lang.Object)"> |
| <!-- --> |
| </a><a id="without(T)">without</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></span> <span class="memberName">without</span>​(<span class="arguments"><a href="MutableCollection.html" title="type parameter in MutableCollection">T</a> element)</span></div> |
| <div class="block">This method allows mutable and fixed size collections the ability to remove elements from their existing elements. |
| In order to support fixed size a new instance of a collection would have to be returned containing the elements |
| that would be left from the original collection after calling remove. In the case of mutable collections, the |
| original collection is modified, and is returned. In order to use this method properly with mutable and fixed |
| size collections the following approach must be taken: |
| |
| <pre> |
| MutableCollection<String> list = list.without("1"); |
| list = list.without("2"); |
| return list; |
| </pre> |
| In the case of <a href="FixedSizeCollection.html" title="interface in org.eclipse.collections.api.collection"><code>FixedSizeCollection</code></a> a new instance of MutableCollection will be returned by without, and |
| any variables that previously referenced the original collection will need to be redirected to reference the |
| new instance. For other MutableCollection types you will replace the reference to collection with the same |
| collection, since the instance will return "this" after calling remove on itself.</div> |
| <dl> |
| <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#remove(java.lang.Object)" title="class or interface in java.util" class="externalLink"><code>Collection.remove(Object)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withAll(java.lang.Iterable)">withAll</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></span> <span class="memberName">withAll</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="MutableCollection.html" title="type parameter in MutableCollection">T</a>> elements)</span></div> |
| <div class="block">This method allows mutable and fixed size collections the ability to add multiple elements to their existing |
| elements. In order to support fixed size a new instance of a collection would have to be returned taking the |
| elements of the original collection and appending the new elements to form the new collection. In the case of |
| mutable collections, the original collection is modified, and is returned. In order to use this method properly |
| with mutable and fixed size collections the following approach must be taken: |
| |
| <pre> |
| MutableCollection<String> list = list.withAll(FastList.newListWith("1", "2")); |
| </pre> |
| In the case of <a href="FixedSizeCollection.html" title="interface in org.eclipse.collections.api.collection"><code>FixedSizeCollection</code></a> a new instance of MutableCollection will be returned by withAll, and |
| any variables that previously referenced the original collection will need to be redirected to reference the |
| new instance. For other MutableCollection types you will replace the reference to collection with the same |
| collection, since the instance will return "this" after calling addAll on itself.</div> |
| <dl> |
| <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="withoutAll(java.lang.Iterable)">withoutAll</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></span> <span class="memberName">withoutAll</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="MutableCollection.html" title="type parameter in MutableCollection">T</a>> elements)</span></div> |
| <div class="block">This method allows mutable and fixed size collections the ability to remove multiple elements from their existing |
| elements. In order to support fixed size a new instance of a collection would have to be returned containing the |
| elements that would be left from the original collection after calling removeAll. In the case of mutable |
| collections, the original collection is modified, and is returned. In order to use this method properly with |
| mutable and fixed size collections the following approach must be taken: |
| |
| <pre> |
| MutableCollection<String> list = list.withoutAll(FastList.newListWith("1", "2")); |
| </pre> |
| In the case of <a href="FixedSizeCollection.html" title="interface in org.eclipse.collections.api.collection"><code>FixedSizeCollection</code></a> a new instance of MutableCollection will be returned by withoutAll, |
| and any variables that previously referenced the original collection will need to be redirected to reference the |
| new instance. For other MutableCollection types you will replace the reference to collection with the same |
| collection, since the instance will return "this" after calling removeAll on itself.</div> |
| <dl> |
| <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="newEmpty()">newEmpty</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></span> <span class="memberName">newEmpty</span>()</div> |
| <div class="block">Creates a new empty mutable version of the same collection type. For example, if this instance is a FastList, |
| this method will return a new empty FastList. If the class of this instance is immutable or fixed size (i.e. |
| SingletonList) then a mutable alternative to the class will be provided.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></span> <span class="memberName">tap</span>​(<span class="arguments"><a href="../block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> procedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../RichIterable.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">RichIterable</a></code></span></div> |
| <div class="block">Executes the Procedure for each element in the iterable and returns <code>this</code>. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| RichIterable<Person> tapped = |
| people.<b>tap</b>(person -> LOGGER.info(person.getName())); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| RichIterable<Person> tapped = |
| people.<b>tap</b>(new Procedure<Person>() |
| { |
| public void value(Person person) |
| { |
| LOGGER.info(person.getName()); |
| } |
| }); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../RichIterable.html#each(org.eclipse.collections.api.block.procedure.Procedure)"><code>RichIterable.each(Procedure)</code></a>, |
| <a href="../RichIterable.html#forEach(org.eclipse.collections.api.block.procedure.Procedure)"><code>RichIterable.forEach(Procedure)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></span> <span class="memberName">select</span>​(<span class="arguments"><a href="../block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> predicate)</span></div> |
| <div class="block">Returns a MutableCollection with all elements that evaluate to true for the specified predicate. |
| |
| <pre> |
| MutableCollection<Integer> livesInLondon = |
| people.select(person -> person.getAddress().getCity().equals("London")); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">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)"> |
| <!-- --> |
| </a><a id="selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></h3> |
| <div class="memberSignature"><span class="typeParameters"><P></span> <span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></span> <span class="memberName">selectWith</span>​(<span class="arguments"><a href="../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? super P> predicate, |
| P parameter)</span></div> |
| <div class="block">Returns a MutableCollection with all elements that evaluate to true for the specified predicate2 and parameter. |
| |
| <pre> |
| MutableCollection<Integer> fives = |
| integers.selectWith(Predicates2.equal(), Integer.valueOf(5)); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - a <a href="../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> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../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)">reject</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></span> <span class="memberName">reject</span>​(<span class="arguments"><a href="../block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> predicate)</span></div> |
| <div class="block">Returns a MutableCollection with all elements that evaluate to false for the specified predicate. |
| |
| <pre> |
| MutableCollection<Person> notSmiths = |
| people.reject(person -> person.person.getLastName().equals("Smith")); |
| </pre> |
| Using the <code>Predicates</code> factory: |
| |
| <pre> |
| MutableCollection<Person> notSmiths = people.reject(Predicates.attributeEqual("lastName", "Smith")); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - a <a href="../block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate</code></a> to use as the reject criteria</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a RichIterable that contains elements that cause <a href="../block/predicate/Predicate.html#accept(T)"><code>Predicate.accept(Object)</code></a> method to evaluate to false</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a></h3> |
| <div class="memberSignature"><span class="typeParameters"><P></span> <span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></span> <span class="memberName">rejectWith</span>​(<span class="arguments"><a href="../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? super P> predicate, |
| P parameter)</span></div> |
| <div class="block">Returns a MutableCollection with all elements that evaluate to false for the specified predicate2 and parameter. |
| |
| <pre>e.g. |
| MutableCollection<Integer> selected = |
| integers.rejectWith(Predicates2.equal(), Integer.valueOf(5)); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - a <a href="../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> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../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="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="annotations"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| </span><span class="typeParameters"><P></span> <span class="returnType"><a href="../tuple/Twin.html" title="interface in org.eclipse.collections.api.tuple">Twin</a><<a href="../list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>>></span> <span class="memberName">selectAndRejectWith</span>​(<span class="arguments"><a href="../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? super P> predicate, |
| P parameter)</span></div> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="deprecationComment">since 6.0 use <a href="../RichIterable.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)"><code>RichIterable.partitionWith(Predicate2, Object)</code></a> instead.</div> |
| </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> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="../partition/PartitionMutableCollection.html" title="interface in org.eclipse.collections.api.partition">PartitionMutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></span> <span class="memberName">partition</span>​(<span class="arguments"><a href="../block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> predicate)</span></div> |
| <div class="block">Filters a collection into a PartitionedIterable based on the evaluation of the predicate. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| PartitionIterable<Person> newYorkersAndNonNewYorkers = |
| people.<b>partition</b>(person -> person.getAddress().getState().getName().equals("New York")); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| PartitionIterable<Person> newYorkersAndNonNewYorkers = |
| people.<b>partition</b>(new Predicate<Person>() |
| { |
| public boolean accept(Person person) |
| { |
| return person.getAddress().getState().getName().equals("New York"); |
| } |
| }); |
| </pre> |
| Co-variant example for MutableCollection: |
| <pre> |
| PartitionMutableCollection<Person> newYorkersAndNonNewYorkers = |
| people.partition(person -> person.getAddress().getState().getName().equals("New York")); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a></h3> |
| <div class="memberSignature"><span class="typeParameters"><P></span> <span class="returnType"><a href="../partition/PartitionMutableCollection.html" title="interface in org.eclipse.collections.api.partition">PartitionMutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></span> <span class="memberName">partitionWith</span>​(<span class="arguments"><a href="../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? super P> predicate, |
| P parameter)</span></div> |
| <div class="block">Filters a collection into a PartitionIterable based on the evaluation of the predicate. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| PartitionIterable<Person> newYorkersAndNonNewYorkers = |
| people.<b>partitionWith</b>((Person person, String state) -> person.getAddress().getState().getName().equals(state), "New York"); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| PartitionIterable<Person> newYorkersAndNonNewYorkers = |
| people.<b>partitionWith</b>(new Predicate2<Person, String>() |
| { |
| public boolean accept(Person person, String state) |
| { |
| return person.getAddress().getState().getName().equals(state); |
| } |
| }, "New York"); |
| </pre> |
| Co-variant example for MutableCollection: |
| <pre> |
| PartitionMutableCollection<Person> newYorkersAndNonNewYorkers = |
| people.partitionWith((Person person, String state) -> person.getAddress().getState().getName().equals(state), "New York"); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="selectInstancesOf(java.lang.Class)">selectInstancesOf</a></h3> |
| <div class="memberSignature"><span class="typeParameters"><S></span> <span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><S></span> <span class="memberName">selectInstancesOf</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><S> clazz)</span></div> |
| <div class="block">Returns all elements of the source collection that are instances of the Class <code>clazz</code>. |
| |
| <pre> |
| RichIterable<Integer> integers = |
| List.mutable.with(new Integer(0), new Long(0L), new Double(0.0)).selectInstancesOf(Integer.class); |
| </pre> |
| Co-variant example for MutableCollection: |
| <pre> |
| MutableCollection<Integer> integers = |
| List.mutable.with(new Integer(0), new Long(0L), new Double(0.0)).selectInstancesOf(Integer.class); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.0</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="returnType">boolean</span> <span class="memberName">removeIf</span>​(<span class="arguments"><a href="../block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> predicate)</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> |
| </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="typeParameters"><P></span> <span class="returnType">boolean</span> <span class="memberName">removeIfWith</span>​(<span class="arguments"><a href="../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? super P> predicate, |
| P parameter)</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> |
| </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="typeParameters"><V></span> <span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><V></span> <span class="memberName">collect</span>​(<span class="arguments"><a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends V> function)</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="../RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="primitive/MutableBooleanCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableBooleanCollection</a></span> <span class="memberName">collectBoolean</span>​(<span class="arguments"><a href="../block/function/primitive/BooleanFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">BooleanFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> booleanFunction)</span></div> |
| <div class="block">Returns a new primitive <code>boolean</code> iterable with the results of applying the specified function on each element |
| of the source collection. This method is also commonly called transform or map. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| BooleanIterable licenses = |
| people.collectBoolean(person -> person.hasDrivingLicense()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| BooleanIterable licenses = |
| people.collectBoolean(new BooleanFunction<Person>() |
| { |
| public boolean booleanValueOf(Person person) |
| { |
| return person.hasDrivingLicense(); |
| } |
| }); |
| </pre> |
| Co-variant example for MutableCollection: |
| <pre> |
| MutableBooleanCollection licenses = |
| people.collectBoolean(person -> person.hasDrivingLicense()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="primitive/MutableByteCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableByteCollection</a></span> <span class="memberName">collectByte</span>​(<span class="arguments"><a href="../block/function/primitive/ByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> byteFunction)</span></div> |
| <div class="block">Returns a new primitive <code>byte</code> iterable with the results of applying the specified function on each element |
| of the source collection. This method is also commonly called transform or map. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| ByteIterable bytes = |
| people.collectByte(person -> person.getCode()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| ByteIterable bytes = |
| people.collectByte(new ByteFunction<Person>() |
| { |
| public byte byteValueOf(Person person) |
| { |
| return person.getCode(); |
| } |
| }); |
| </pre> |
| Co-variant example for MutableCollection: |
| <pre> |
| MutableByteCollection bytes = |
| people.collectByte(person -> person.getCode()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="primitive/MutableCharCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableCharCollection</a></span> <span class="memberName">collectChar</span>​(<span class="arguments"><a href="../block/function/primitive/CharFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">CharFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> charFunction)</span></div> |
| <div class="block">Returns a new primitive <code>char</code> iterable with the results of applying the specified function on each element |
| of the source collection. This method is also commonly called transform or map. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| CharIterable chars = |
| people.collectChar(person -> person.getMiddleInitial()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| CharIterable chars = |
| people.collectChar(new CharFunction<Person>() |
| { |
| public char charValueOf(Person person) |
| { |
| return person.getMiddleInitial(); |
| } |
| }); |
| </pre> |
| Co-variant example for MutableCollection: |
| <pre> |
| MutableCharCollection chars = |
| people.collectChar(person -> person.getMiddleInitial()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="primitive/MutableDoubleCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableDoubleCollection</a></span> <span class="memberName">collectDouble</span>​(<span class="arguments"><a href="../block/function/primitive/DoubleFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">DoubleFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> doubleFunction)</span></div> |
| <div class="block">Returns a new primitive <code>double</code> iterable with the results of applying the specified function on each element |
| of the source collection. This method is also commonly called transform or map. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| DoubleIterable doubles = |
| people.collectDouble(person -> person.getMilesFromNorthPole()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| DoubleIterable doubles = |
| people.collectDouble(new DoubleFunction<Person>() |
| { |
| public double doubleValueOf(Person person) |
| { |
| return person.getMilesFromNorthPole(); |
| } |
| }); |
| </pre> |
| Co-variant example for MutableCollection: |
| <pre> |
| MutableDoubleCollection doubles = |
| people.collectDouble(person -> person.getMilesFromNorthPole()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="primitive/MutableFloatCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableFloatCollection</a></span> <span class="memberName">collectFloat</span>​(<span class="arguments"><a href="../block/function/primitive/FloatFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">FloatFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> floatFunction)</span></div> |
| <div class="block">Returns a new primitive <code>float</code> iterable with the results of applying the specified function on each element |
| of the source collection. This method is also commonly called transform or map. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| FloatIterable floats = |
| people.collectFloat(person -> person.getHeightInInches()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| FloatIterable floats = |
| people.collectFloat(new FloatFunction<Person>() |
| { |
| public float floatValueOf(Person person) |
| { |
| return person.getHeightInInches(); |
| } |
| }); |
| </pre> |
| Co-variant example for MutableCollection: |
| <pre> |
| MutableFloatCollection floats = |
| people.collectFloat(person -> person.getHeightInInches()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="primitive/MutableIntCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableIntCollection</a></span> <span class="memberName">collectInt</span>​(<span class="arguments"><a href="../block/function/primitive/IntFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> intFunction)</span></div> |
| <div class="block">Returns a new primitive <code>int</code> iterable with the results of applying the specified function on each element |
| of the source collection. This method is also commonly called transform or map. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| IntIterable ints = |
| people.collectInt(person -> person.getAge()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| IntIterable ints = |
| people.collectInt(new IntFunction<Person>() |
| { |
| public int intValueOf(Person person) |
| { |
| return person.getAge(); |
| } |
| }); |
| </pre> |
| Co-variant example for MutableCollection: |
| <pre> |
| MutableIntCollection ints = |
| people.collectInt(person -> person.getAge()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="primitive/MutableLongCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableLongCollection</a></span> <span class="memberName">collectLong</span>​(<span class="arguments"><a href="../block/function/primitive/LongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> longFunction)</span></div> |
| <div class="block">Returns a new primitive <code>long</code> iterable with the results of applying the specified function on each element |
| of the source collection. This method is also commonly called transform or map. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| LongIterable longs = |
| people.collectLong(person -> person.getGuid()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| LongIterable longs = |
| people.collectLong(new LongFunction<Person>() |
| { |
| public long longValueOf(Person person) |
| { |
| return person.getGuid(); |
| } |
| }); |
| </pre> |
| Co-variant example for MutableCollection: |
| <pre> |
| MutableLongCollection longs = |
| people.collectLong(person -> person.getGuid()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="primitive/MutableShortCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableShortCollection</a></span> <span class="memberName">collectShort</span>​(<span class="arguments"><a href="../block/function/primitive/ShortFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ShortFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> shortFunction)</span></div> |
| <div class="block">Returns a new primitive <code>short</code> iterable with the results of applying the specified function on each element |
| of the source collection. This method is also commonly called transform or map. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| ShortIterable shorts = |
| people.collectShort(person -> person.getNumberOfJunkMailItemsReceivedPerMonth()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| ShortIterable shorts = |
| people.collectShort(new ShortFunction<Person>() |
| { |
| public short shortValueOf(Person person) |
| { |
| return person.getNumberOfJunkMailItemsReceivedPerMonth(); |
| } |
| }); |
| </pre> |
| Co-variant example for MutableCollection: |
| <pre> |
| MutableShortCollection shorts = |
| people.collectShort(person -> person.getNumberOfJunkMailItemsReceivedPerMonth()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></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="typeParameters"><P,​ |
| V></span> <span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><V></span> <span class="memberName">collectWith</span>​(<span class="arguments"><a href="../block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? super P,​? extends V> function, |
| P parameter)</span></div> |
| <div class="block">Same as <a href="../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="../RichIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - A <a href="../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="../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="../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)">collectIf</a></h3> |
| <div class="memberSignature"><span class="typeParameters"><V></span> <span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><V></span> <span class="memberName">collectIf</span>​(<span class="arguments"><a href="../block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> predicate, |
| <a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends V> function)</span></div> |
| <div class="block">Returns a new MutableCollection with the results of applying the specified function to each element of the source |
| collection, but only for elements that evaluate to true for the specified predicate. |
| |
| <pre> |
| MutableCollection<String> collected = |
| Lists.mutable.of().with(1, 2, 3).collectIf(Predicates.notNull(), Functions.getToString()) |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)">collectIf</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></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="typeParameters"><V></span> <span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><V></span> <span class="memberName">flatCollect</span>​(<span class="arguments"><a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">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"><code>flatCollect</code> is a special case of <a href="../RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a>. With <code>collect</code>, when the <a href="../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="../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="../RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - The <a href="../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> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.0</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="flatCollectWith(org.eclipse.collections.api.block.function.Function2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="flatCollectWith(org.eclipse.collections.api.block.function.Function2,P)">flatCollectWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="typeParameters"><P,​ |
| V></span> <span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><V></span> <span class="memberName">flatCollectWith</span>​(<span class="arguments"><a href="../block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? super P,​? 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, |
| P parameter)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P)">flatCollectWith</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>9.2</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="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="typeParameters"><IV,​ |
| P></span> <span class="returnType">IV</span> <span class="memberName">injectIntoWith</span>​(<span class="arguments">IV injectValue, |
| <a href="../block/function/Function3.html" title="interface in org.eclipse.collections.api.block.function">Function3</a><? super IV,​? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? super P,​? extends IV> function, |
| P parameter)</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="seeLabel">See Also:</span></dt> |
| <dd><a href="../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="asUnmodifiable()">asUnmodifiable</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></span> <span class="memberName">asUnmodifiable</span>()</div> |
| <div class="block">Returns an unmodifiable view of this collection. This is the equivalent of using |
| <code>Collections.unmodifiableCollection(this)</code> with a return type that supports the full |
| iteration protocols available on <code>MutableCollection</code>. Methods which would |
| mutate the underlying collection will throw UnsupportedOperationExceptions.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an unmodifiable view of this collection.</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.0</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collections.html?is-external=true#unmodifiableCollection(java.util.Collection)" title="class or interface in java.util" class="externalLink"><code>Collections.unmodifiableCollection(Collection)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="asSynchronized()">asSynchronized</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></span> <span class="memberName">asSynchronized</span>()</div> |
| <div class="block">Returns a synchronized wrapper backed by this collection. This is the equivalent of using |
| <code>Collections.synchronizedCollection(this)</code> only with a return type that supports the full |
| iteration protocols available on <code>MutableCollection</code>. |
| |
| The preferred way of iterating over a synchronized collection is to use the internal iteration |
| methods which are properly synchronized internally. |
| |
| <pre> |
| MutableCollection synchedCollection = collection.asSynchronized(); |
| ... |
| synchedCollection.forEach(each -> ... ); |
| synchedCollection.select(each -> ... ); |
| synchedCollection.collect(each -> ... ); |
| </pre> |
| |
| If you want to iterate using an imperative style, you must protect external iterators using |
| a synchronized block. This includes explicit iterators as well as JDK 5 style for loops. |
| <p></div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a synchronized view of this collection.</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.0</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collections.html?is-external=true#synchronizedCollection(java.util.Collection)" title="class or interface in java.util" class="externalLink"><code>Collections.synchronizedCollection(Collection)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toImmutable()">toImmutable</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="ImmutableCollection.html" title="interface in org.eclipse.collections.api.collection">ImmutableCollection</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></span> <span class="memberName">toImmutable</span>()</div> |
| <div class="block">Converts this <code>MutableCollection</code> to an <code>ImmutableCollection</code>.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.0</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="sumByInt(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.IntFunction)">sumByInt</a></h3> |
| <div class="memberSignature"><span class="typeParameters"><V></span> <span class="returnType"><a href="../map/primitive/MutableObjectLongMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableObjectLongMap</a><V></span> <span class="memberName">sumByInt</span>​(<span class="arguments"><a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends V> groupBy, |
| <a href="../block/function/primitive/IntFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../RichIterable.html#sumByInt(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.IntFunction)">RichIterable</a></code></span></div> |
| <div class="block">Groups and sums the values using the two specified functions.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#sumByInt(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.IntFunction)">sumByInt</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="sumByFloat(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumByFloat</a></h3> |
| <div class="memberSignature"><span class="typeParameters"><V></span> <span class="returnType"><a href="../map/primitive/MutableObjectDoubleMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableObjectDoubleMap</a><V></span> <span class="memberName">sumByFloat</span>​(<span class="arguments"><a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends V> groupBy, |
| <a href="../block/function/primitive/FloatFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">FloatFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../RichIterable.html#sumByFloat(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.FloatFunction)">RichIterable</a></code></span></div> |
| <div class="block">Groups and sums the values using the two specified functions.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#sumByFloat(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumByFloat</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="sumByLong(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.LongFunction)">sumByLong</a></h3> |
| <div class="memberSignature"><span class="typeParameters"><V></span> <span class="returnType"><a href="../map/primitive/MutableObjectLongMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableObjectLongMap</a><V></span> <span class="memberName">sumByLong</span>​(<span class="arguments"><a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends V> groupBy, |
| <a href="../block/function/primitive/LongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../RichIterable.html#sumByLong(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.LongFunction)">RichIterable</a></code></span></div> |
| <div class="block">Groups and sums the values using the two specified functions.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#sumByLong(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.LongFunction)">sumByLong</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="sumByDouble(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumByDouble</a></h3> |
| <div class="memberSignature"><span class="typeParameters"><V></span> <span class="returnType"><a href="../map/primitive/MutableObjectDoubleMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableObjectDoubleMap</a><V></span> <span class="memberName">sumByDouble</span>​(<span class="arguments"><a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends V> groupBy, |
| <a href="../block/function/primitive/DoubleFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">DoubleFunction</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../RichIterable.html#sumByDouble(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.DoubleFunction)">RichIterable</a></code></span></div> |
| <div class="block">Groups and sums the values using the two specified functions.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#sumByDouble(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumByDouble</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="countBy(org.eclipse.collections.api.block.function.Function)">countBy</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="typeParameters"><V></span> <span class="returnType"><a href="../bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><V></span> <span class="memberName">countBy</span>​(<span class="arguments"><a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends V> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../RichIterable.html#countBy(org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block">This method will count the number of occurrences of each value calculated by applying the |
| function to each element of the collection.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#countBy(org.eclipse.collections.api.block.function.Function)">countBy</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>9.0</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="countByWith(org.eclipse.collections.api.block.function.Function2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="countByWith(org.eclipse.collections.api.block.function.Function2,P)">countByWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="typeParameters"><V,​ |
| P></span> <span class="returnType"><a href="../bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><V></span> <span class="memberName">countByWith</span>​(<span class="arguments"><a href="../block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? super P,​? extends V> function, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../RichIterable.html#countByWith(org.eclipse.collections.api.block.function.Function2,P)">RichIterable</a></code></span></div> |
| <div class="block">This method will count the number of occurrences of each value calculated by applying the |
| function to each element of the collection with the specified parameter as the second argument.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#countByWith(org.eclipse.collections.api.block.function.Function2,P)">countByWith</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>9.0</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="countByEach(org.eclipse.collections.api.block.function.Function)">countByEach</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="typeParameters"><V></span> <span class="returnType"><a href="../bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><V></span> <span class="memberName">countByEach</span>​(<span class="arguments"><a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">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="../RichIterable.html#countByEach(org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block">This method will count the number of occurrences of each value calculated by applying the |
| function to each element of the collection.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#countByEach(org.eclipse.collections.api.block.function.Function)">countByEach</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>10.0.0</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></h3> |
| <div class="memberSignature"><span class="typeParameters"><V></span> <span class="returnType"><a href="../multimap/MutableMultimap.html" title="interface in org.eclipse.collections.api.multimap">MutableMultimap</a><V,​<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></span> <span class="memberName">groupBy</span>​(<span class="arguments"><a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends V> function)</span></div> |
| <div class="block">For each element of the iterable, the function is evaluated and the results of these evaluations are collected |
| into a new multimap, where the transformed value is the key and the original values are added to the same (or similar) |
| species of collection as the source iterable. |
| <p> |
| Example using a Java 8 method reference: |
| <pre> |
| Multimap<String, Person> peopleByLastName = |
| people.groupBy(Person::getLastName); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| Multimap<String, Person> peopleByLastName = |
| people.groupBy(new Function<Person, String>() |
| { |
| public String valueOf(Person person) |
| { |
| return person.getLastName(); |
| } |
| }); |
| </pre> |
| Co-variant example for MutableCollection: |
| <pre> |
| MutableMultimap<String, Person> peopleByLastName = |
| people.groupBy(Person::getLastName); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></h3> |
| <div class="memberSignature"><span class="typeParameters"><V></span> <span class="returnType"><a href="../multimap/MutableMultimap.html" title="interface in org.eclipse.collections.api.multimap">MutableMultimap</a><V,​<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></span> <span class="memberName">groupByEach</span>​(<span class="arguments"><a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">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="../RichIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block">Similar to <a href="../RichIterable.html#groupBy(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.groupBy(Function)</code></a>, except the result of evaluating function will return a collection of keys |
| for each value.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="groupByUniqueKey(org.eclipse.collections.api.block.function.Function)">groupByUniqueKey</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="typeParameters"><V></span> <span class="returnType"><a href="../map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><V,​<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></span> <span class="memberName">groupByUniqueKey</span>​(<span class="arguments"><a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends V> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../RichIterable.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block">For each element of the iterable, the function is evaluated and he results of these evaluations are collected |
| into a new map, where the transformed value is the key. The generated keys must each be unique, or else an |
| exception is thrown.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function)">groupByUniqueKey</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../RichIterable.html#groupBy(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.groupBy(Function)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="zip(java.lang.Iterable)">zip</a></h3> |
| <div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| </span><span class="typeParameters"><S></span> <span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="../tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​S>></span> <span class="memberName">zip</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><S> that)</span></div> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="deprecationComment">in 6.0. Use <a href="../ordered/OrderedIterable.html#zip(java.lang.Iterable)"><code>OrderedIterable.zip(Iterable)</code></a> instead.</div> |
| </div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../RichIterable.html#zip(java.lang.Iterable)">RichIterable</a></code></span></div> |
| <div class="block">Returns a <code>RichIterable</code> formed from this <code>RichIterable</code> and another <code>RichIterable</code> by |
| combining corresponding elements in pairs. If one of the two <code>RichIterable</code>s is longer than the other, its |
| remaining elements are ignored.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#zip(java.lang.Iterable)">zip</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>S</code> - the type of the second half of the returned pairs</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>that</code> - The <code>RichIterable</code> providing the second half of each result pair</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A new <code>RichIterable</code> containing pairs consisting of corresponding elements of this <code> |
| RichIterable</code> and that. The length of the returned <code>RichIterable</code> is the minimum of the lengths of |
| this <code>RichIterable</code> and that.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="zipWithIndex()">zipWithIndex</a></h3> |
| <div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a> |
| </span><span class="returnType"><a href="MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="../tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>>></span> <span class="memberName">zipWithIndex</span>()</div> |
| <div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="deprecationComment">in 6.0. Use <a href="../ordered/OrderedIterable.html#zipWithIndex()"><code>OrderedIterable.zipWithIndex()</code></a> instead.</div> |
| </div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../RichIterable.html#zipWithIndex()">RichIterable</a></code></span></div> |
| <div class="block">Zips this <code>RichIterable</code> with its indices.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.html#zipWithIndex()">zipWithIndex</a></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A new <code>RichIterable</code> containing pairs consisting of all elements of this <code>RichIterable</code> |
| paired with their index. Indices start at 0.</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../RichIterable.html#zip(java.lang.Iterable)"><code>RichIterable.zip(Iterable)</code></a></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="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="MutableCollection.html" title="type parameter in MutableCollection">T</a>> iterable)</span></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.0</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="removeAllIterable(java.lang.Iterable)">removeAllIterable</a></h3> |
| <div class="memberSignature"><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="simpleTagLabel">Since:</span></dt> |
| <dd>1.0</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="retainAllIterable(java.lang.Iterable)">retainAllIterable</a></h3> |
| <div class="memberSignature"><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="simpleTagLabel">Since:</span></dt> |
| <dd>1.0</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="aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.procedure.Procedure2)">aggregateInPlaceBy</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="typeParameters"><K,​ |
| V></span> <span class="returnType"><a href="../map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><K,​V></span> <span class="memberName">aggregateInPlaceBy</span>​(<span class="arguments"><a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends K> groupBy, |
| <a href="../block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends V> zeroValueFactory, |
| <a href="../block/procedure/Procedure2.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure2</a><? super V,​? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>> mutatingAggregator)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../RichIterable.html#aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.procedure.Procedure2)">RichIterable</a></code></span></div> |
| <div class="block">Applies an aggregate procedure over the iterable grouping results into a Map based on the specific groupBy function. |
| Aggregate results are required to be mutable as they will be changed in place by the procedure. A second function |
| specifies the initial "zero" aggregate value to work with (i.e. new AtomicInteger(0)).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.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></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="aggregateBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2)">aggregateBy</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="typeParameters"><K,​ |
| V></span> <span class="returnType"><a href="../map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><K,​V></span> <span class="memberName">aggregateBy</span>​(<span class="arguments"><a href="../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends K> groupBy, |
| <a href="../block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends V> zeroValueFactory, |
| <a href="../block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super V,​? super <a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>,​? extends V> nonMutatingAggregator)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../RichIterable.html#aggregateBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2)">RichIterable</a></code></span></div> |
| <div class="block">Applies an aggregate function over the iterable grouping results into a map based on the specific groupBy function. |
| Aggregate results are allowed to be immutable as they will be replaced in place in the map. A second function |
| specifies the initial "zero" aggregate value to work with (i.e. Integer.valueOf(0)).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../RichIterable.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></code> in interface <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="MutableCollection.html" title="type parameter in MutableCollection">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/MutableCollection.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> |