| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (14.0.2) on Thu Aug 20 21:25:36 CDT 2020 --> |
| <title>SynchronizedMutableMap (Eclipse Collections - 10.4.0)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2020-08-20"> |
| <meta name="description" content="declaration: package: org.eclipse.collections.impl.map.mutable, class: SynchronizedMutableMap"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../script-dir/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../../script-dir/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../../script-dir/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../../script-dir/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../../script-dir/jquery-3.4.1.js"></script> |
| <script type="text/javascript" src="../../../../../../script-dir/jquery-ui.js"></script> |
| </head> |
| <body class="class-declaration"> |
| <script type="text/javascript">var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":9,"i28":9,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":42,"i49":42}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete 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/SynchronizedMutableMap.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><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="navListSearch"><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <div class="skipNav"><a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| </nav> |
| </header> |
| <div class="flexContent"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.eclipse.collections.impl.map.mutable</a></div> |
| <h1 title="Class SynchronizedMutableMap" class="title">Class SynchronizedMutableMap<K,​V></h1> |
| </div> |
| <div class="contentContainer"> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a> |
| <div class="inheritance"><a href="../../collection/AbstractSynchronizedRichIterable.html" title="class in org.eclipse.collections.impl.collection">org.eclipse.collections.impl.collection.AbstractSynchronizedRichIterable</a><V> |
| <div class="inheritance"><a href="../AbstractSynchronizedMapIterable.html" title="class in org.eclipse.collections.impl.map">org.eclipse.collections.impl.map.AbstractSynchronizedMapIterable</a><K,​V> |
| <div class="inheritance">org.eclipse.collections.impl.map.mutable.SynchronizedMutableMap<K,​V></div> |
| </div> |
| </div> |
| </div> |
| <section class="description"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Cloneable</a></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><V></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><K,​V></code>, <code><a href="../../../api/InternalIterable.html" title="interface in org.eclipse.collections.api">InternalIterable</a><V></code>, <code><a href="../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><K,​V></code>, <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><K,​V></code>, <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><K,​V></code>, <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><K,​V></code>, <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><V></code></dd> |
| </dl> |
| <hr> |
| <pre>public class <span class="typeNameLabel">SynchronizedMutableMap<K,​V></span> |
| extends <a href="../AbstractSynchronizedMapIterable.html" title="class in org.eclipse.collections.impl.map">AbstractSynchronizedMapIterable</a><K,​V> |
| implements <a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><K,​V>, <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></pre> |
| <div class="block">A synchronized view of a <a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map"><code>MutableMap</code></a>. It is imperative that the user manually synchronize on the collection when iterating over it using the |
| standard JDK iterator or JDK 5 for loop, as per <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>.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../api/map/MutableMap.html#asSynchronized()"><code>MutableMap.asSynchronized()</code></a>, |
| <a href="../../../../../../serialized-form.html#org.eclipse.collections.impl.map.mutable.SynchronizedMutableMap">Serialized Form</a></dd> |
| </dl> |
| </section> |
| <section class="summary"> |
| <ul class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <li class="blockList"> |
| <section class="nestedClassSummary"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h2>Nested Class Summary</h2> |
| <div class="inheritedList"> |
| <h2>Nested classes/interfaces inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a></h2> |
| <a id="nested.classes.inherited.from.class.java.util.Map"> |
| <!-- --> |
| </a><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util" class="externalLink">Map.Entry</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util" class="externalLink">K</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>,​<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util" class="externalLink">V</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>></code></div> |
| </section> |
| </li> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li class="blockList"> |
| <section class="constructorSummary"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h2>Constructor Summary</h2> |
| <div class="memberSummary"> |
| <table> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <thead> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.collections.api.map.MutableMap)">SynchronizedMutableMap</a></span>​(<a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> newMap)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.collections.api.map.MutableMap,java.lang.Object)">SynchronizedMutableMap</a></span>​(<a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> newMap, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> newLock)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </section> |
| </li> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li class="blockList"> |
| <section class="methodSummary"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h2>Method Summary</h2> |
| <div class="memberSummary"> |
| <div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t1" class="tableTab" onclick="show(1);">Static Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t4" class="tableTab" onclick="show(8);">Concrete Methods</button><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><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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 map.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i1"> |
| <td class="colFirst"><code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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 map.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i2"> |
| <td class="colFirst"><code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clone()">clone</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i3"> |
| <td class="colFirst"><code><A> <a href="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><A></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collect(org.eclipse.collections.api.block.function.Function)">collect</a></span>​(<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​? extends A> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new collection with the results of applying the specified function on each element of the source |
| collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i4"> |
| <td class="colFirst"><code><K2,​ |
| V2> <a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><K2,​V2></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collect(org.eclipse.collections.api.block.function.Function2)">collect</a></span>​(<a href="../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​<a href="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><K2,​V2>> pairFunction)</code></th> |
| <td class="colLast"> |
| <div class="block">For each key and value of the map the function is evaluated.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i5"> |
| <td class="colFirst"><code><a href="../../../api/bag/primitive/MutableBooleanBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableBooleanBag</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="../../../api/block/function/primitive/BooleanFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">BooleanFunction</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="altColor" id="i6"> |
| <td class="colFirst"><code><a href="../../../api/bag/primitive/MutableByteBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableByteBag</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="../../../api/block/function/primitive/ByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteFunction</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="rowColor" id="i7"> |
| <td class="colFirst"><code><a href="../../../api/bag/primitive/MutableCharBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableCharBag</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="../../../api/block/function/primitive/CharFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">CharFunction</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="altColor" id="i8"> |
| <td class="colFirst"><code><a href="../../../api/bag/primitive/MutableDoubleBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableDoubleBag</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="../../../api/block/function/primitive/DoubleFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">DoubleFunction</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="rowColor" id="i9"> |
| <td class="colFirst"><code><a href="../../../api/bag/primitive/MutableFloatBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableFloatBag</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="../../../api/block/function/primitive/FloatFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">FloatFunction</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="altColor" id="i10"> |
| <td class="colFirst"><code><A> <a href="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><A></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="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> predicate, |
| <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​? extends A> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new collection with the results of applying the specified function on each element of the source |
| collection, but only for those elements which return true upon evaluation of the predicate.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i11"> |
| <td class="colFirst"><code><a href="../../../api/bag/primitive/MutableIntBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableIntBag</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="../../../api/block/function/primitive/IntFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntFunction</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="altColor" id="i12"> |
| <td class="colFirst"><code><E> <a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectKeysAndValues(java.lang.Iterable,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">collectKeysAndValues</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><E> iterable, |
| <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super E,​? extends <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>> keyFunction, |
| <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super E,​? extends <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds all the entries derived from <code>iterable</code> to <code>this</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i13"> |
| <td class="colFirst"><code><a href="../../../api/bag/primitive/MutableLongBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableLongBag</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a></span>​(<a href="../../../api/block/function/primitive/LongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongFunction</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="../../../api/bag/primitive/MutableShortBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableShortBag</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="../../../api/block/function/primitive/ShortFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ShortFunction</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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><R> <a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​R></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectValues(org.eclipse.collections.api.block.function.Function2)">collectValues</a></span>​(<a href="../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​? extends R> function)</code></th> |
| <td class="colLast"> |
| <div class="block">For each key and value of the map the function is evaluated.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i16"> |
| <td class="colFirst"><code><P,​ |
| A> <a href="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><A></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></span>​(<a href="../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​? super P,​? extends A> function, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a> with a <code>Function2</code> and specified parameter which is passed to the block.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i17"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util" class="externalLink">Map.Entry</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#entrySet()">entrySet</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i18"> |
| <td class="colFirst"><code><A> <a href="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><A></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></span>​(<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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><A>> function)</code></th> |
| <td class="colLast"> |
| <div class="block"><code>flatCollect</code> is a special case of <a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i19"> |
| <td class="colFirst"><code><a href="../../../api/multimap/set/MutableSetMultimap.html" title="interface in org.eclipse.collections.api.multimap.set">MutableSetMultimap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flip()">flip</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Given a map from Domain <code>-></code> Range return a multimap from Range <code>-></code> Domain.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i20"> |
| <td class="colFirst"><code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flipUniqueValues()">flipUniqueValues</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Return the MapIterable that is obtained by flipping the direction of this map and making the associations |
| from value to key.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i21"> |
| <td class="colFirst"><code><KK> <a href="../../../api/multimap/bag/MutableBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">MutableBagMultimap</a><KK,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​? extends KK> 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><KK> <a href="../../../api/multimap/bag/MutableBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">MutableBagMultimap</a><KK,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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><KK>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Similar to <a href="../../../api/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><VV> <a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><VV,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​? extends VV> 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><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#keySet()">keySet</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i25"> |
| <td class="colFirst"><code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#keysView()">keysView</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an unmodifiable lazy iterable wrapped around the keySet for the map.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i26"> |
| <td class="colFirst"><code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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 instance of the same type, using the default capacity and growth parameters.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i27"> |
| <td class="colFirst"><code>static <K,​ |
| V,​ |
| M extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><K,​ |
| V>><br><a href="SynchronizedMutableMap.html" title="class in org.eclipse.collections.impl.map.mutable">SynchronizedMutableMap</a><K,​V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#of(M)">of</a></span>​(M map)</code></th> |
| <td class="colLast"> |
| <div class="block">This method will take a MutableMap and wrap it directly in a SynchronizedMutableMap.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i28"> |
| <td class="colFirst"><code>static <K,​ |
| V,​ |
| M extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><K,​ |
| V>><br><a href="SynchronizedMutableMap.html" title="class in org.eclipse.collections.impl.map.mutable">SynchronizedMutableMap</a><K,​V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#of(M,java.lang.Object)">of</a></span>​(M map, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> lock)</code></th> |
| <td class="colLast"> |
| <div class="block">This method will take a MutableMap and wrap it directly in a SynchronizedMutableMap.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i29"> |
| <td class="colFirst"><code><a href="../../../api/partition/bag/PartitionMutableBag.html" title="interface in org.eclipse.collections.api.partition.bag">PartitionMutableBag</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="altColor" id="i30"> |
| <td class="colFirst"><code><P> <a href="../../../api/partition/bag/PartitionMutableBag.html" title="interface in org.eclipse.collections.api.partition.bag">PartitionMutableBag</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="rowColor" id="i31"> |
| <td class="colFirst"><code><a href="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns all elements of the source collection that return false when evaluating of the predicate.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i32"> |
| <td class="colFirst"><code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reject(org.eclipse.collections.api.block.predicate.Predicate2)">reject</a></span>​(<a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">For each key and value of the map the predicate is evaluated, if the result of the evaluation is false, |
| that key and value are returned in a new map.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i33"> |
| <td class="colFirst"><code><P> <a href="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Similar to <a href="../../../api/RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate)"><code>RichIterable.reject(Predicate)</code></a>, except with an evaluation parameter for the second generic argument in <a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i34"> |
| <td class="colFirst"><code><a href="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns all elements of the source collection that return true when evaluating the predicate.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i35"> |
| <td class="colFirst"><code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#select(org.eclipse.collections.api.block.predicate.Predicate2)">select</a></span>​(<a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">For each key and value of the map the predicate is evaluated, if the result of the evaluation is true, |
| that key and value are returned in a new map.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i36"> |
| <td class="colFirst"><code><S> <a href="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</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="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Similar to <a href="../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)"><code>RichIterable.select(Predicate)</code></a>, except with an evaluation parameter for the second generic argument in <a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i38"> |
| <td class="colFirst"><code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="../../../api/block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="i39"> |
| <td class="colFirst"><code><a href="../../../api/map/ImmutableMap.html" title="interface in org.eclipse.collections.api.map">ImmutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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">Returns an immutable copy of this map.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i40"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#values()">values</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i41"> |
| <td class="colFirst"><code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#valuesView()">valuesView</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an unmodifiable lazy iterable wrapped around the values for the map.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i42"> |
| <td class="colFirst"><code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withAllKeyValueArguments(org.eclipse.collections.api.tuple.Pair...)">withAllKeyValueArguments</a></span>​(<a href="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><? extends <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​? extends <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>>... keyValuePairs)</code></th> |
| <td class="colLast"> |
| <div class="block">Convenience var-args version of withAllKeyValues</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i43"> |
| <td class="colFirst"><code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withAllKeyValues(java.lang.Iterable)">withAllKeyValues</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="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><? extends <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​? extends <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>>> keyValues)</code></th> |
| <td class="colLast"> |
| <div class="block">This method allows mutable, fixed size, and immutable maps the ability to add elements to their existing |
| elements.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i44"> |
| <td class="colFirst"><code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withKeyValue(K,V)">withKeyValue</a></span>​(<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a> key, |
| <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">This method allows mutable, fixed size, and immutable maps the ability to add elements to their existing |
| elements.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i45"> |
| <td class="colFirst"><code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withMap(java.util.Map)">withMap</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><? extends <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​? extends <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> map)</code></th> |
| <td class="colLast"> |
| <div class="block">Similar to <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#putAll(java.util.Map)" title="class or interface in java.util" class="externalLink"><code>Map.putAll(Map)</code></a>, but returns this instead of void</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i46"> |
| <td class="colFirst"><code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withoutAllKeys(java.lang.Iterable)">withoutAllKeys</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="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>> keys)</code></th> |
| <td class="colLast"> |
| <div class="block">This method allows mutable, fixed size, and immutable maps the ability to remove elements from their existing |
| elements.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i47"> |
| <td class="colFirst"><code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withoutKey(K)">withoutKey</a></span>​(<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a> key)</code></th> |
| <td class="colLast"> |
| <div class="block">This method allows mutable, fixed size, and immutable maps the ability to remove elements from their existing |
| elements.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i48"> |
| <td class="colFirst"><code><S> <a href="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><<a href="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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 class org.eclipse.collections.impl.map.<a href="../AbstractSynchronizedMapIterable.html" title="class in org.eclipse.collections.impl.map">AbstractSynchronizedMapIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.impl.map.AbstractSynchronizedMapIterable"> |
| <!-- --> |
| </a><code><a href="../AbstractSynchronizedMapIterable.html#add(org.eclipse.collections.api.tuple.Pair)">add</a>, <a href="../AbstractSynchronizedMapIterable.html#aggregateBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2)">aggregateBy</a>, <a href="../AbstractSynchronizedMapIterable.html#aggregateBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2)">aggregateBy</a>, <a href="../AbstractSynchronizedMapIterable.html#aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.procedure.Procedure2)">aggregateInPlaceBy</a>, <a href="../AbstractSynchronizedMapIterable.html#clear()">clear</a>, <a href="../AbstractSynchronizedMapIterable.html#containsKey(java.lang.Object)">containsKey</a>, <a href="../AbstractSynchronizedMapIterable.html#containsValue(java.lang.Object)">containsValue</a>, <a href="../AbstractSynchronizedMapIterable.html#countBy(org.eclipse.collections.api.block.function.Function)">countBy</a>, <a href="../AbstractSynchronizedMapIterable.html#countByEach(org.eclipse.collections.api.block.function.Function)">countByEach</a>, <a href="../AbstractSynchronizedMapIterable.html#countByWith(org.eclipse.collections.api.block.function.Function2,P)">countByWith</a>, <a href="../AbstractSynchronizedMapIterable.html#detect(org.eclipse.collections.api.block.predicate.Predicate2)">detect</a>, <a href="../AbstractSynchronizedMapIterable.html#detectOptional(org.eclipse.collections.api.block.predicate.Predicate2)">detectOptional</a>, <a href="../AbstractSynchronizedMapIterable.html#forEachKey(org.eclipse.collections.api.block.procedure.Procedure)">forEachKey</a>, <a href="../AbstractSynchronizedMapIterable.html#forEachKeyValue(org.eclipse.collections.api.block.procedure.Procedure2)">forEachKeyValue</a>, <a href="../AbstractSynchronizedMapIterable.html#forEachValue(org.eclipse.collections.api.block.procedure.Procedure)">forEachValue</a>, <a href="../AbstractSynchronizedMapIterable.html#get(java.lang.Object)">get</a>, <a href="../AbstractSynchronizedMapIterable.html#getIfAbsent(K,org.eclipse.collections.api.block.function.Function0)">getIfAbsent</a>, <a href="../AbstractSynchronizedMapIterable.html#getIfAbsentPut(K,org.eclipse.collections.api.block.function.Function0)">getIfAbsentPut</a>, <a href="../AbstractSynchronizedMapIterable.html#getIfAbsentPut(K,V)">getIfAbsentPut</a>, <a href="../AbstractSynchronizedMapIterable.html#getIfAbsentPutWith(K,org.eclipse.collections.api.block.function.Function,P)">getIfAbsentPutWith</a>, <a href="../AbstractSynchronizedMapIterable.html#getIfAbsentPutWithKey(K,org.eclipse.collections.api.block.function.Function)">getIfAbsentPutWithKey</a>, <a href="../AbstractSynchronizedMapIterable.html#getIfAbsentValue(K,V)">getIfAbsentValue</a>, <a href="../AbstractSynchronizedMapIterable.html#getIfAbsentWith(K,org.eclipse.collections.api.block.function.Function,P)">getIfAbsentWith</a>, <a href="../AbstractSynchronizedMapIterable.html#ifPresentApply(K,org.eclipse.collections.api.block.function.Function)">ifPresentApply</a>, <a href="../AbstractSynchronizedMapIterable.html#keyValuesView()">keyValuesView</a>, <a href="../AbstractSynchronizedMapIterable.html#put(K,V)">put</a>, <a href="../AbstractSynchronizedMapIterable.html#putAll(java.util.Map)">putAll</a>, <a href="../AbstractSynchronizedMapIterable.html#putPair(org.eclipse.collections.api.tuple.Pair)">putPair</a>, <a href="../AbstractSynchronizedMapIterable.html#remove(java.lang.Object)">remove</a>, <a href="../AbstractSynchronizedMapIterable.html#removeAllKeys(java.util.Set)">removeAllKeys</a>, <a href="../AbstractSynchronizedMapIterable.html#removeIf(org.eclipse.collections.api.block.predicate.Predicate2)">removeIf</a>, <a href="../AbstractSynchronizedMapIterable.html#removeKey(K)">removeKey</a>, <a href="../AbstractSynchronizedMapIterable.html#sumByDouble(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumByDouble</a>, <a href="../AbstractSynchronizedMapIterable.html#sumByFloat(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumByFloat</a>, <a href="../AbstractSynchronizedMapIterable.html#sumByInt(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.IntFunction)">sumByInt</a>, <a href="../AbstractSynchronizedMapIterable.html#sumByLong(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.LongFunction)">sumByLong</a>, <a href="../AbstractSynchronizedMapIterable.html#updateValue(K,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function)">updateValue</a>, <a href="../AbstractSynchronizedMapIterable.html#updateValueWith(K,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2,P)">updateValueWith</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from class org.eclipse.collections.impl.collection.<a href="../../collection/AbstractSynchronizedRichIterable.html" title="class in org.eclipse.collections.impl.collection">AbstractSynchronizedRichIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.impl.collection.AbstractSynchronizedRichIterable"> |
| <!-- --> |
| </a><code><a href="../../collection/AbstractSynchronizedRichIterable.html#allSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">allSatisfy</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">allSatisfyWith</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#anySatisfy(org.eclipse.collections.api.block.predicate.Predicate)">anySatisfy</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">anySatisfyWith</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#appendString(java.lang.Appendable)">appendString</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#appendString(java.lang.Appendable,java.lang.String)">appendString</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#asLazy()">asLazy</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#chunk(int)">chunk</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#collect(org.eclipse.collections.api.block.function.Function,R)">collect</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction,R)">collectBoolean</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction,R)">collectByte</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction,R)">collectChar</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction,R)">collectDouble</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction,R)">collectFloat</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function,R)">collectIf</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction,R)">collectInt</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction,R)">collectLong</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction,R)">collectShort</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P,R)">collectWith</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#contains(java.lang.Object)">contains</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#containsAll(java.util.Collection)">containsAll</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#containsAllArguments(java.lang.Object...)">containsAllArguments</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#containsAllIterable(java.lang.Iterable)">containsAllIterable</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#count(org.eclipse.collections.api.block.predicate.Predicate)">count</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#countBy(org.eclipse.collections.api.block.function.Function,R)">countBy</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#countByEach(org.eclipse.collections.api.block.function.Function,R)">countByEach</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#countByWith(org.eclipse.collections.api.block.function.Function2,P,R)">countByWith</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#countWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">countWith</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#detect(org.eclipse.collections.api.block.predicate.Predicate)">detect</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#detectIfNone(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function0)">detectIfNone</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#detectOptional(org.eclipse.collections.api.block.predicate.Predicate)">detectOptional</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#detectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWith</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#detectWithIfNone(org.eclipse.collections.api.block.predicate.Predicate2,P,org.eclipse.collections.api.block.function.Function0)">detectWithIfNone</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#detectWithOptional(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWithOptional</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#each(org.eclipse.collections.api.block.procedure.Procedure)">each</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#equals(java.lang.Object)">equals</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function,R)">flatCollect</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#flatCollectBoolean(org.eclipse.collections.api.block.function.Function,R)">flatCollectBoolean</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#flatCollectByte(org.eclipse.collections.api.block.function.Function,R)">flatCollectByte</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#flatCollectChar(org.eclipse.collections.api.block.function.Function,R)">flatCollectChar</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#flatCollectDouble(org.eclipse.collections.api.block.function.Function,R)">flatCollectDouble</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#flatCollectFloat(org.eclipse.collections.api.block.function.Function,R)">flatCollectFloat</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#flatCollectInt(org.eclipse.collections.api.block.function.Function,R)">flatCollectInt</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#flatCollectLong(org.eclipse.collections.api.block.function.Function,R)">flatCollectLong</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#flatCollectShort(org.eclipse.collections.api.block.function.Function,R)">flatCollectShort</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,P)">forEachWith</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#getFirst()">getFirst</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#getLast()">getLast</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#getOnly()">getOnly</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#groupBy(org.eclipse.collections.api.block.function.Function,R)">groupBy</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function,R)">groupByEach</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function,R)">groupByUniqueKey</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#hashCode()">hashCode</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#injectInto(double,org.eclipse.collections.api.block.function.primitive.DoubleObjectToDoubleFunction)">injectInto</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#injectInto(float,org.eclipse.collections.api.block.function.primitive.FloatObjectToFloatFunction)">injectInto</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#injectInto(int,org.eclipse.collections.api.block.function.primitive.IntObjectToIntFunction)">injectInto</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#injectInto(long,org.eclipse.collections.api.block.function.primitive.LongObjectToLongFunction)">injectInto</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#injectInto(IV,org.eclipse.collections.api.block.function.Function2)">injectInto</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#into(R)">into</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#isEmpty()">isEmpty</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#iterator()">iterator</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#makeString()">makeString</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#makeString(java.lang.String)">makeString</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)">makeString</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#max()">max</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#max(java.util.Comparator)">max</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#maxBy(org.eclipse.collections.api.block.function.Function)">maxBy</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#maxByOptional(org.eclipse.collections.api.block.function.Function)">maxByOptional</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#maxOptional()">maxOptional</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#maxOptional(java.util.Comparator)">maxOptional</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#min()">min</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#min(java.util.Comparator)">min</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#minBy(org.eclipse.collections.api.block.function.Function)">minBy</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#minByOptional(org.eclipse.collections.api.block.function.Function)">minByOptional</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#minOptional()">minOptional</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#minOptional(java.util.Comparator)">minOptional</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">noneSatisfy</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">noneSatisfyWith</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#notEmpty()">notEmpty</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate,R)">reject</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">rejectWith</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate,R)">select</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">selectWith</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#size()">size</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#sumOfDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumOfDouble</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#sumOfFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumOfFloat</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#sumOfInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">sumOfInt</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#sumOfLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">sumOfLong</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#toArray()">toArray</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#toArray(T%5B%5D)">toArray</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#toBag()">toBag</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#toBiMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toBiMap</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#toList()">toList</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">toMap</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toMap</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#toSet()">toSet</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#toSortedBag()">toSortedBag</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#toSortedBag(java.util.Comparator)">toSortedBag</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#toSortedBagBy(org.eclipse.collections.api.block.function.Function)">toSortedBagBy</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#toSortedList()">toSortedList</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#toSortedList(java.util.Comparator)">toSortedList</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#toSortedListBy(org.eclipse.collections.api.block.function.Function)">toSortedListBy</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#toSortedMap(java.util.Comparator,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#toSortedMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../../collection/AbstractSynchronizedRichIterable.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="../../collection/AbstractSynchronizedRichIterable.html#toSortedSet()">toSortedSet</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#toSortedSet(java.util.Comparator)">toSortedSet</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#toSortedSetBy(org.eclipse.collections.api.block.function.Function)">toSortedSetBy</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#toString()">toString</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#zip(java.lang.Iterable,R)">zip</a>, <a href="../../collection/AbstractSynchronizedRichIterable.html#zipWithIndex(R)">zipWithIndex</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.<a href="../../../api/InternalIterable.html" title="interface in org.eclipse.collections.api">InternalIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.InternalIterable"> |
| <!-- --> |
| </a><code><a href="../../../api/InternalIterable.html#forEach(java.util.function.Consumer)">forEach</a>, <a href="../../../api/InternalIterable.html#forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,P)">forEachWith</a>, <a href="../../../api/InternalIterable.html#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface java.lang.<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></h3> |
| <a id="methods.inherited.from.class.java.lang.Iterable"> |
| <!-- --> |
| </a><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#iterator()" title="class or interface in java.lang" class="externalLink">iterator</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a></h3> |
| <a id="methods.inherited.from.class.java.util.Map"> |
| <!-- --> |
| </a><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.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/Map.html?is-external=true#compute(K,java.util.function.BiFunction)" title="class or interface in java.util" class="externalLink">compute</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#computeIfAbsent(K,java.util.function.Function)" title="class or interface in java.util" class="externalLink">computeIfAbsent</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#computeIfPresent(K,java.util.function.BiFunction)" title="class or interface in java.util" class="externalLink">computeIfPresent</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#containsKey(java.lang.Object)" title="class or interface in java.util" class="externalLink">containsKey</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#containsValue(java.lang.Object)" title="class or interface in java.util" class="externalLink">containsValue</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.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/Map.html?is-external=true#forEach(java.util.function.BiConsumer)" title="class or interface in java.util" class="externalLink">forEach</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#get(java.lang.Object)" title="class or interface in java.util" class="externalLink">get</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.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/Map.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/Map.html?is-external=true#merge(K,V,java.util.function.BiFunction)" title="class or interface in java.util" class="externalLink">merge</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#put(K,V)" title="class or interface in java.util" class="externalLink">put</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#putAll(java.util.Map)" title="class or interface in java.util" class="externalLink">putAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#putIfAbsent(K,V)" title="class or interface in java.util" class="externalLink">putIfAbsent</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.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/Map.html?is-external=true#remove(java.lang.Object,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/Map.html?is-external=true#replace(K,V)" title="class or interface in java.util" class="externalLink">replace</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#replace(K,V,V)" title="class or interface in java.util" class="externalLink">replace</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#replaceAll(java.util.function.BiFunction)" title="class or interface in java.util" class="externalLink">replaceAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#size()" title="class or interface in java.util" class="externalLink">size</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.map.<a href="../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.map.MapIterable"> |
| <!-- --> |
| </a><code><a href="../../../api/map/MapIterable.html#containsKey(java.lang.Object)">containsKey</a>, <a href="../../../api/map/MapIterable.html#containsValue(java.lang.Object)">containsValue</a>, <a href="../../../api/map/MapIterable.html#detect(org.eclipse.collections.api.block.predicate.Predicate2)">detect</a>, <a href="../../../api/map/MapIterable.html#detectOptional(org.eclipse.collections.api.block.predicate.Predicate2)">detectOptional</a>, <a href="../../../api/map/MapIterable.html#equals(java.lang.Object)">equals</a>, <a href="../../../api/map/MapIterable.html#forEachKey(org.eclipse.collections.api.block.procedure.Procedure)">forEachKey</a>, <a href="../../../api/map/MapIterable.html#forEachKeyValue(org.eclipse.collections.api.block.procedure.Procedure2)">forEachKeyValue</a>, <a href="../../../api/map/MapIterable.html#forEachValue(org.eclipse.collections.api.block.procedure.Procedure)">forEachValue</a>, <a href="../../../api/map/MapIterable.html#get(java.lang.Object)">get</a>, <a href="../../../api/map/MapIterable.html#getIfAbsent(K,org.eclipse.collections.api.block.function.Function0)">getIfAbsent</a>, <a href="../../../api/map/MapIterable.html#getIfAbsentValue(K,V)">getIfAbsentValue</a>, <a href="../../../api/map/MapIterable.html#getIfAbsentWith(K,org.eclipse.collections.api.block.function.Function,P)">getIfAbsentWith</a>, <a href="../../../api/map/MapIterable.html#hashCode()">hashCode</a>, <a href="../../../api/map/MapIterable.html#ifPresentApply(K,org.eclipse.collections.api.block.function.Function)">ifPresentApply</a>, <a href="../../../api/map/MapIterable.html#keyValuesView()">keyValuesView</a>, <a href="../../../api/map/MapIterable.html#parallelStream()">parallelStream</a>, <a href="../../../api/map/MapIterable.html#spliterator()">spliterator</a>, <a href="../../../api/map/MapIterable.html#stream()">stream</a>, <a href="../../../api/map/MapIterable.html#toString()">toString</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.map.<a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.map.MutableMap"> |
| <!-- --> |
| </a><code><a href="../../../api/map/MutableMap.html#aggregateBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2)">aggregateBy</a>, <a href="../../../api/map/MutableMap.html#aggregateBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2)">aggregateBy</a>, <a href="../../../api/map/MutableMap.html#aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.procedure.Procedure2)">aggregateInPlaceBy</a>, <a href="../../../api/map/MutableMap.html#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P)">flatCollectWith</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.map.<a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.map.MutableMapIterable"> |
| <!-- --> |
| </a><code><a href="../../../api/map/MutableMapIterable.html#add(org.eclipse.collections.api.tuple.Pair)">add</a>, <a href="../../../api/map/MutableMapIterable.html#countBy(org.eclipse.collections.api.block.function.Function)">countBy</a>, <a href="../../../api/map/MutableMapIterable.html#countByEach(org.eclipse.collections.api.block.function.Function)">countByEach</a>, <a href="../../../api/map/MutableMapIterable.html#countByWith(org.eclipse.collections.api.block.function.Function2,P)">countByWith</a>, <a href="../../../api/map/MutableMapIterable.html#getIfAbsentPut(K,org.eclipse.collections.api.block.function.Function0)">getIfAbsentPut</a>, <a href="../../../api/map/MutableMapIterable.html#getIfAbsentPut(K,V)">getIfAbsentPut</a>, <a href="../../../api/map/MutableMapIterable.html#getIfAbsentPutWith(K,org.eclipse.collections.api.block.function.Function,P)">getIfAbsentPutWith</a>, <a href="../../../api/map/MutableMapIterable.html#getIfAbsentPutWithKey(K,org.eclipse.collections.api.block.function.Function)">getIfAbsentPutWithKey</a>, <a href="../../../api/map/MutableMapIterable.html#getOrDefault(java.lang.Object,V)">getOrDefault</a>, <a href="../../../api/map/MutableMapIterable.html#putPair(org.eclipse.collections.api.tuple.Pair)">putPair</a>, <a href="../../../api/map/MutableMapIterable.html#removeAllKeys(java.util.Set)">removeAllKeys</a>, <a href="../../../api/map/MutableMapIterable.html#removeIf(org.eclipse.collections.api.block.predicate.Predicate2)">removeIf</a>, <a href="../../../api/map/MutableMapIterable.html#removeKey(K)">removeKey</a>, <a href="../../../api/map/MutableMapIterable.html#sumByDouble(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumByDouble</a>, <a href="../../../api/map/MutableMapIterable.html#sumByFloat(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumByFloat</a>, <a href="../../../api/map/MutableMapIterable.html#sumByInt(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.IntFunction)">sumByInt</a>, <a href="../../../api/map/MutableMapIterable.html#sumByLong(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.LongFunction)">sumByLong</a>, <a href="../../../api/map/MutableMapIterable.html#updateValue(K,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function)">updateValue</a>, <a href="../../../api/map/MutableMapIterable.html#updateValueWith(K,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2,P)">updateValueWith</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.<a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.RichIterable"> |
| <!-- --> |
| </a><code><a href="../../../api/RichIterable.html#aggregateBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2,R)">aggregateBy</a>, <a href="../../../api/RichIterable.html#allSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">allSatisfy</a>, <a href="../../../api/RichIterable.html#allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">allSatisfyWith</a>, <a href="../../../api/RichIterable.html#anySatisfy(org.eclipse.collections.api.block.predicate.Predicate)">anySatisfy</a>, <a href="../../../api/RichIterable.html#anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">anySatisfyWith</a>, <a href="../../../api/RichIterable.html#appendString(java.lang.Appendable)">appendString</a>, <a href="../../../api/RichIterable.html#appendString(java.lang.Appendable,java.lang.String)">appendString</a>, <a href="../../../api/RichIterable.html#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a>, <a href="../../../api/RichIterable.html#asLazy()">asLazy</a>, <a href="../../../api/RichIterable.html#chunk(int)">chunk</a>, <a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function,R)">collect</a>, <a href="../../../api/RichIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction,R)">collectBoolean</a>, <a href="../../../api/RichIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction,R)">collectByte</a>, <a href="../../../api/RichIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction,R)">collectChar</a>, <a href="../../../api/RichIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction,R)">collectDouble</a>, <a href="../../../api/RichIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction,R)">collectFloat</a>, <a href="../../../api/RichIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function,R)">collectIf</a>, <a href="../../../api/RichIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction,R)">collectInt</a>, <a href="../../../api/RichIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction,R)">collectLong</a>, <a href="../../../api/RichIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction,R)">collectShort</a>, <a href="../../../api/RichIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P,R)">collectWith</a>, <a href="../../../api/RichIterable.html#contains(java.lang.Object)">contains</a>, <a href="../../../api/RichIterable.html#containsAll(java.util.Collection)">containsAll</a>, <a href="../../../api/RichIterable.html#containsAllArguments(java.lang.Object...)">containsAllArguments</a>, <a href="../../../api/RichIterable.html#containsAllIterable(java.lang.Iterable)">containsAllIterable</a>, <a href="../../../api/RichIterable.html#containsBy(org.eclipse.collections.api.block.function.Function,V)">containsBy</a>, <a href="../../../api/RichIterable.html#count(org.eclipse.collections.api.block.predicate.Predicate)">count</a>, <a href="../../../api/RichIterable.html#countBy(org.eclipse.collections.api.block.function.Function,R)">countBy</a>, <a href="../../../api/RichIterable.html#countByEach(org.eclipse.collections.api.block.function.Function,R)">countByEach</a>, <a href="../../../api/RichIterable.html#countByWith(org.eclipse.collections.api.block.function.Function2,P,R)">countByWith</a>, <a href="../../../api/RichIterable.html#countWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">countWith</a>, <a href="../../../api/RichIterable.html#detect(org.eclipse.collections.api.block.predicate.Predicate)">detect</a>, <a href="../../../api/RichIterable.html#detectIfNone(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function0)">detectIfNone</a>, <a href="../../../api/RichIterable.html#detectOptional(org.eclipse.collections.api.block.predicate.Predicate)">detectOptional</a>, <a href="../../../api/RichIterable.html#detectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWith</a>, <a href="../../../api/RichIterable.html#detectWithIfNone(org.eclipse.collections.api.block.predicate.Predicate2,P,org.eclipse.collections.api.block.function.Function0)">detectWithIfNone</a>, <a href="../../../api/RichIterable.html#detectWithOptional(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWithOptional</a>, <a href="../../../api/RichIterable.html#each(org.eclipse.collections.api.block.procedure.Procedure)">each</a>, <a href="../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function,R)">flatCollect</a>, <a href="../../../api/RichIterable.html#flatCollectBoolean(org.eclipse.collections.api.block.function.Function,R)">flatCollectBoolean</a>, <a href="../../../api/RichIterable.html#flatCollectByte(org.eclipse.collections.api.block.function.Function,R)">flatCollectByte</a>, <a href="../../../api/RichIterable.html#flatCollectChar(org.eclipse.collections.api.block.function.Function,R)">flatCollectChar</a>, <a href="../../../api/RichIterable.html#flatCollectDouble(org.eclipse.collections.api.block.function.Function,R)">flatCollectDouble</a>, <a href="../../../api/RichIterable.html#flatCollectFloat(org.eclipse.collections.api.block.function.Function,R)">flatCollectFloat</a>, <a href="../../../api/RichIterable.html#flatCollectInt(org.eclipse.collections.api.block.function.Function,R)">flatCollectInt</a>, <a href="../../../api/RichIterable.html#flatCollectLong(org.eclipse.collections.api.block.function.Function,R)">flatCollectLong</a>, <a href="../../../api/RichIterable.html#flatCollectShort(org.eclipse.collections.api.block.function.Function,R)">flatCollectShort</a>, <a href="../../../api/RichIterable.html#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P,R)">flatCollectWith</a>, <a href="../../../api/RichIterable.html#forEach(org.eclipse.collections.api.block.procedure.Procedure)">forEach</a>, <a href="../../../api/RichIterable.html#getAny()">getAny</a>, <a href="../../../api/RichIterable.html#getFirst()">getFirst</a>, <a href="../../../api/RichIterable.html#getLast()">getLast</a>, <a href="../../../api/RichIterable.html#getOnly()">getOnly</a>, <a href="../../../api/RichIterable.html#groupBy(org.eclipse.collections.api.block.function.Function,R)">groupBy</a>, <a href="../../../api/RichIterable.html#groupByAndCollect(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">groupByAndCollect</a>, <a href="../../../api/RichIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function,R)">groupByEach</a>, <a href="../../../api/RichIterable.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function,R)">groupByUniqueKey</a>, <a href="../../../api/RichIterable.html#injectInto(double,org.eclipse.collections.api.block.function.primitive.DoubleObjectToDoubleFunction)">injectInto</a>, <a href="../../../api/RichIterable.html#injectInto(float,org.eclipse.collections.api.block.function.primitive.FloatObjectToFloatFunction)">injectInto</a>, <a href="../../../api/RichIterable.html#injectInto(int,org.eclipse.collections.api.block.function.primitive.IntObjectToIntFunction)">injectInto</a>, <a href="../../../api/RichIterable.html#injectInto(long,org.eclipse.collections.api.block.function.primitive.LongObjectToLongFunction)">injectInto</a>, <a href="../../../api/RichIterable.html#injectInto(IV,org.eclipse.collections.api.block.function.Function2)">injectInto</a>, <a href="../../../api/RichIterable.html#into(R)">into</a>, <a href="../../../api/RichIterable.html#isEmpty()">isEmpty</a>, <a href="../../../api/RichIterable.html#makeString()">makeString</a>, <a href="../../../api/RichIterable.html#makeString(java.lang.String)">makeString</a>, <a href="../../../api/RichIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)">makeString</a>, <a href="../../../api/RichIterable.html#max()">max</a>, <a href="../../../api/RichIterable.html#max(java.util.Comparator)">max</a>, <a href="../../../api/RichIterable.html#maxBy(org.eclipse.collections.api.block.function.Function)">maxBy</a>, <a href="../../../api/RichIterable.html#maxByOptional(org.eclipse.collections.api.block.function.Function)">maxByOptional</a>, <a href="../../../api/RichIterable.html#maxOptional()">maxOptional</a>, <a href="../../../api/RichIterable.html#maxOptional(java.util.Comparator)">maxOptional</a>, <a href="../../../api/RichIterable.html#min()">min</a>, <a href="../../../api/RichIterable.html#min(java.util.Comparator)">min</a>, <a href="../../../api/RichIterable.html#minBy(org.eclipse.collections.api.block.function.Function)">minBy</a>, <a href="../../../api/RichIterable.html#minByOptional(org.eclipse.collections.api.block.function.Function)">minByOptional</a>, <a href="../../../api/RichIterable.html#minOptional()">minOptional</a>, <a href="../../../api/RichIterable.html#minOptional(java.util.Comparator)">minOptional</a>, <a href="../../../api/RichIterable.html#noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">noneSatisfy</a>, <a href="../../../api/RichIterable.html#noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">noneSatisfyWith</a>, <a href="../../../api/RichIterable.html#notEmpty()">notEmpty</a>, <a href="../../../api/RichIterable.html#reduce(java.util.function.BinaryOperator)">reduce</a>, <a href="../../../api/RichIterable.html#reduceInPlace(java.util.function.Supplier,java.util.function.BiConsumer)">reduceInPlace</a>, <a href="../../../api/RichIterable.html#reduceInPlace(java.util.stream.Collector)">reduceInPlace</a>, <a href="../../../api/RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate,R)">reject</a>, <a href="../../../api/RichIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">rejectWith</a>, <a href="../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate,R)">select</a>, <a href="../../../api/RichIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">selectWith</a>, <a href="../../../api/RichIterable.html#size()">size</a>, <a href="../../../api/RichIterable.html#summarizeDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">summarizeDouble</a>, <a href="../../../api/RichIterable.html#summarizeFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">summarizeFloat</a>, <a href="../../../api/RichIterable.html#summarizeInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">summarizeInt</a>, <a href="../../../api/RichIterable.html#summarizeLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">summarizeLong</a>, <a href="../../../api/RichIterable.html#sumOfDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumOfDouble</a>, <a href="../../../api/RichIterable.html#sumOfFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumOfFloat</a>, <a href="../../../api/RichIterable.html#sumOfInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">sumOfInt</a>, <a href="../../../api/RichIterable.html#sumOfLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">sumOfLong</a>, <a href="../../../api/RichIterable.html#toArray()">toArray</a>, <a href="../../../api/RichIterable.html#toArray(E%5B%5D)">toArray</a>, <a href="../../../api/RichIterable.html#toBag()">toBag</a>, <a href="../../../api/RichIterable.html#toBiMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toBiMap</a>, <a href="../../../api/RichIterable.html#toList()">toList</a>, <a href="../../../api/RichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toMap</a>, <a href="../../../api/RichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">toMap</a>, <a href="../../../api/RichIterable.html#toSet()">toSet</a>, <a href="../../../api/RichIterable.html#toSortedBag()">toSortedBag</a>, <a href="../../../api/RichIterable.html#toSortedBag(java.util.Comparator)">toSortedBag</a>, <a href="../../../api/RichIterable.html#toSortedBagBy(org.eclipse.collections.api.block.function.Function)">toSortedBagBy</a>, <a href="../../../api/RichIterable.html#toSortedList()">toSortedList</a>, <a href="../../../api/RichIterable.html#toSortedList(java.util.Comparator)">toSortedList</a>, <a href="../../../api/RichIterable.html#toSortedListBy(org.eclipse.collections.api.block.function.Function)">toSortedListBy</a>, <a href="../../../api/RichIterable.html#toSortedMap(java.util.Comparator,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../../../api/RichIterable.html#toSortedMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../../../api/RichIterable.html#toSortedMapBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMapBy</a>, <a href="../../../api/RichIterable.html#toSortedSet()">toSortedSet</a>, <a href="../../../api/RichIterable.html#toSortedSet(java.util.Comparator)">toSortedSet</a>, <a href="../../../api/RichIterable.html#toSortedSetBy(org.eclipse.collections.api.block.function.Function)">toSortedSetBy</a>, <a href="../../../api/RichIterable.html#zip(java.lang.Iterable,R)">zip</a>, <a href="../../../api/RichIterable.html#zipWithIndex(R)">zipWithIndex</a></code></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| <section class="details"> |
| <ul class="blockList"> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <li class="blockList"> |
| <section class="constructorDetails"><a id="constructor.detail"> |
| <!-- --> |
| </a> |
| <h2>Constructor Details</h2> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="<init>(org.eclipse.collections.api.map.MutableMap)">SynchronizedMutableMap</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="memberName">SynchronizedMutableMap</span>​(<span class="arguments"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> newMap)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="<init>(org.eclipse.collections.api.map.MutableMap,java.lang.Object)">SynchronizedMutableMap</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="memberName">SynchronizedMutableMap</span>​(<span class="arguments"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> newMap, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> newLock)</span></div> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| <!-- ============ METHOD DETAIL ========== --> |
| <li class="blockList"> |
| <section class="methodDetails"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h2>Method Details</h2> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="of(java.util.Map)"> |
| <!-- --> |
| </a><a id="of(M)">of</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><K,​ |
| V,​ |
| M extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><K,​ |
| V>></span> |
| <span class="returnType"><a href="SynchronizedMutableMap.html" title="class in org.eclipse.collections.impl.map.mutable">SynchronizedMutableMap</a><K,​V></span> <span class="memberName">of</span>​(<span class="arguments">M map)</span></div> |
| <div class="block">This method will take a MutableMap and wrap it directly in a SynchronizedMutableMap. It will |
| take any other non-Eclipse-Collections map and first adapt it will a MapAdapter, and then return a |
| SynchronizedMutableMap that wraps the adapter.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="of(java.util.Map,java.lang.Object)"> |
| <!-- --> |
| </a><a id="of(M,java.lang.Object)">of</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><K,​ |
| V,​ |
| M extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><K,​ |
| V>></span> |
| <span class="returnType"><a href="SynchronizedMutableMap.html" title="class in org.eclipse.collections.impl.map.mutable">SynchronizedMutableMap</a><K,​V></span> <span class="memberName">of</span>​(<span class="arguments">M map, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> lock)</span></div> |
| <div class="block">This method will take a MutableMap and wrap it directly in a SynchronizedMutableMap. It will |
| take any other non-Eclipse-Collections map and first adapt it will a MapAdapter, and then return a |
| SynchronizedMutableMap that wraps the adapter. Additionally, a developer specifies which lock to use |
| with the collection.</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withKeyValue(java.lang.Object,java.lang.Object)"> |
| <!-- --> |
| </a><a id="withKeyValue(K,V)">withKeyValue</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">withKeyValue</span>​(<span class="arguments"><a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a> key, |
| <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a> value)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/map/MutableMapIterable.html#withKeyValue(K,V)">MutableMapIterable</a></code></span></div> |
| <div class="block">This method allows mutable, fixed size, and immutable maps the ability to add elements to their existing |
| elements. In order to support fixed size maps, a new instance of a map would have to be returned including the |
| keys and values of the original plus the additional key and value. In the case of mutable maps, the original map |
| is modified and then returned. In order to use this method properly with mutable and fixed size maps the |
| following approach must be taken: |
| |
| <pre> |
| map = map.withKeyValue("new key", "new value"); |
| </pre> |
| In the case of FixedSizeMap, a new instance will be returned by withKeyValue, and any variables that |
| previously referenced the original map will need to be redirected to reference the new instance. In the case |
| of a FastMap or UnifiedMap, you will be replacing the reference to map with map, since FastMap and UnifiedMap |
| will both return "this" after calling put on themselves.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#withKeyValue(K,V)">withKeyValue</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#withKeyValue(K,V)">withKeyValue</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#put(K,V)" title="class or interface in java.util" class="externalLink"><code>Map.put(Object, Object)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withMap(java.util.Map)">withMap</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">withMap</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><? extends <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​? extends <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> map)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/map/MutableMapIterable.html#withMap(java.util.Map)">MutableMapIterable</a></code></span></div> |
| <div class="block">Similar to <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#putAll(java.util.Map)" title="class or interface in java.util" class="externalLink"><code>Map.putAll(Map)</code></a>, but returns this instead of void</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#withMap(java.util.Map)">withMap</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#withMap(java.util.Map)">withMap</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#putAll(java.util.Map)" title="class or interface in java.util" class="externalLink"><code>Map.putAll(Map)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withAllKeyValueArguments(org.eclipse.collections.api.tuple.Pair...)">withAllKeyValueArguments</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">withAllKeyValueArguments</span>​(<span class="arguments"><a href="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><? extends <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​? extends <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>>... keyValuePairs)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/map/MutableMapIterable.html#withAllKeyValueArguments(org.eclipse.collections.api.tuple.Pair...)">MutableMapIterable</a></code></span></div> |
| <div class="block">Convenience var-args version of withAllKeyValues</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#withAllKeyValueArguments(org.eclipse.collections.api.tuple.Pair...)">withAllKeyValueArguments</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#withAllKeyValueArguments(org.eclipse.collections.api.tuple.Pair...)">withAllKeyValueArguments</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../api/map/MutableMapIterable.html#withAllKeyValues(java.lang.Iterable)"><code>MutableMapIterable.withAllKeyValues(Iterable)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withAllKeyValues(java.lang.Iterable)">withAllKeyValues</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">withAllKeyValues</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="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><? extends <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​? extends <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>>> keyValues)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/map/MutableMapIterable.html#withAllKeyValues(java.lang.Iterable)">MutableMapIterable</a></code></span></div> |
| <div class="block">This method allows mutable, fixed size, and immutable maps the ability to add elements to their existing |
| elements. In order to support fixed size maps, a new instance of a map would have to be returned including the |
| keys and values of the original plus all of the additional keys and values. In the case of mutable maps, the |
| original map is modified and then returned. In order to use this method properly with mutable and fixed size |
| maps the following approach must be taken: |
| |
| <pre> |
| map = map.withAllKeyValues(FastList.newListWith(PairImpl.of("new key", "new value"))); |
| </pre> |
| In the case of FixedSizeMap, a new instance will be returned by withAllKeyValues, and any variables that |
| previously referenced the original map will need to be redirected to reference the new instance. In the case |
| of a FastMap or UnifiedMap, you will be replacing the reference to map with map, since FastMap and UnifiedMap |
| will both return "this" after calling put on themselves.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#withAllKeyValues(java.lang.Iterable)">withAllKeyValues</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#withAllKeyValues(java.lang.Iterable)">withAllKeyValues</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#put(K,V)" title="class or interface in java.util" class="externalLink"><code>Map.put(Object, Object)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withoutKey(java.lang.Object)"> |
| <!-- --> |
| </a><a id="withoutKey(K)">withoutKey</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">withoutKey</span>​(<span class="arguments"><a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a> key)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/map/MutableMapIterable.html#withoutKey(K)">MutableMapIterable</a></code></span></div> |
| <div class="block">This method allows mutable, fixed size, and immutable maps the ability to remove elements from their existing |
| elements. In order to support fixed size maps, a new instance of a map would have to be returned including the |
| keys and values of the original minus the key and value to be removed. In the case of mutable maps, the original |
| map is modified and then returned. In order to use this method properly with mutable and fixed size maps the |
| following approach must be taken: |
| |
| <pre> |
| map = map.withoutKey("key"); |
| </pre> |
| In the case of FixedSizeMap, a new instance will be returned by withoutKey, and any variables that previously |
| referenced the original map will need to be redirected to reference the new instance. In the case of a FastMap |
| or UnifiedMap, you will be replacing the reference to map with map, since FastMap and UnifiedMap will both return |
| "this" after calling remove on themselves.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#withoutKey(K)">withoutKey</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#withoutKey(K)">withoutKey</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util" class="externalLink"><code>Map.remove(Object)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withoutAllKeys(java.lang.Iterable)">withoutAllKeys</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">withoutAllKeys</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="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>> keys)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/map/MutableMapIterable.html#withoutAllKeys(java.lang.Iterable)">MutableMapIterable</a></code></span></div> |
| <div class="block">This method allows mutable, fixed size, and immutable maps the ability to remove elements from their existing |
| elements. In order to support fixed size maps, a new instance of a map would have to be returned including the |
| keys and values of the original minus all of the keys and values to be removed. In the case of mutable maps, the |
| original map is modified and then returned. In order to use this method properly with mutable and fixed size |
| maps the following approach must be taken: |
| |
| <pre> |
| map = map.withoutAllKeys(FastList.newListWith("key1", "key2")); |
| </pre> |
| In the case of FixedSizeMap, a new instance will be returned by withoutAllKeys, and any variables that previously |
| referenced the original map will need to be redirected to reference the new instance. In the case of a FastMap |
| or UnifiedMap, you will be replacing the reference to map with map, since FastMap and UnifiedMap will both return |
| "this" after calling remove on themselves.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#withoutAllKeys(java.lang.Iterable)">withoutAllKeys</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#withoutAllKeys(java.lang.Iterable)">withoutAllKeys</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util" class="externalLink"><code>Map.remove(Object)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="newEmpty()">newEmpty</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">newEmpty</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/map/MutableMapIterable.html#newEmpty()">MutableMapIterable</a></code></span></div> |
| <div class="block">Creates a new instance of the same type, using the default capacity and growth parameters.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#newEmpty()">newEmpty</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#newEmpty()">newEmpty</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="clone()">clone</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">clone</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#clone()">clone</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectKeysAndValues(java.lang.Iterable,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">collectKeysAndValues</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><E></span> <span class="returnType"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">collectKeysAndValues</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><E> iterable, |
| <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super E,​? extends <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>> keyFunction, |
| <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super E,​? extends <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/map/MutableMap.html#collectKeysAndValues(java.lang.Iterable,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">MutableMap</a></code></span></div> |
| <div class="block">Adds all the entries derived from <code>iterable</code> to <code>this</code>. The key and value for each entry |
| is determined by applying the <code>keyFunction</code> and <code>valueFunction</code> to each item in |
| <code>collection</code>. Any entry in <code>map</code> that has the same key as an entry in <code>this</code> |
| will have its value replaced by that in <code>map</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#collectKeysAndValues(java.lang.Iterable,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">collectKeysAndValues</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="select(org.eclipse.collections.api.block.predicate.Predicate2)">select</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">select</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/map/MapIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate2)">MapIterable</a></code></span></div> |
| <div class="block">For each key and value of the map the predicate is evaluated, if the result of the evaluation is true, |
| that key and value are returned in a new map. |
| |
| <pre> |
| MapIterable<City, Person> selected = |
| peopleByCity.select((city, person) -> city.getName().equals("Anytown") && person.getLastName().equals("Smith")); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MapIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate2)">select</a></code> in interface <code><a href="../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#select(org.eclipse.collections.api.block.predicate.Predicate2)">select</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate2)">select</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate2)">select</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="reject(org.eclipse.collections.api.block.predicate.Predicate2)">reject</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">reject</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/map/MapIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate2)">MapIterable</a></code></span></div> |
| <div class="block">For each key and value of the map the predicate is evaluated, if the result of the evaluation is false, |
| that key and value are returned in a new map. |
| |
| <pre> |
| MapIterable<City, Person> rejected = |
| peopleByCity.reject((city, person) -> city.getName().equals("Anytown") && person.getLastName().equals("Smith")); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MapIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate2)">reject</a></code> in interface <code><a href="../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#reject(org.eclipse.collections.api.block.predicate.Predicate2)">reject</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate2)">reject</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate2)">reject</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collect(org.eclipse.collections.api.block.function.Function2)">collect</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><K2,​ |
| V2></span> <span class="returnType"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><K2,​V2></span> <span class="memberName">collect</span>​(<span class="arguments"><a href="../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​<a href="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><K2,​V2>> pairFunction)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/map/MapIterable.html#collect(org.eclipse.collections.api.block.function.Function2)">MapIterable</a></code></span></div> |
| <div class="block">For each key and value of the map the function is evaluated. The results of these evaluations are returned in |
| a new map. The map returned will use the values projected from the function rather than the original values. |
| |
| <pre> |
| MapIterable<String, String> collected = |
| peopleByCity.collect((City city, Person person) -> Pair.of(city.getCountry(), person.getAddress().getCity())); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MapIterable.html#collect(org.eclipse.collections.api.block.function.Function2)">collect</a></code> in interface <code><a href="../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#collect(org.eclipse.collections.api.block.function.Function2)">collect</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#collect(org.eclipse.collections.api.block.function.Function2)">collect</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#collect(org.eclipse.collections.api.block.function.Function2)">collect</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectValues(org.eclipse.collections.api.block.function.Function2)">collectValues</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R></span> <span class="returnType"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​R></span> <span class="memberName">collectValues</span>​(<span class="arguments"><a href="../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​? extends R> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/map/MapIterable.html#collectValues(org.eclipse.collections.api.block.function.Function2)">MapIterable</a></code></span></div> |
| <div class="block">For each key and value of the map the function is evaluated. The results of these evaluations are returned in |
| a new map. The map returned will use the values projected from the function rather than the original values. |
| |
| <pre> |
| MapIterable<City, String> collected = |
| peopleByCity.collectValues((City city, Person person) -> person.getFirstName() + " " + person.getLastName()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MapIterable.html#collectValues(org.eclipse.collections.api.block.function.Function2)">collectValues</a></code> in interface <code><a href="../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#collectValues(org.eclipse.collections.api.block.function.Function2)">collectValues</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#collectValues(org.eclipse.collections.api.block.function.Function2)">collectValues</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#collectValues(org.eclipse.collections.api.block.function.Function2)">collectValues</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| </dl> |
| </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="modifiers">public</span> <span class="returnType"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">tap</span>​(<span class="arguments"><a href="../../../api/block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> procedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/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="../../../api/map/MapIterable.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code> in interface <code><a href="../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../AbstractSynchronizedMapIterable.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code> in class <code><a href="../AbstractSynchronizedMapIterable.html" title="class in org.eclipse.collections.impl.map">AbstractSynchronizedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../api/RichIterable.html#each(org.eclipse.collections.api.block.procedure.Procedure)"><code>RichIterable.each(Procedure)</code></a>, |
| <a href="../../../api/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="modifiers">public</span> <span class="returnType"><a href="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">select</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)">RichIterable</a></code></span></div> |
| <div class="block">Returns all elements of the source collection that return true when evaluating the predicate. This method is also |
| commonly called filter. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| RichIterable<Person> selected = |
| people.<b>select</b>(person -> person.getAddress().getCity().equals("London")); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| RichIterable<Person> selected = |
| people.<b>select</b>(new Predicate<Person>() |
| { |
| public boolean accept(Person person) |
| { |
| return person.getAddress().getCity().equals("London"); |
| } |
| }); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../AbstractSynchronizedMapIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></code> in class <code><a href="../AbstractSynchronizedMapIterable.html" title="class in org.eclipse.collections.impl.map">AbstractSynchronizedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType"><a href="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">selectWith</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​? super P> predicate, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">RichIterable</a></code></span></div> |
| <div class="block">Similar to <a href="../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)"><code>RichIterable.select(Predicate)</code></a>, except with an evaluation parameter for the second generic argument in <a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a>. |
| <p> |
| E.g. return a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Collection</code></a> of Person elements where the person has an age <b>greater than or equal to</b> 18 years |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| RichIterable<Person> selected = |
| people.selectWith((Person person, Integer age) -> person.getAge()>= age, Integer.valueOf(18)); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| RichIterable<Person> selected = |
| people.selectWith(new Predicate2<Person, Integer>() |
| { |
| public boolean accept(Person person, Integer age) |
| { |
| return person.getAge()>= age; |
| } |
| }, Integer.valueOf(18)); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../AbstractSynchronizedMapIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></code> in class <code><a href="../AbstractSynchronizedMapIterable.html" title="class in org.eclipse.collections.impl.map">AbstractSynchronizedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - a <a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a> to use as the select criteria</dd> |
| <dd><code>parameter</code> - a parameter to pass in for evaluation of the second argument <code>P</code> in <code>predicate</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)"><code>RichIterable.select(Predicate)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">reject</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">RichIterable</a></code></span></div> |
| <div class="block">Returns all elements of the source collection that return false when evaluating of the predicate. This method is also |
| sometimes called filterNot and is the equivalent of calling iterable.select(Predicates.not(predicate)). |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| RichIterable<Person> rejected = |
| people.reject(person -> person.person.getLastName().equals("Smith")); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| RichIterable<Person> rejected = |
| people.reject(new Predicate<Person>() |
| { |
| public boolean accept(Person person) |
| { |
| return person.person.getLastName().equals("Smith"); |
| } |
| }); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../AbstractSynchronizedMapIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></code> in class <code><a href="../AbstractSynchronizedMapIterable.html" title="class in org.eclipse.collections.impl.map">AbstractSynchronizedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - a <a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate</code></a> to use as the reject criteria</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a RichIterable that contains elements that cause <a href="../../../api/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="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType"><a href="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">rejectWith</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​? super P> predicate, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">RichIterable</a></code></span></div> |
| <div class="block">Similar to <a href="../../../api/RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate)"><code>RichIterable.reject(Predicate)</code></a>, except with an evaluation parameter for the second generic argument in <a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a>. |
| <p> |
| E.g. return a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Collection</code></a> of Person elements where the person has an age <b>greater than or equal to</b> 18 years |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| RichIterable<Person> rejected = |
| people.rejectWith((Person person, Integer age) -> person.getAge() < age, Integer.valueOf(18)); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| MutableList<Person> rejected = |
| people.rejectWith(new Predicate2<Person, Integer>() |
| { |
| public boolean accept(Person person, Integer age) |
| { |
| return person.getAge() < age; |
| } |
| }, Integer.valueOf(18)); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../AbstractSynchronizedMapIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a></code> in class <code><a href="../AbstractSynchronizedMapIterable.html" title="class in org.eclipse.collections.impl.map">AbstractSynchronizedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - a <a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a> to use as the select criteria</dd> |
| <dd><code>parameter</code> - a parameter to pass in for evaluation of the second argument <code>P</code> in <code>predicate</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)"><code>RichIterable.select(Predicate)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/partition/bag/PartitionMutableBag.html" title="interface in org.eclipse.collections.api.partition.bag">PartitionMutableBag</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">partition</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">RichIterable</a></code></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></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../AbstractSynchronizedMapIterable.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></code> in class <code><a href="../AbstractSynchronizedMapIterable.html" title="class in org.eclipse.collections.impl.map">AbstractSynchronizedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></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="modifiers">public</span> <span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="../../../api/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="../../../api/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="../../../api/map/MutableMap.html#zipWithIndex()">zipWithIndex</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#zipWithIndex()">zipWithIndex</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#zipWithIndex()">zipWithIndex</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#zipWithIndex()">zipWithIndex</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../AbstractSynchronizedMapIterable.html#zipWithIndex()">zipWithIndex</a></code> in class <code><a href="../AbstractSynchronizedMapIterable.html" title="class in org.eclipse.collections.impl.map">AbstractSynchronizedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="../../../api/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="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="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType"><a href="../../../api/partition/bag/PartitionMutableBag.html" title="interface in org.eclipse.collections.api.partition.bag">PartitionMutableBag</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">partitionWith</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​? super P> predicate, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">RichIterable</a></code></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></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/AbstractSynchronizedRichIterable.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a></code> in class <code><a href="../../collection/AbstractSynchronizedRichIterable.html" title="class in org.eclipse.collections.impl.collection">AbstractSynchronizedRichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="modifiers">public</span> <span class="typeParameters"><S></span> <span class="returnType"><a href="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</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"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#selectInstancesOf(java.lang.Class)">RichIterable</a></code></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></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../AbstractSynchronizedMapIterable.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></code> in class <code><a href="../AbstractSynchronizedMapIterable.html" title="class in org.eclipse.collections.impl.map">AbstractSynchronizedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collect(org.eclipse.collections.api.block.function.Function)">collect</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><A></span> <span class="returnType"><a href="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><A></span> <span class="memberName">collect</span>​(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​? extends A> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block">Returns a new collection with the results of applying the specified function on each element of the source |
| collection. This method is also commonly called transform or map. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| RichIterable<String> names = |
| people.collect(person -> person.getFirstName() + " " + person.getLastName()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| RichIterable<String> names = |
| people.collect(new Function<Person, String>() |
| { |
| public String valueOf(Person person) |
| { |
| return person.getFirstName() + " " + person.getLastName(); |
| } |
| }); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/AbstractSynchronizedRichIterable.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code> in class <code><a href="../../collection/AbstractSynchronizedRichIterable.html" title="class in org.eclipse.collections.impl.collection">AbstractSynchronizedRichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="modifiers">public</span> <span class="returnType"><a href="../../../api/bag/primitive/MutableBooleanBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableBooleanBag</a></span> <span class="memberName">collectBoolean</span>​(<span class="arguments"><a href="../../../api/block/function/primitive/BooleanFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">BooleanFunction</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> booleanFunction)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">RichIterable</a></code></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></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/AbstractSynchronizedRichIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a></code> in class <code><a href="../../collection/AbstractSynchronizedRichIterable.html" title="class in org.eclipse.collections.impl.collection">AbstractSynchronizedRichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="modifiers">public</span> <span class="returnType"><a href="../../../api/bag/primitive/MutableByteBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableByteBag</a></span> <span class="memberName">collectByte</span>​(<span class="arguments"><a href="../../../api/block/function/primitive/ByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteFunction</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> byteFunction)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">RichIterable</a></code></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></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/AbstractSynchronizedRichIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a></code> in class <code><a href="../../collection/AbstractSynchronizedRichIterable.html" title="class in org.eclipse.collections.impl.collection">AbstractSynchronizedRichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="modifiers">public</span> <span class="returnType"><a href="../../../api/bag/primitive/MutableCharBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableCharBag</a></span> <span class="memberName">collectChar</span>​(<span class="arguments"><a href="../../../api/block/function/primitive/CharFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">CharFunction</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> charFunction)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">RichIterable</a></code></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></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/AbstractSynchronizedRichIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a></code> in class <code><a href="../../collection/AbstractSynchronizedRichIterable.html" title="class in org.eclipse.collections.impl.collection">AbstractSynchronizedRichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="modifiers">public</span> <span class="returnType"><a href="../../../api/bag/primitive/MutableDoubleBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableDoubleBag</a></span> <span class="memberName">collectDouble</span>​(<span class="arguments"><a href="../../../api/block/function/primitive/DoubleFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">DoubleFunction</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> doubleFunction)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">RichIterable</a></code></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></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/AbstractSynchronizedRichIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a></code> in class <code><a href="../../collection/AbstractSynchronizedRichIterable.html" title="class in org.eclipse.collections.impl.collection">AbstractSynchronizedRichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="modifiers">public</span> <span class="returnType"><a href="../../../api/bag/primitive/MutableFloatBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableFloatBag</a></span> <span class="memberName">collectFloat</span>​(<span class="arguments"><a href="../../../api/block/function/primitive/FloatFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">FloatFunction</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> floatFunction)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">RichIterable</a></code></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></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/AbstractSynchronizedRichIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a></code> in class <code><a href="../../collection/AbstractSynchronizedRichIterable.html" title="class in org.eclipse.collections.impl.collection">AbstractSynchronizedRichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="modifiers">public</span> <span class="returnType"><a href="../../../api/bag/primitive/MutableIntBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableIntBag</a></span> <span class="memberName">collectInt</span>​(<span class="arguments"><a href="../../../api/block/function/primitive/IntFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntFunction</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> intFunction)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">RichIterable</a></code></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></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/AbstractSynchronizedRichIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a></code> in class <code><a href="../../collection/AbstractSynchronizedRichIterable.html" title="class in org.eclipse.collections.impl.collection">AbstractSynchronizedRichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="modifiers">public</span> <span class="returnType"><a href="../../../api/bag/primitive/MutableLongBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableLongBag</a></span> <span class="memberName">collectLong</span>​(<span class="arguments"><a href="../../../api/block/function/primitive/LongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongFunction</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> longFunction)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">RichIterable</a></code></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></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/AbstractSynchronizedRichIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a></code> in class <code><a href="../../collection/AbstractSynchronizedRichIterable.html" title="class in org.eclipse.collections.impl.collection">AbstractSynchronizedRichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="modifiers">public</span> <span class="returnType"><a href="../../../api/bag/primitive/MutableShortBag.html" title="interface in org.eclipse.collections.api.bag.primitive">MutableShortBag</a></span> <span class="memberName">collectShort</span>​(<span class="arguments"><a href="../../../api/block/function/primitive/ShortFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ShortFunction</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> shortFunction)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">RichIterable</a></code></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></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/AbstractSynchronizedRichIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a></code> in class <code><a href="../../collection/AbstractSynchronizedRichIterable.html" title="class in org.eclipse.collections.impl.collection">AbstractSynchronizedRichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="modifiers">public</span> <span class="typeParameters"><P,​ |
| A></span> <span class="returnType"><a href="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><A></span> <span class="memberName">collectWith</span>​(<span class="arguments"><a href="../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​? super P,​? extends A> function, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">RichIterable</a></code></span></div> |
| <div class="block">Same as <a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a> 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></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/AbstractSynchronizedRichIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code> in class <code><a href="../../collection/AbstractSynchronizedRichIterable.html" title="class in org.eclipse.collections.impl.collection">AbstractSynchronizedRichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - A <a href="../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function"><code>Function2</code></a> to use as the collect transformation function</dd> |
| <dd><code>parameter</code> - A parameter to pass in for evaluation of the second argument <code>P</code> in <code>function</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A new <code>RichIterable</code> that contains the transformed elements returned by <a href="../../../api/block/function/Function2.html#value(T1,T2)"><code>Function2.value(Object, Object)</code></a></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)">collectIf</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><A></span> <span class="returnType"><a href="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><A></span> <span class="memberName">collectIf</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>> predicate, |
| <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​? extends A> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block">Returns a new collection with the results of applying the specified function on each element of the source |
| collection, but only for those elements which return true upon evaluation of the predicate. This is the |
| the optimized equivalent of calling iterable.select(predicate).collect(function). |
| <p> |
| Example using a Java 8 lambda and method reference: |
| <pre> |
| RichIterable<String> strings = Lists.mutable.with(1, 2, 3).collectIf(e -> e != null, Object::toString); |
| </pre> |
| <p> |
| Example using Predicates factory: |
| <pre> |
| RichIterable<String> strings = Lists.mutable.with(1, 2, 3).collectIf(Predicates.notNull(), Functions.getToString()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)">collectIf</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)">collectIf</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)">collectIf</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/AbstractSynchronizedRichIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)">collectIf</a></code> in class <code><a href="../../collection/AbstractSynchronizedRichIterable.html" title="class in org.eclipse.collections.impl.collection">AbstractSynchronizedRichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="modifiers">public</span> <span class="typeParameters"><A></span> <span class="returnType"><a href="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><A></span> <span class="memberName">flatCollect</span>​(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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><A>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block"><code>flatCollect</code> is a special case of <a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a>. With <code>collect</code>, when the <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> returns |
| a collection, the result is a collection of collections. <code>flatCollect</code> outputs a single "flattened" collection |
| instead. This method is commonly called flatMap. |
| <p> |
| Consider the following example where we have a <code>Person</code> class, and each <code>Person</code> has a list of <code>Address</code> objects. Take the following <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a>: |
| <pre> |
| Function<Person, List<Address>> addressFunction = Person::getAddresses; |
| RichIterable<Person> people = ...; |
| </pre> |
| Using <code>collect</code> returns a collection of collections of addresses. |
| <pre> |
| RichIterable<List<Address>> addresses = people.collect(addressFunction); |
| </pre> |
| Using <code>flatCollect</code> returns a single flattened list of addresses. |
| <pre> |
| RichIterable<Address> addresses = people.flatCollect(addressFunction); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/AbstractSynchronizedRichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code> in class <code><a href="../../collection/AbstractSynchronizedRichIterable.html" title="class in org.eclipse.collections.impl.collection">AbstractSynchronizedRichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - The <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to apply</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new flattened collection produced by applying the given <code>function</code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><KK></span> <span class="returnType"><a href="../../../api/multimap/bag/MutableBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">MutableBagMultimap</a><KK,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">groupBy</span>​(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​? extends KK> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#groupBy(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 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></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../AbstractSynchronizedMapIterable.html#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></code> in class <code><a href="../AbstractSynchronizedMapIterable.html" title="class in org.eclipse.collections.impl.map">AbstractSynchronizedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="modifiers">public</span> <span class="typeParameters"><KK></span> <span class="returnType"><a href="../../../api/multimap/bag/MutableBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">MutableBagMultimap</a><KK,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">groupByEach</span>​(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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><KK>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block">Similar to <a href="../../../api/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="../../../api/map/MutableMap.html#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../AbstractSynchronizedMapIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></code> in class <code><a href="../AbstractSynchronizedMapIterable.html" title="class in org.eclipse.collections.impl.map">AbstractSynchronizedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></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="modifiers">public</span> <span class="typeParameters"><S></span> <span class="returnType"><a href="../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><<a href="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="../../../api/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="../../../api/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="../../../api/map/MutableMap.html#zip(java.lang.Iterable)">zip</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#zip(java.lang.Iterable)">zip</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#zip(java.lang.Iterable)">zip</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#zip(java.lang.Iterable)">zip</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../AbstractSynchronizedMapIterable.html#zip(java.lang.Iterable)">zip</a></code> in class <code><a href="../AbstractSynchronizedMapIterable.html" title="class in org.eclipse.collections.impl.map">AbstractSynchronizedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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="groupByUniqueKey(org.eclipse.collections.api.block.function.Function)">groupByUniqueKey</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV></span> <span class="returnType"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><VV,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">groupByUniqueKey</span>​(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​? extends VV> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/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="../../../api/map/MutableMap.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function)">groupByUniqueKey</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function)">groupByUniqueKey</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function)">groupByUniqueKey</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function)">groupByUniqueKey</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../AbstractSynchronizedMapIterable.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function)">groupByUniqueKey</a></code> in class <code><a href="../AbstractSynchronizedMapIterable.html" title="class in org.eclipse.collections.impl.map">AbstractSynchronizedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../api/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="flipUniqueValues()">flipUniqueValues</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></span> <span class="memberName">flipUniqueValues</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/map/MapIterable.html#flipUniqueValues()">MapIterable</a></code></span></div> |
| <div class="block">Return the MapIterable that is obtained by flipping the direction of this map and making the associations |
| from value to key. |
| <pre> |
| MapIterable<Integer, String> map = this.newMapWithKeysValues(1, "1", 2, "2", 3, "3"); |
| MapIterable<String, Integer> result = map.flipUniqueValues(); |
| Assert.assertTrue(result.equals(UnifiedMap.newWithKeysValues("1", 1, "2", 2, "3", 3))); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MapIterable.html#flipUniqueValues()">flipUniqueValues</a></code> in interface <code><a href="../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#flipUniqueValues()">flipUniqueValues</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#flipUniqueValues()">flipUniqueValues</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#flipUniqueValues()">flipUniqueValues</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="flip()">flip</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/multimap/set/MutableSetMultimap.html" title="interface in org.eclipse.collections.api.multimap.set">MutableSetMultimap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></span> <span class="memberName">flip</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/map/MapIterable.html#flip()">MapIterable</a></code></span></div> |
| <div class="block">Given a map from Domain <code>-></code> Range return a multimap from Range <code>-></code> Domain. We chose the name 'flip' |
| rather than 'invert' or 'transpose' since this method does not have the property of applying twice |
| returns the original. |
| <p> |
| Since the keys in the input are unique, the values in the output are unique, so the return type should |
| be a SetMultimap. However since SetMultimap and SortedSetMultimap don't inherit from one another, SetMultimap |
| here does not allow SortedMapIterable to have a SortedSetMultimap return. Thus we compromise and call this |
| Multimap, even though all implementations will be a SetMultimap or SortedSetMultimap.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MapIterable.html#flip()">flip</a></code> in interface <code><a href="../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#flip()">flip</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#flip()">flip</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#flip()">flip</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="keySet()">keySet</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></span> <span class="memberName">keySet</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#keySet()" title="class or interface in java.util" class="externalLink">keySet</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="values()">values</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">values</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#values()" title="class or interface in java.util" class="externalLink">values</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="entrySet()">entrySet</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util" class="externalLink">Map.Entry</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>>></span> <span class="memberName">entrySet</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#entrySet()" title="class or interface in java.util" class="externalLink">entrySet</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="keysView()">keysView</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>></span> <span class="memberName">keysView</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/map/MapIterable.html#keysView()">MapIterable</a></code></span></div> |
| <div class="block">Returns an unmodifiable lazy iterable wrapped around the keySet for the map.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MapIterable.html#keysView()">keysView</a></code> in interface <code><a href="../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="valuesView()">valuesView</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">valuesView</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/map/MapIterable.html#valuesView()">MapIterable</a></code></span></div> |
| <div class="block">Returns an unmodifiable lazy iterable wrapped around the values for the map.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MapIterable.html#valuesView()">valuesView</a></code> in interface <code><a href="../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="asUnmodifiable()">asUnmodifiable</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">asUnmodifiable</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/map/MutableMapIterable.html#asUnmodifiable()">MutableMapIterable</a></code></span></div> |
| <div class="block">Returns an unmodifiable view of this map. This is the equivalent of using |
| <code>Collections.unmodifiableMap(this)</code> only with a return type that supports the full |
| iteration protocols available on <code>MutableMapIterable</code>. Methods which would |
| mutate the underlying map will throw UnsupportedOperationExceptions.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#asUnmodifiable()">asUnmodifiable</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#asUnmodifiable()">asUnmodifiable</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an unmodifiable view of this map.</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#unmodifiableMap(java.util.Map)" title="class or interface in java.util" class="externalLink"><code>Collections.unmodifiableMap(Map)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="asSynchronized()">asSynchronized</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">asSynchronized</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/map/MutableMapIterable.html#asSynchronized()">MutableMapIterable</a></code></span></div> |
| <div class="block">Returns a synchronized wrapper backed by this map. This is the equivalent of calling |
| <code>Collections.synchronizedMap(this)</code> only with the more feature rich return type of |
| <code>MutableMapIterable</code>. |
| <p> |
| The preferred way of iterating over a synchronized map is to use the forEachKey(), forEachValue() |
| and forEachKeyValue() methods which are properly synchronized internally. |
| <pre> |
| MutableMap synchedMap = map.asSynchronized(); |
| |
| synchedMap.forEachKey(key -> ... ); |
| synchedMap.forEachValue(value -> ... ); |
| synchedMap.forEachKeyValue((key, value) -> ... ); |
| </pre> |
| <p> |
| If you want to iterate imperatively over the keySet(), values(), or entrySet(), you will |
| need to protect the iteration by wrapping the code in a synchronized block on the map.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMap.html#asSynchronized()">asSynchronized</a></code> in interface <code><a href="../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#asSynchronized()">asSynchronized</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></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#synchronizedMap(java.util.Map)" title="class or interface in java.util" class="externalLink"><code>Collections.synchronizedMap(Map)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toImmutable()">toImmutable</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/map/ImmutableMap.html" title="interface in org.eclipse.collections.api.map">ImmutableMap</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></span> <span class="memberName">toImmutable</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/map/MutableMapIterable.html#toImmutable()">MutableMapIterable</a></code></span></div> |
| <div class="block">Returns an immutable copy of this map. |
| If the map is immutable, it returns itself.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MapIterable.html#toImmutable()">toImmutable</a></code> in interface <code><a href="../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/MutableMapIterable.html#toImmutable()">toImmutable</a></code> in interface <code><a href="../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/map/UnsortedMapIterable.html#toImmutable()">toImmutable</a></code> in interface <code><a href="../../../api/map/UnsortedMapIterable.html" title="interface in org.eclipse.collections.api.map">UnsortedMapIterable</a><<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">K</a>,​<a href="SynchronizedMutableMap.html" title="type parameter in SynchronizedMutableMap">V</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/SynchronizedMutableMap.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><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2004–2020. All rights reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |