| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (14.0.2) on Thu Aug 20 21:25:36 CDT 2020 --> |
| <title>UnmodifiableMutableOrderedMap (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.ordered.mutable, class: UnmodifiableMutableOrderedMap"> |
| <meta name="generator" content="javadoc/ClassWriterImpl"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../../../script-dir/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../../../script-dir/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../../../script-dir/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../../../script-dir/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../../../script-dir/jquery-3.4.1.js"></script> |
| <script type="text/javascript" src="../../../../../../../script-dir/jquery-ui.js"></script> |
| </head> |
| <body class="class-declaration"> |
| <script type="text/javascript">var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10,"i67":10,"i68":10,"i69":10,"i70":10,"i71":10,"i72":10,"i73":10,"i74":10,"i75":10,"i76":10,"i77":10,"i78":10,"i79":10,"i80":10,"i81":10,"i82":10,"i83":10,"i84":10,"i85":10,"i86":10,"i87":10,"i88":10,"i89":10,"i90":10,"i91":10,"i92":10,"i93":10,"i94":10,"i95":10,"i96":10,"i97":10,"i98":10,"i99":10,"i100":10,"i101":10,"i102":10,"i103":10,"i104":10,"i105":10,"i106":10,"i107":10,"i108":10,"i109":10,"i110":10,"i111":10,"i112":10,"i113":10,"i114":10,"i115":10,"i116":10,"i117":10,"i118":10,"i119":10,"i120":10,"i121":10,"i122":10,"i123":10,"i124":10,"i125":10,"i126":10,"i127":10,"i128":10,"i129":10,"i130":10,"i131":10,"i132":10,"i133":10,"i134":10,"i135":10,"i136":10,"i137":10,"i138":10,"i139":10,"i140":10,"i141":10,"i142":10,"i143":10,"i144":9,"i145":10,"i146":10,"i147":10,"i148":10,"i149":10,"i150":10,"i151":10,"i152":10,"i153":10,"i154":10,"i155":10,"i156":10,"i157":10,"i158":10,"i159":10,"i160":10,"i161":10,"i162":10,"i163":10,"i164":10,"i165":10,"i166":10,"i167":10,"i168":10,"i169":10,"i170":10,"i171":10,"i172":10,"i173":10,"i174":10,"i175":10,"i176":10,"i177":10,"i178":10,"i179":10,"i180":10,"i181":10,"i182":10,"i183":10,"i184":10,"i185":10,"i186":10,"i187":10,"i188":10,"i189":10,"i190":10,"i191":10,"i192":10,"i193":10,"i194":10,"i195":10,"i196":10,"i197":10,"i198":10,"i199":10,"i200":10,"i201":10,"i202":10,"i203":10,"i204":10,"i205":10,"i206":10,"i207":10,"i208":10,"i209":10,"i210":10,"i211":10,"i212":10,"i213":10,"i214":10,"i215":10,"i216":10,"i217":10,"i218":10,"i219":10,"i220":10,"i221":10,"i222":10,"i223":10}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../../../../"; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <div class="flexBox"> |
| <header role="banner" class="flexHeader"> |
| <nav role="navigation"> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a id="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/UnmodifiableMutableOrderedMap.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.ordered.mutable</a></div> |
| <h1 title="Class UnmodifiableMutableOrderedMap" class="title">Class UnmodifiableMutableOrderedMap<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">org.eclipse.collections.impl.map.ordered.mutable.UnmodifiableMutableOrderedMap<K,​V></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/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/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><K,​V></code>, <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><K,​V></code>, <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><K,​V></code>, <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><V></code>, <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><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">UnmodifiableMutableOrderedMap<K,​V></span> |
| extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> |
| implements <a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</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">An unmodifiable view of a map.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../api/map/MutableMap.html#asUnmodifiable()"><code>MutableMap.asUnmodifiable()</code></a>, |
| <a href="../../../../../../../serialized-form.html#org.eclipse.collections.impl.map.ordered.mutable.UnmodifiableMutableOrderedMap">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.MutableOrderedMap)">UnmodifiableMutableOrderedMap</a></span>​(<a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> delegate)</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></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><K1,​ |
| V1,​ |
| V2> <a href="../../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><K1,​V2></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#aggregateBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2)">aggregateBy</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? extends K1> keyFunction, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends V1> valueFunction, |
| <a href="../../../../api/block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends V2> zeroValueFactory, |
| <a href="../../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super V2,​? super V1,​? extends V2> nonMutatingAggregator)</code></th> |
| <td class="colLast"> |
| <div class="block">Applies an aggregate function over the map grouping results into a map based on the specific key and value groupBy functions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i1"> |
| <td class="colFirst"><code><KK,​ |
| VV> <a href="../../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><KK,​VV></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#aggregateBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2)">aggregateBy</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends KK> groupBy, |
| <a href="../../../../api/block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends VV> zeroValueFactory, |
| <a href="../../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super VV,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> nonMutatingAggregator)</code></th> |
| <td class="colLast"> |
| <div class="block">Applies an aggregate function over the iterable grouping results into a map based on the specific groupBy function.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i2"> |
| <td class="colFirst"><code><KK,​ |
| VV> <a href="../../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><KK,​VV></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.procedure.Procedure2)">aggregateInPlaceBy</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends KK> groupBy, |
| <a href="../../../../api/block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends VV> zeroValueFactory, |
| <a href="../../../../api/block/procedure/Procedure2.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure2</a><? super VV,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> mutatingAggregator)</code></th> |
| <td class="colLast"> |
| <div class="block">Applies an aggregate procedure over the iterable grouping results into a Map based on the specific groupBy function.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i3"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">allSatisfy</a></span>​(<a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the predicate evaluates to true for every element of the iterable or if the iterable is empty.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i4"> |
| <td class="colFirst"><code><P> boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">allSatisfyWith</a></span>​(<a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the predicate evaluates to true for every element of the collection, or returns false.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i5"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#anySatisfy(org.eclipse.collections.api.block.predicate.Predicate)">anySatisfy</a></span>​(<a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the predicate evaluates to true for any element of the iterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i6"> |
| <td class="colFirst"><code><P> boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">anySatisfyWith</a></span>​(<a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the predicate evaluates to true for any element of the collection, or return false.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i7"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#appendString(java.lang.Appendable)">appendString</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Appendable</a> appendable)</code></th> |
| <td class="colLast"> |
| <div class="block">Prints a string representation of this collection onto the given <code>Appendable</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i8"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#appendString(java.lang.Appendable,java.lang.String)">appendString</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Appendable</a> appendable, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> separator)</code></th> |
| <td class="colLast"> |
| <div class="block">Prints a string representation of this collection onto the given <code>Appendable</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i9"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Appendable</a> appendable, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> start, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> separator, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> end)</code></th> |
| <td class="colLast"> |
| <div class="block">Prints a string representation of this collection onto the given <code>Appendable</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i10"> |
| <td class="colFirst"><code><a href="../../../../api/LazyIterable.html" title="interface in org.eclipse.collections.api">LazyIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asLazy()">asLazy</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a lazy (deferred) iterable, most likely implemented by calling LazyIterate.adapt(this).</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i11"> |
| <td class="colFirst"><code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="altColor" id="i12"> |
| <td class="colFirst"><code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="rowColor" id="i13"> |
| <td class="colFirst"><code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#chunk(int)">chunk</a></span>​(int size)</code></th> |
| <td class="colLast"> |
| <div class="block">Partitions elements in fixed size chunks.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i14"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clear()">clear</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i15"> |
| <td class="colFirst"><code><VV> <a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><VV></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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> 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="i16"> |
| <td class="colFirst"><code><VV,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><VV>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collect(org.eclipse.collections.api.block.function.Function,R)">collect</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i17"> |
| <td class="colFirst"><code><K2,​ |
| V2> <a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​<a href="../../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><K2,​V2>> 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="i18"> |
| <td class="colFirst"><code><a href="../../../../api/list/primitive/MutableBooleanList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableBooleanList</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="rowColor" id="i19"> |
| <td class="colFirst"><code><R extends <a href="../../../../api/collection/primitive/MutableBooleanCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableBooleanCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction,R)">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> booleanFunction, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)"><code>RichIterable.collectBoolean(BooleanFunction)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i20"> |
| <td class="colFirst"><code><a href="../../../../api/list/primitive/MutableByteList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableByteList</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="i21"> |
| <td class="colFirst"><code><R extends <a href="../../../../api/collection/primitive/MutableByteCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableByteCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction,R)">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> byteFunction, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)"><code>RichIterable.collectByte(ByteFunction)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i22"> |
| <td class="colFirst"><code><a href="../../../../api/list/primitive/MutableCharList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableCharList</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="rowColor" id="i23"> |
| <td class="colFirst"><code><R extends <a href="../../../../api/collection/primitive/MutableCharCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableCharCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction,R)">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> charFunction, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)"><code>RichIterable.collectChar(CharFunction)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i24"> |
| <td class="colFirst"><code><a href="../../../../api/list/primitive/MutableDoubleList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableDoubleList</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="i25"> |
| <td class="colFirst"><code><R extends <a href="../../../../api/collection/primitive/MutableDoubleCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableDoubleCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction,R)">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> doubleFunction, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)"><code>RichIterable.collectDouble(DoubleFunction)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i26"> |
| <td class="colFirst"><code><a href="../../../../api/list/primitive/MutableFloatList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableFloatList</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="rowColor" id="i27"> |
| <td class="colFirst"><code><R extends <a href="../../../../api/collection/primitive/MutableFloatCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableFloatCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction,R)">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> floatFunction, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)"><code>RichIterable.collectFloat(FloatFunction)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i28"> |
| <td class="colFirst"><code><VV> <a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><VV></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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> 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="i29"> |
| <td class="colFirst"><code><VV,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><VV>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function,R)">collectIf</a></span>​(<a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as the collectIf method with two parameters but uses the specified target collection for the results.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i30"> |
| <td class="colFirst"><code><a href="../../../../api/list/primitive/MutableIntList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableIntList</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="rowColor" id="i31"> |
| <td class="colFirst"><code><R extends <a href="../../../../api/collection/primitive/MutableIntCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableIntCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction,R)">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> intFunction, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)"><code>RichIterable.collectInt(IntFunction)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i32"> |
| <td class="colFirst"><code><a href="../../../../api/list/primitive/MutableLongList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableLongList</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="rowColor" id="i33"> |
| <td class="colFirst"><code><R extends <a href="../../../../api/collection/primitive/MutableLongCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableLongCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction,R)">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> longFunction, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)"><code>RichIterable.collectLong(LongFunction)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i34"> |
| <td class="colFirst"><code><a href="../../../../api/list/primitive/MutableShortList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableShortList</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="i35"> |
| <td class="colFirst"><code><R extends <a href="../../../../api/collection/primitive/MutableShortCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableShortCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction,R)">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> shortFunction, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)"><code>RichIterable.collectShort(ShortFunction)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i36"> |
| <td class="colFirst"><code><R> <a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="rowColor" id="i37"> |
| <td class="colFirst"><code><P,​ |
| VV> <a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><VV></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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P,​? extends VV> 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="altColor" id="i38"> |
| <td class="colFirst"><code><P,​ |
| VV,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><VV>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectWith(org.eclipse.collections.api.block.function.Function2,P,R)">collectWith</a></span>​(<a href="../../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P,​? extends VV> function, |
| P parameter, |
| R targetCollection)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as collectWith but with a targetCollection parameter to gather the results.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i39"> |
| <td class="colFirst"><code><V1> <a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><V1></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectWithIndex(org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction)">collectWithIndex</a></span>​(<a href="../../../../api/block/function/primitive/ObjectIntToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ObjectIntToObjectFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends V1> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new OrderedIterable using results obtained by applying the specified function to each element |
| and its corresponding index.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i40"> |
| <td class="colFirst"><code><VV,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><VV>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectWithIndex(org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction,R)">collectWithIndex</a></span>​(<a href="../../../../api/block/function/primitive/ObjectIntToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ObjectIntToObjectFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds elements to the target Collection using results obtained by applying the specified function to each element |
| and its corresponding index.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i41"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#contains(java.lang.Object)">contains</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> object)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the iterable has an element which responds true to element.equals(object).</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i42"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#containsAll(java.util.Collection)">containsAll</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><?> source)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if all elements in source are contained in this collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i43"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#containsAllArguments(java.lang.Object...)">containsAllArguments</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>... elements)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if all elements in the specified var arg array are contained in this collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i44"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#containsAllIterable(java.lang.Iterable)">containsAllIterable</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><?> source)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if all elements in source are contained in this collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i45"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#containsKey(java.lang.Object)">containsKey</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> key)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i46"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#containsValue(java.lang.Object)">containsValue</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i47"> |
| <td class="colFirst"><code><S> boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#corresponds(org.eclipse.collections.api.ordered.OrderedIterable,org.eclipse.collections.api.block.predicate.Predicate2)">corresponds</a></span>​(<a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><S> other, |
| <a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super S> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if both OrderedIterables have the same length |
| and <code>predicate</code> returns true for all corresponding elements e1 of |
| this <code>OrderedIterable</code> and e2 of <code>other</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i48"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#count(org.eclipse.collections.api.block.predicate.Predicate)">count</a></span>​(<a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Return the total number of elements that answer true to the specified predicate.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i49"> |
| <td class="colFirst"><code><VV> <a href="../../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><VV></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#countBy(org.eclipse.collections.api.block.function.Function)">countBy</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function)</code></th> |
| <td class="colLast"> |
| <div class="block">This method will count the number of occurrences of each value calculated by applying the |
| function to each element of the collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i50"> |
| <td class="colFirst"><code><VV,​ |
| R extends <a href="../../../../api/bag/MutableBagIterable.html" title="interface in org.eclipse.collections.api.bag">MutableBagIterable</a><VV>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#countBy(org.eclipse.collections.api.block.function.Function,R)">countBy</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">This method will count the number of occurrences of each value calculated by applying the |
| function to each element of the collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i51"> |
| <td class="colFirst"><code><VV,​ |
| P> <a href="../../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><VV></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#countByWith(org.eclipse.collections.api.block.function.Function2,P)">countByWith</a></span>​(<a href="../../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P,​? extends VV> function, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">This method will count the number of occurrences of each value calculated by applying the |
| function to each element of the collection with the specified parameter as the second argument.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i52"> |
| <td class="colFirst"><code><VV,​ |
| P,​ |
| R extends <a href="../../../../api/bag/MutableBagIterable.html" title="interface in org.eclipse.collections.api.bag">MutableBagIterable</a><VV>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#countByWith(org.eclipse.collections.api.block.function.Function2,P,R)">countByWith</a></span>​(<a href="../../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P,​? extends VV> function, |
| P parameter, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">This method will count the number of occurrences of each value calculated by applying the |
| function to each element of the collection with the specified parameter as the second argument.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i53"> |
| <td class="colFirst"><code><P> int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#countWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">countWith</a></span>​(<a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the total number of elements that evaluate to true for the specified predicate.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i54"> |
| <td class="colFirst"><code><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detect(org.eclipse.collections.api.block.predicate.Predicate)">detect</a></span>​(<a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the first element of the iterable for which the predicate evaluates to true or null in the case where no |
| element returns true.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i55"> |
| <td class="colFirst"><code><a href="../../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detect(org.eclipse.collections.api.block.predicate.Predicate2)">detect</a></span>​(<a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Return the first key and value of the map for which the predicate evaluates to true when they are given |
| as arguments.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i56"> |
| <td class="colFirst"><code><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detectIfNone(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function0)">detectIfNone</a></span>​(<a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate, |
| <a href="../../../../api/block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the first element of the iterable for which the predicate evaluates to true.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i57"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detectIndex(org.eclipse.collections.api.block.predicate.Predicate)">detectIndex</a></span>​(<a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the index of the first element of the <code>OrderedIterable</code> for which the <code>predicate</code> evaluates to true.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i58"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detectLastIndex(org.eclipse.collections.api.block.predicate.Predicate)">detectLastIndex</a></span>​(<a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the index of the last element of the <code>ReversibleIterable</code> for which the <code>predicate</code> evaluates to true.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i59"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detectOptional(org.eclipse.collections.api.block.predicate.Predicate)">detectOptional</a></span>​(<a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the first element of the iterable for which the predicate evaluates to true as an Optional.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i60"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="../../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detectOptional(org.eclipse.collections.api.block.predicate.Predicate2)">detectOptional</a></span>​(<a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Return the first key and value of the map as an Optional for which the predicate evaluates to true when |
| they are given as arguments.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i61"> |
| <td class="colFirst"><code><P> <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWith</a></span>​(<a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the first element that evaluates to true for the specified predicate2 and parameter, or null if none |
| evaluate to true.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i62"> |
| <td class="colFirst"><code><P> <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detectWithIfNone(org.eclipse.collections.api.block.predicate.Predicate2,P,org.eclipse.collections.api.block.function.Function0)">detectWithIfNone</a></span>​(<a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P> predicate, |
| P parameter, |
| <a href="../../../../api/block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the first element of the iterable that evaluates to true for the specified predicate2 and parameter, or |
| returns the value of evaluating the specified function.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i63"> |
| <td class="colFirst"><code><P> <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#detectWithOptional(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWithOptional</a></span>​(<a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the first element that evaluates to true for the specified predicate2 and parameter as an Optional.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i64"> |
| <td class="colFirst"><code><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#distinct()">distinct</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new <code>OrderedIterable</code> containing the distinct elements in this iterable.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i65"> |
| <td class="colFirst"><code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#drop(int)">drop</a></span>​(int count)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an iterable after skipping the first <code>count</code> elements |
| or an empty iterable if the <code>count</code> is greater than the length of the iterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i66"> |
| <td class="colFirst"><code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#dropWhile(org.eclipse.collections.api.block.predicate.Predicate)">dropWhile</a></span>​(<a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the final elements that do not satisfy the Predicate.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i67"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#each(org.eclipse.collections.api.block.procedure.Procedure)">each</a></span>​(<a href="../../../../api/block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> procedure)</code></th> |
| <td class="colLast"> |
| <div class="block">The procedure is executed for each element in the iterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i68"> |
| <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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="rowColor" id="i69"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#equals(java.lang.Object)">equals</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> o)</code></th> |
| <td class="colLast"> |
| <div class="block">Follows the same general contract as <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util" class="externalLink"><code>Map.equals(Object)</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i70"> |
| <td class="colFirst"><code><VV> <a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><VV></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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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><VV>> 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="i71"> |
| <td class="colFirst"><code><VV,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><VV>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flatCollect(org.eclipse.collections.api.block.function.Function,R)">flatCollect</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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><VV>> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i72"> |
| <td class="colFirst"><code><R extends <a href="../../../../api/collection/primitive/MutableBooleanCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableBooleanCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flatCollectBoolean(org.eclipse.collections.api.block.function.Function,R)">flatCollectBoolean</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends <a href="../../../../api/BooleanIterable.html" title="interface in org.eclipse.collections.api">BooleanIterable</a>> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i73"> |
| <td class="colFirst"><code><R extends <a href="../../../../api/collection/primitive/MutableByteCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableByteCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flatCollectByte(org.eclipse.collections.api.block.function.Function,R)">flatCollectByte</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends <a href="../../../../api/ByteIterable.html" title="interface in org.eclipse.collections.api">ByteIterable</a>> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i74"> |
| <td class="colFirst"><code><R extends <a href="../../../../api/collection/primitive/MutableCharCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableCharCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flatCollectChar(org.eclipse.collections.api.block.function.Function,R)">flatCollectChar</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends <a href="../../../../api/CharIterable.html" title="interface in org.eclipse.collections.api">CharIterable</a>> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i75"> |
| <td class="colFirst"><code><R extends <a href="../../../../api/collection/primitive/MutableDoubleCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableDoubleCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flatCollectDouble(org.eclipse.collections.api.block.function.Function,R)">flatCollectDouble</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends <a href="../../../../api/DoubleIterable.html" title="interface in org.eclipse.collections.api">DoubleIterable</a>> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i76"> |
| <td class="colFirst"><code><R extends <a href="../../../../api/collection/primitive/MutableFloatCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableFloatCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flatCollectFloat(org.eclipse.collections.api.block.function.Function,R)">flatCollectFloat</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends <a href="../../../../api/FloatIterable.html" title="interface in org.eclipse.collections.api">FloatIterable</a>> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i77"> |
| <td class="colFirst"><code><R extends <a href="../../../../api/collection/primitive/MutableIntCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableIntCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flatCollectInt(org.eclipse.collections.api.block.function.Function,R)">flatCollectInt</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends <a href="../../../../api/IntIterable.html" title="interface in org.eclipse.collections.api">IntIterable</a>> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i78"> |
| <td class="colFirst"><code><R extends <a href="../../../../api/collection/primitive/MutableLongCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableLongCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flatCollectLong(org.eclipse.collections.api.block.function.Function,R)">flatCollectLong</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends <a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a>> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i79"> |
| <td class="colFirst"><code><R extends <a href="../../../../api/collection/primitive/MutableShortCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableShortCollection</a>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flatCollectShort(org.eclipse.collections.api.block.function.Function,R)">flatCollectShort</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends <a href="../../../../api/ShortIterable.html" title="interface in org.eclipse.collections.api">ShortIterable</a>> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i80"> |
| <td class="colFirst"><code><P,​ |
| VV> <a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><VV></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P)">flatCollectWith</a></span>​(<a href="../../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P,​? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><VV>> function, |
| P parameter)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i81"> |
| <td class="colFirst"><code><P,​ |
| VV,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><VV>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P,R)">flatCollectWith</a></span>​(<a href="../../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P,​? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><VV>> function, |
| P parameter, |
| R target)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i82"> |
| <td class="colFirst"><code><a href="../../../../api/multimap/list/MutableListMultimap.html" title="interface in org.eclipse.collections.api.multimap.list">MutableListMultimap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="rowColor" id="i83"> |
| <td class="colFirst"><code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="altColor" id="i84"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#forEach(int,int,org.eclipse.collections.api.block.procedure.Procedure)">forEach</a></span>​(int startIndex, |
| int endIndex, |
| <a href="../../../../api/block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> procedure)</code></th> |
| <td class="colLast"> |
| <div class="block">Iterates over the section of the iterable covered by the specified inclusive indexes.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i85"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#forEach(java.util.function.Consumer)">forEach</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Consumer</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> consumer)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i86"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#forEachKey(org.eclipse.collections.api.block.procedure.Procedure)">forEachKey</a></span>​(<a href="../../../../api/block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>> procedure)</code></th> |
| <td class="colLast"> |
| <div class="block">Calls the <code>procedure</code> with each <em>key</em> of the map.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i87"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#forEachKeyValue(org.eclipse.collections.api.block.procedure.Procedure2)">forEachKeyValue</a></span>​(<a href="../../../../api/block/procedure/Procedure2.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> procedure)</code></th> |
| <td class="colLast"> |
| <div class="block">Calls the <code>procedure</code> with each <em>key-value</em> pair of the map.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i88"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#forEachValue(org.eclipse.collections.api.block.procedure.Procedure)">forEachValue</a></span>​(<a href="../../../../api/block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> procedure)</code></th> |
| <td class="colLast"> |
| <div class="block">Calls the procedure with each <em>value</em> of the map.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i89"> |
| <td class="colFirst"><code><P> void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,P)">forEachWith</a></span>​(<a href="../../../../api/block/procedure/Procedure2.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P> procedure, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">The procedure2 is evaluated for each element in the iterable with the specified parameter provided |
| as the second argument.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i90"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#forEachWithIndex(int,int,org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></span>​(int fromIndex, |
| int toIndex, |
| <a href="../../../../api/block/procedure/primitive/ObjectIntProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">ObjectIntProcedure</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> objectIntProcedure)</code></th> |
| <td class="colLast"> |
| <div class="block">Iterates over the section of the iterable covered by the specified inclusive indexes.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i91"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></span>​(<a href="../../../../api/block/procedure/primitive/ObjectIntProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">ObjectIntProcedure</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> objectIntProcedure)</code></th> |
| <td class="colLast"> |
| <div class="block">Iterates over the iterable passing each element and the current relative int index to the specified instance of |
| ObjectIntProcedure.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i92"> |
| <td class="colFirst"><code><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#get(java.lang.Object)">get</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> key)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i93"> |
| <td class="colFirst"><code><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFirst()">getFirst</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the first element of an iterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i94"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFirstOptional()">getFirstOptional</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the first element of an iterable as an Optional.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i95"> |
| <td class="colFirst"><code><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIfAbsent(K,org.eclipse.collections.api.block.function.Function0)">getIfAbsent</a></span>​(<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="../../../../api/block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Return the value in the Map that corresponds to the specified key, or if there is no value at the key, return the |
| result of evaluating the specified Function0.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i96"> |
| <td class="colFirst"><code><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIfAbsentPut(K,org.eclipse.collections.api.block.function.Function0)">getIfAbsentPut</a></span>​(<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="../../../../api/block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Get and return the value in the Map at the specified key.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i97"> |
| <td class="colFirst"><code><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIfAbsentPut(K,V)">getIfAbsentPut</a></span>​(<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Get and return the value in the Map at the specified key.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i98"> |
| <td class="colFirst"><code><P> <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIfAbsentPutWith(K,org.eclipse.collections.api.block.function.Function,P)">getIfAbsentPutWith</a></span>​(<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super P,​? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Get and return the value in the Map at the specified key.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i99"> |
| <td class="colFirst"><code><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIfAbsentPutWithKey(K,org.eclipse.collections.api.block.function.Function)">getIfAbsentPutWithKey</a></span>​(<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Get and return the value in the Map at the specified key.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i100"> |
| <td class="colFirst"><code><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIfAbsentValue(K,V)">getIfAbsentValue</a></span>​(<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a> value)</code></th> |
| <td class="colLast"> |
| <div class="block">Return the value in the Map that corresponds to the specified key, or if there is no value at the key, return <code>value</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i101"> |
| <td class="colFirst"><code><P> <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIfAbsentWith(K,org.eclipse.collections.api.block.function.Function,P)">getIfAbsentWith</a></span>​(<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super P,​? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Return the value in the Map that corresponds to the specified key, or if there is no value at the key, return the |
| result of evaluating the specified function and parameter.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i102"> |
| <td class="colFirst"><code><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLast()">getLast</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the last element of an iterable.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i103"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLastOptional()">getLastOptional</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the last element of an iterable as an Optional.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i104"> |
| <td class="colFirst"><code><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOnly()">getOnly</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the element if the iterable has exactly one element.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i105"> |
| <td class="colFirst"><code><VV> <a href="../../../../api/multimap/list/MutableListMultimap.html" title="interface in org.eclipse.collections.api.multimap.list">MutableListMultimap</a><VV,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> 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="i106"> |
| <td class="colFirst"><code><VV,​ |
| R extends <a href="../../../../api/multimap/MutableMultimap.html" title="interface in org.eclipse.collections.api.multimap">MutableMultimap</a><VV,​ |
| <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#groupBy(org.eclipse.collections.api.block.function.Function,R)">groupBy</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#groupBy(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.groupBy(Function)</code></a>, except that the results are gathered into the specified <code>target</code> |
| multimap.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i107"> |
| <td class="colFirst"><code><VV> <a href="../../../../api/multimap/list/MutableListMultimap.html" title="interface in org.eclipse.collections.api.multimap.list">MutableListMultimap</a><VV,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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><VV>> 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="altColor" id="i108"> |
| <td class="colFirst"><code><VV,​ |
| R extends <a href="../../../../api/multimap/MutableMultimap.html" title="interface in org.eclipse.collections.api.multimap">MutableMultimap</a><VV,​ |
| <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#groupByEach(org.eclipse.collections.api.block.function.Function,R)">groupByEach</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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><VV>> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.groupByEach(Function)</code></a>, except that the results are gathered into the specified <code>target</code> |
| multimap.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i109"> |
| <td class="colFirst"><code><VV> <a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><VV,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="i110"> |
| <td class="colFirst"><code><VV,​ |
| R extends <a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><VV,​ |
| <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#groupByUniqueKey(org.eclipse.collections.api.block.function.Function,R)">groupByUniqueKey</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.groupByUniqueKey(Function)</code></a>, except that the results are gathered into the specified <code>target</code> |
| map.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i111"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#hashCode()">hashCode</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Follows the same general contract as <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#hashCode()" title="class or interface in java.util" class="externalLink"><code>Map.hashCode()</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i112"> |
| <td class="colFirst"><code><A> A</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ifPresentApply(K,org.eclipse.collections.api.block.function.Function)">ifPresentApply</a></span>​(<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends A> function)</code></th> |
| <td class="colLast"> |
| <div class="block">If there is a value in the Map that corresponds to the specified key return the result of applying the specified |
| Function on the value, otherwise return null.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i113"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#indexOf(java.lang.Object)">indexOf</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> object)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the index of the first occurrence of the specified item |
| in this iterable, or -1 if this iterable does not contain the item.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i114"> |
| <td class="colFirst"><code>double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#injectInto(double,org.eclipse.collections.api.block.function.primitive.DoubleObjectToDoubleFunction)">injectInto</a></span>​(double injectedValue, |
| <a href="../../../../api/block/function/primitive/DoubleObjectToDoubleFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">DoubleObjectToDoubleFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the final double result of evaluating function using each element of the iterable and the previous evaluation |
| result as the parameters.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i115"> |
| <td class="colFirst"><code>float</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#injectInto(float,org.eclipse.collections.api.block.function.primitive.FloatObjectToFloatFunction)">injectInto</a></span>​(float injectedValue, |
| <a href="../../../../api/block/function/primitive/FloatObjectToFloatFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">FloatObjectToFloatFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the final float result of evaluating function using each element of the iterable and the previous evaluation |
| result as the parameters.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i116"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#injectInto(int,org.eclipse.collections.api.block.function.primitive.IntObjectToIntFunction)">injectInto</a></span>​(int injectedValue, |
| <a href="../../../../api/block/function/primitive/IntObjectToIntFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntObjectToIntFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the final int result of evaluating function using each element of the iterable and the previous evaluation |
| result as the parameters.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i117"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#injectInto(long,org.eclipse.collections.api.block.function.primitive.LongObjectToLongFunction)">injectInto</a></span>​(long injectedValue, |
| <a href="../../../../api/block/function/primitive/LongObjectToLongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongObjectToLongFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the final long result of evaluating function using each element of the iterable and the previous evaluation |
| result as the parameters.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i118"> |
| <td class="colFirst"><code><IV> IV</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#injectInto(IV,org.eclipse.collections.api.block.function.Function2)">injectInto</a></span>​(IV injectedValue, |
| <a href="../../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super IV,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends IV> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the final result of evaluating function using each element of the iterable and the previous evaluation |
| result as the parameters.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i119"> |
| <td class="colFirst"><code><R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#into(R)">into</a></span>​(R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Adds all the elements in this iterable to the specific target Collection.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i120"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isEmpty()">isEmpty</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if this iterable has zero items.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i121"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink">Iterator</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#iterator()">iterator</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i122"> |
| <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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="i123"> |
| <td class="colFirst"><code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="i124"> |
| <td class="colFirst"><code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="../../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#keyValuesView()">keyValuesView</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an unmodifiable lazy iterable of key/value pairs wrapped around the entrySet for the map.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i125"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#makeString()">makeString</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a string representation of this collection by delegating to <a href="../../../../api/RichIterable.html#makeString(java.lang.String)"><code>RichIterable.makeString(String)</code></a> and defaulting |
| the separator parameter to the characters <code>", "</code> (comma and space).</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i126"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#makeString(java.lang.String)">makeString</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> separator)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a string representation of this collection by delegating to <a href="../../../../api/RichIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)"><code>RichIterable.makeString(String, String, String)</code></a> |
| and defaulting the start and end parameters to <code>""</code> (the empty String).</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i127"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#makeString(java.lang.String,java.lang.String,java.lang.String)">makeString</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> start, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> separator, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> end)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a string representation of this collection with the elements separated by the specified |
| separator and enclosed between the start and end strings.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i128"> |
| <td class="colFirst"><code><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#max()">max</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the maximum element out of this container based on the natural order.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i129"> |
| <td class="colFirst"><code><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#max(java.util.Comparator)">max</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> comparator)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the maximum element out of this container based on the comparator.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i130"> |
| <td class="colFirst"><code><VV extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super VV>><br><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#maxBy(org.eclipse.collections.api.block.function.Function)">maxBy</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the maximum elements out of this container based on the natural order of the attribute returned by Function.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i131"> |
| <td class="colFirst"><code><VV extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super VV>><br><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#maxByOptional(org.eclipse.collections.api.block.function.Function)">maxByOptional</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the maximum elements out of this container based on the natural order of the attribute returned by Function as an Optional.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i132"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#maxOptional()">maxOptional</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the maximum element out of this container based on the natural order as an Optional.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i133"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#maxOptional(java.util.Comparator)">maxOptional</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> comparator)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the maximum element out of this container based on the comparator as an Optional.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i134"> |
| <td class="colFirst"><code><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#min()">min</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the minimum element out of this container based on the natural order.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i135"> |
| <td class="colFirst"><code><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#min(java.util.Comparator)">min</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> comparator)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the minimum element out of this container based on the comparator.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i136"> |
| <td class="colFirst"><code><VV extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super VV>><br><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#minBy(org.eclipse.collections.api.block.function.Function)">minBy</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the minimum elements out of this container based on the natural order of the attribute returned by Function.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i137"> |
| <td class="colFirst"><code><VV extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super VV>><br><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#minByOptional(org.eclipse.collections.api.block.function.Function)">minByOptional</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the minimum elements out of this container based on the natural order of the attribute returned by Function as an Optional.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i138"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#minOptional()">minOptional</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the minimum element out of this container based on the natural order as an Optional.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i139"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#minOptional(java.util.Comparator)">minOptional</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> comparator)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the minimum element out of this container based on the comparator as an Optional.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i140"> |
| <td class="colFirst"><code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="i141"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">noneSatisfy</a></span>​(<a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the predicate evaluates to false for every element of the iterable or if the iterable is empty.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i142"> |
| <td class="colFirst"><code><P> boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">noneSatisfyWith</a></span>​(<a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the predicate evaluates to false for every element of the collection, or return false.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i143"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#notEmpty()">notEmpty</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">The English equivalent of !this.isEmpty()</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i144"> |
| <td class="colFirst"><code>static <K,​ |
| V> <a href="UnmodifiableMutableOrderedMap.html" title="class in org.eclipse.collections.impl.map.ordered.mutable">UnmodifiableMutableOrderedMap</a><K,​V></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#of(org.eclipse.collections.api.map.MutableOrderedMap)">of</a></span>​(<a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><K,​V> map)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i145"> |
| <td class="colFirst"><code><a href="../../../../api/partition/list/PartitionMutableList.html" title="interface in org.eclipse.collections.api.partition.list">PartitionMutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="i146"> |
| <td class="colFirst"><code><a href="../../../../api/partition/list/PartitionMutableList.html" title="interface in org.eclipse.collections.api.partition.list">PartitionMutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#partitionWhile(org.eclipse.collections.api.block.predicate.Predicate)">partitionWhile</a></span>​(<a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a Partition of the initial elements that satisfy the Predicate and the remaining elements.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i147"> |
| <td class="colFirst"><code><P> <a href="../../../../api/partition/list/PartitionMutableList.html" title="interface in org.eclipse.collections.api.partition.list">PartitionMutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="altColor" id="i148"> |
| <td class="colFirst"><code><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#put(K,V)">put</a></span>​(<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i149"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#putAll(java.util.Map)">putAll</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> t)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i150"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reduce(java.util.function.BinaryOperator)">reduce</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/BinaryOperator.html?is-external=true" title="class or interface in java.util.function" class="externalLink">BinaryOperator</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> accumulator)</code></th> |
| <td class="colLast"> |
| <div class="block">This method produces the equivalent result as <a href="https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true#reduce(java.util.function.BinaryOperator)" title="class or interface in java.util.stream" class="externalLink"><code>Stream.reduce(BinaryOperator)</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i151"> |
| <td class="colFirst"><code><R> R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reduceInPlace(java.util.function.Supplier,java.util.function.BiConsumer)">reduceInPlace</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Supplier.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Supplier</a><R> supplier, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/BiConsumer.html?is-external=true" title="class or interface in java.util.function" class="externalLink">BiConsumer</a><R,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> accumulator)</code></th> |
| <td class="colLast"> |
| <div class="block">This method produces the equivalent result as <a href="https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true#collect(java.util.function.Supplier,java.util.function.BiConsumer,java.util.function.BiConsumer)" title="class or interface in java.util.stream" class="externalLink"><code>Stream.collect(Supplier, BiConsumer, BiConsumer)</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i152"> |
| <td class="colFirst"><code><R,​ |
| A> R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reduceInPlace(java.util.stream.Collector)">reduceInPlace</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/stream/Collector.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Collector</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​A,​R> collector)</code></th> |
| <td class="colLast"> |
| <div class="block">This method produces the equivalent result as <a href="https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true#collect(java.util.stream.Collector)" title="class or interface in java.util.stream" class="externalLink"><code>Stream.collect(Collector)</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i153"> |
| <td class="colFirst"><code><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="i154"> |
| <td class="colFirst"><code><R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reject(org.eclipse.collections.api.block.predicate.Predicate,R)">reject</a></span>​(<a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as the reject method with one parameter but uses the specified target collection for the results.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i155"> |
| <td class="colFirst"><code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="altColor" id="i156"> |
| <td class="colFirst"><code><P> <a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="rowColor" id="i157"> |
| <td class="colFirst"><code><P,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">rejectWith</a></span>​(<a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P> predicate, |
| P parameter, |
| R targetCollection)</code></th> |
| <td class="colLast"> |
| <div class="block">Similar to <a href="../../../../api/RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate,R)"><code>RichIterable.reject(Predicate, Collection)</code></a>, except with an evaluation parameter for the second generic argument in <a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i158"> |
| <td class="colFirst"><code><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remove(java.lang.Object)">remove</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> key)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i159"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeAllKeys(java.util.Set)">removeAllKeys</a></span>​(<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><? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>> keys)</code></th> |
| <td class="colLast"> |
| <div class="block">Remove entries from the map at the specified <code>keys</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i160"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeIf(org.eclipse.collections.api.block.predicate.Predicate2)">removeIf</a></span>​(<a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Remove an entry from the map if the <code>predicate</code> evaluates to true.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i161"> |
| <td class="colFirst"><code><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeKey(K)">removeKey</a></span>​(<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key)</code></th> |
| <td class="colLast"> |
| <div class="block">Remove an entry from the map at the specified <code>key</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i162"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reverseForEach(org.eclipse.collections.api.block.procedure.Procedure)">reverseForEach</a></span>​(<a href="../../../../api/block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> procedure)</code></th> |
| <td class="colLast"> |
| <div class="block">Evaluates the procedure for each element of the list iterating in reverse order.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i163"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reverseForEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">reverseForEachWithIndex</a></span>​(<a href="../../../../api/block/procedure/primitive/ObjectIntProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">ObjectIntProcedure</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> procedure)</code></th> |
| <td class="colLast"> |
| <div class="block">Evaluates the procedure for each element and it's index in reverse order.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i164"> |
| <td class="colFirst"><code><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="i165"> |
| <td class="colFirst"><code><R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#select(org.eclipse.collections.api.block.predicate.Predicate,R)">select</a></span>​(<a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as the select method with one parameter but uses the specified target collection for the results.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i166"> |
| <td class="colFirst"><code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="rowColor" id="i167"> |
| <td class="colFirst"><code><S> <a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</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="altColor" id="i168"> |
| <td class="colFirst"><code><P> <a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="rowColor" id="i169"> |
| <td class="colFirst"><code><P,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">selectWith</a></span>​(<a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P> predicate, |
| P parameter, |
| R targetCollection)</code></th> |
| <td class="colLast"> |
| <div class="block">Similar to <a href="../../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate,R)"><code>RichIterable.select(Predicate, Collection)</code></a>, except with an evaluation parameter for the second generic argument in <a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i170"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#size()">size</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the number of items in this iterable.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i171"> |
| <td class="colFirst"><code><VV> <a href="../../../../api/map/primitive/MutableObjectDoubleMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableObjectDoubleMap</a><VV></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sumByDouble(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumByDouble</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> groupBy, |
| <a href="../../../../api/block/function/primitive/DoubleFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">DoubleFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Groups and sums the values using the two specified functions.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i172"> |
| <td class="colFirst"><code><VV> <a href="../../../../api/map/primitive/MutableObjectDoubleMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableObjectDoubleMap</a><VV></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sumByFloat(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumByFloat</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> groupBy, |
| <a href="../../../../api/block/function/primitive/FloatFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">FloatFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Groups and sums the values using the two specified functions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i173"> |
| <td class="colFirst"><code><VV> <a href="../../../../api/map/primitive/MutableObjectLongMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableObjectLongMap</a><VV></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sumByInt(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.IntFunction)">sumByInt</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> groupBy, |
| <a href="../../../../api/block/function/primitive/IntFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Groups and sums the values using the two specified functions.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i174"> |
| <td class="colFirst"><code><VV> <a href="../../../../api/map/primitive/MutableObjectLongMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableObjectLongMap</a><VV></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sumByLong(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.LongFunction)">sumByLong</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> groupBy, |
| <a href="../../../../api/block/function/primitive/LongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Groups and sums the values using the two specified functions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i175"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/DoubleSummaryStatistics.html?is-external=true" title="class or interface in java.util" class="externalLink">DoubleSummaryStatistics</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#summarizeDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">summarizeDouble</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the result of summarizing the value returned from applying the DoubleFunction to |
| each element of the iterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i176"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/DoubleSummaryStatistics.html?is-external=true" title="class or interface in java.util" class="externalLink">DoubleSummaryStatistics</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#summarizeFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">summarizeFloat</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the result of summarizing the value returned from applying the FloatFunction to |
| each element of the iterable.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i177"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/IntSummaryStatistics.html?is-external=true" title="class or interface in java.util" class="externalLink">IntSummaryStatistics</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#summarizeInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">summarizeInt</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the result of summarizing the value returned from applying the IntFunction to |
| each element of the iterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i178"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/LongSummaryStatistics.html?is-external=true" title="class or interface in java.util" class="externalLink">LongSummaryStatistics</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#summarizeLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">summarizeLong</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the result of summarizing the value returned from applying the LongFunction to |
| each element of the iterable.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i179"> |
| <td class="colFirst"><code>double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sumOfDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumOfDouble</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the final double result of evaluating function for each element of the iterable and adding the results |
| together.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i180"> |
| <td class="colFirst"><code>double</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sumOfFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumOfFloat</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the final double result of evaluating function for each element of the iterable and adding the results |
| together.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i181"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sumOfInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">sumOfInt</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the final long result of evaluating function for each element of the iterable and adding the results |
| together.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i182"> |
| <td class="colFirst"><code>long</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#sumOfLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">sumOfLong</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the final long result of evaluating function for each element of the iterable and adding the results |
| together.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i183"> |
| <td class="colFirst"><code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#take(int)">take</a></span>​(int count)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the first <code>count</code> elements of the iterable |
| or all the elements in the iterable if <code>count</code> is greater than the length of |
| the iterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i184"> |
| <td class="colFirst"><code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#takeWhile(org.eclipse.collections.api.block.predicate.Predicate)">takeWhile</a></span>​(<a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the initial elements that satisfy the Predicate.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i185"> |
| <td class="colFirst"><code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> procedure)</code></th> |
| <td class="colLast"> |
| <div class="block">Executes the Procedure for each value of the map and returns <code>this</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i186"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toArray()">toArray</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Converts this iterable to an array.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i187"> |
| <td class="colFirst"><code><T> T[]</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toArray(T%5B%5D)">toArray</a></span>​(T[] target)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts this iterable to an array using the specified target array, assuming the target array is as long |
| or longer than the iterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i188"> |
| <td class="colFirst"><code><a href="../../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toBag()">toBag</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the collection to the default MutableBag implementation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i189"> |
| <td class="colFirst"><code><NK,​ |
| NV> <a href="../../../../api/bimap/MutableBiMap.html" title="interface in org.eclipse.collections.api.bimap">MutableBiMap</a><NK,​NV></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toBiMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toBiMap</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NK> keyFunction, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NV> valueFunction)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the collection to a BiMap implementation using the specified key and value functions.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i190"> |
| <td class="colFirst"><code><a href="../../../../api/map/ImmutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">ImmutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="rowColor" id="i191"> |
| <td class="colFirst"><code><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toList()">toList</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the collection to a MutableList implementation.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i192"> |
| <td class="colFirst"><code><NK,​ |
| NV> <a href="../../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><NK,​NV></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toMap</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NK> keyFunction, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NV> valueFunction)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the collection to a MutableMap implementation using the specified key and value functions.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i193"> |
| <td class="colFirst"><code><NK,​ |
| NV,​ |
| R 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><NK,​ |
| NV>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">toMap</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NK> keyFunction, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NV> valueFunction, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)"><code>RichIterable.toMap(Function, Function)</code></a>, except that the results are gathered into the specified <code>target</code> |
| map.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i194"> |
| <td class="colFirst"><code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toReversed()">toReversed</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a new ReversibleIterable in reverse order.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i195"> |
| <td class="colFirst"><code><a href="../../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSet()">toSet</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the collection to a MutableSet implementation.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i196"> |
| <td class="colFirst"><code><a href="../../../../api/bag/sorted/MutableSortedBag.html" title="interface in org.eclipse.collections.api.bag.sorted">MutableSortedBag</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSortedBag()">toSortedBag</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the collection to a MutableSortedBag implementation and sorts it using the natural order of the |
| elements.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i197"> |
| <td class="colFirst"><code><a href="../../../../api/bag/sorted/MutableSortedBag.html" title="interface in org.eclipse.collections.api.bag.sorted">MutableSortedBag</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSortedBag(java.util.Comparator)">toSortedBag</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> comparator)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the collection to the MutableSortedBag implementation and sorts it using the specified comparator.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i198"> |
| <td class="colFirst"><code><VV extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super VV>><br><a href="../../../../api/bag/sorted/MutableSortedBag.html" title="interface in org.eclipse.collections.api.bag.sorted">MutableSortedBag</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSortedBagBy(org.eclipse.collections.api.block.function.Function)">toSortedBagBy</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the collection to a MutableSortedBag implementation and sorts it based on the natural order of the |
| attribute returned by <code>function</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i199"> |
| <td class="colFirst"><code><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSortedList()">toSortedList</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the collection to a MutableList implementation and sorts it using the natural order of the elements.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i200"> |
| <td class="colFirst"><code><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSortedList(java.util.Comparator)">toSortedList</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> comparator)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the collection to a MutableList implementation and sorts it using the specified comparator.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i201"> |
| <td class="colFirst"><code><VV extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super VV>><br><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSortedListBy(org.eclipse.collections.api.block.function.Function)">toSortedListBy</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the collection to a MutableList implementation and sorts it based on the natural order of the |
| attribute returned by <code>function</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i202"> |
| <td class="colFirst"><code><NK,​ |
| NV> <a href="../../../../api/map/sorted/MutableSortedMap.html" title="interface in org.eclipse.collections.api.map.sorted">MutableSortedMap</a><NK,​NV></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSortedMap(java.util.Comparator,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super NK> comparator, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NK> keyFunction, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NV> valueFunction)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the collection to a MutableSortedMap implementation using the specified key and value functions |
| sorted by the given comparator.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i203"> |
| <td class="colFirst"><code><NK,​ |
| NV> <a href="../../../../api/map/sorted/MutableSortedMap.html" title="interface in org.eclipse.collections.api.map.sorted">MutableSortedMap</a><NK,​NV></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSortedMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NK> keyFunction, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NV> valueFunction)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the collection to a MutableSortedMap implementation using the specified key and value functions |
| sorted by the key elements' natural ordering.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i204"> |
| <td class="colFirst"><code><KK extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super KK>,​ |
| NK,​ |
| NV><br><a href="../../../../api/map/sorted/MutableSortedMap.html" title="interface in org.eclipse.collections.api.map.sorted">MutableSortedMap</a><NK,​NV></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSortedMapBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMapBy</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super NK,​KK> sortBy, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NK> keyFunction, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NV> valueFunction)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the collection to a MutableSortedMap implementation using the specified key and value functions |
| and sorts it based on the natural order of the attribute returned by <code>sortBy</code> function.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i205"> |
| <td class="colFirst"><code><a href="../../../../api/set/sorted/MutableSortedSet.html" title="interface in org.eclipse.collections.api.set.sorted">MutableSortedSet</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSortedSet()">toSortedSet</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the collection to a MutableSortedSet implementation and sorts it using the natural order of the |
| elements.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i206"> |
| <td class="colFirst"><code><a href="../../../../api/set/sorted/MutableSortedSet.html" title="interface in org.eclipse.collections.api.set.sorted">MutableSortedSet</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSortedSet(java.util.Comparator)">toSortedSet</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> comparator)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the collection to a MutableSortedSet implementation and sorts it using the specified comparator.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i207"> |
| <td class="colFirst"><code><VV extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super VV>><br><a href="../../../../api/set/sorted/MutableSortedSet.html" title="interface in org.eclipse.collections.api.set.sorted">MutableSortedSet</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toSortedSetBy(org.eclipse.collections.api.block.function.Function)">toSortedSetBy</a></span>​(<a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the collection to a MutableSortedSet implementation and sorts it based on the natural order of the |
| attribute returned by <code>function</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i208"> |
| <td class="colFirst"><code><a href="../../../../api/stack/MutableStack.html" title="interface in org.eclipse.collections.api.stack">MutableStack</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toStack()">toStack</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Converts the OrderedIterable to a mutable MutableStack implementation.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i209"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString()">toString</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a string with the keys and values of this map separated by commas with spaces and |
| enclosed in curly braces.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i210"> |
| <td class="colFirst"><code><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateValue(K,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function)">updateValue</a></span>​(<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="../../../../api/block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> factory, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Looks up the value associated with <code>key</code>, applies the <code>function</code> to it, and replaces the value.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i211"> |
| <td class="colFirst"><code><P> <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateValueWith(K,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2,P)">updateValueWith</a></span>​(<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="../../../../api/block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> factory, |
| <a href="../../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P,​? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../../../../api/map/MutableMapIterable.html#updateValue(K,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function)"><code>MutableMapIterable.updateValue(Object, Function0, Function)</code></a> with a Function2 and specified parameter which is |
| passed to the function.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i212"> |
| <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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="i213"> |
| <td class="colFirst"><code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="i214"> |
| <td class="colFirst"><code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>... keyValuePairs)</code></th> |
| <td class="colLast"> |
| <div class="block">Convenience var-args version of withAllKeyValues</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i215"> |
| <td class="colFirst"><code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="i216"> |
| <td class="colFirst"><code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withKeyValue(K,V)">withKeyValue</a></span>​(<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="i217"> |
| <td class="colFirst"><code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="i218"> |
| <td class="colFirst"><code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="i219"> |
| <td class="colFirst"><code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withoutKey(K)">withoutKey</a></span>​(<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="i220"> |
| <td class="colFirst"><code><S> <a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="../../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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">Returns a <code>RichIterable</code> formed from this <code>RichIterable</code> and another <code>RichIterable</code> by |
| combining corresponding elements in pairs.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i221"> |
| <td class="colFirst"><code><S,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​ |
| S>>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#zip(java.lang.Iterable,R)">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, |
| R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#zip(java.lang.Iterable)"><code>RichIterable.zip(Iterable)</code></a> but uses <code>target</code> for output.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i222"> |
| <td class="colFirst"><code><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="../../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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">Zips this <code>RichIterable</code> with its indices.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i223"> |
| <td class="colFirst"><code><R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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>>>><br>R</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#zipWithIndex(R)">zipWithIndex</a></span>​(R target)</code></th> |
| <td class="colLast"> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#zipWithIndex()"><code>RichIterable.zipWithIndex()</code></a> but uses <code>target</code> for output.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface 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#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#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#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#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,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></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#parallelStream()">parallelStream</a>, <a href="../../../../api/map/MapIterable.html#spliterator()">spliterator</a>, <a href="../../../../api/map/MapIterable.html#stream()">stream</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#countByEach(org.eclipse.collections.api.block.function.Function)">countByEach</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></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.ordered.<a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.ordered.ReversibleIterable"> |
| <!-- --> |
| </a><code><a href="../../../../api/ordered/ReversibleIterable.html#asReversed()">asReversed</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#containsBy(org.eclipse.collections.api.block.function.Function,V)">containsBy</a>, <a href="../../../../api/RichIterable.html#countByEach(org.eclipse.collections.api.block.function.Function,R)">countByEach</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#groupByAndCollect(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">groupByAndCollect</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.MutableOrderedMap)">UnmodifiableMutableOrderedMap</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="memberName">UnmodifiableMutableOrderedMap</span>​(<span class="arguments"><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> delegate)</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(org.eclipse.collections.api.map.MutableOrderedMap)">of</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><K,​ |
| V></span> |
| <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="class in org.eclipse.collections.impl.map.ordered.mutable">UnmodifiableMutableOrderedMap</a><K,​V></span> <span class="memberName">of</span>​(<span class="arguments"><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><K,​V> map)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="put(java.lang.Object,java.lang.Object)"> |
| <!-- --> |
| </a><a id="put(K,V)">put</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">put</span>​(<span class="arguments"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a> value)</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#put(K,V)" title="class or interface in java.util" class="externalLink">put</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="remove(java.lang.Object)">remove</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">remove</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> key)</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#remove(java.lang.Object)" title="class or interface in java.util" class="externalLink">remove</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="putAll(java.util.Map)">putAll</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">putAll</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> t)</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#putAll(java.util.Map)" title="class or interface in java.util" class="externalLink">putAll</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="clear()">clear</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">clear</span>()</div> |
| <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#clear()" title="class or interface in java.util" class="externalLink">clear</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </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/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">withKeyValue</span>​(<span class="arguments"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#withKeyValue(K,V)">withKeyValue</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#withMap(java.util.Map)">withMap</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="withAllKeyValues(java.lang.Iterable)">withAllKeyValues</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#withAllKeyValues(java.lang.Iterable)">withAllKeyValues</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="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/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#withAllKeyValueArguments(org.eclipse.collections.api.tuple.Pair...)">withAllKeyValueArguments</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="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/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">withoutKey</span>​(<span class="arguments"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#withoutKey(K)">withoutKey</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#withoutAllKeys(java.lang.Iterable)">withoutAllKeys</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="removeKey(java.lang.Object)"> |
| <!-- --> |
| </a><a id="removeKey(K)">removeKey</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">removeKey</span>​(<span class="arguments"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MutableMapIterable.html#removeKey(K)">MutableMapIterable</a></code></span></div> |
| <div class="block">Remove an entry from the map at the specified <code>key</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableMapIterable.html#removeKey(K)">removeKey</a></code> in interface <code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The value removed from entry at key, or null if not found.</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="removeAllKeys(java.util.Set)">removeAllKeys</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">removeAllKeys</span>​(<span class="arguments"><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><? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>> keys)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MutableMapIterable.html#removeAllKeys(java.util.Set)">MutableMapIterable</a></code></span></div> |
| <div class="block">Remove entries from the map at the specified <code>keys</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableMapIterable.html#removeAllKeys(java.util.Set)">removeAllKeys</a></code> in interface <code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>true</code> if this map changed as a result of the call</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="removeIf(org.eclipse.collections.api.block.predicate.Predicate2)">removeIf</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">removeIf</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MutableMapIterable.html#removeIf(org.eclipse.collections.api.block.predicate.Predicate2)">MutableMapIterable</a></code></span></div> |
| <div class="block">Remove an entry from the map if the <code>predicate</code> evaluates to true.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableMapIterable.html#removeIf(org.eclipse.collections.api.block.predicate.Predicate2)">removeIf</a></code> in interface <code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if any entry is removed.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="updateValue(java.lang.Object,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function)"> |
| <!-- --> |
| </a><a id="updateValue(K,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function)">updateValue</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">updateValue</span>​(<span class="arguments"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="../../../../api/block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> factory, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MutableMapIterable.html#updateValue(K,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function)">MutableMapIterable</a></code></span></div> |
| <div class="block">Looks up the value associated with <code>key</code>, applies the <code>function</code> to it, and replaces the value. If there |
| is no value associated with <code>key</code>, starts it off with a value supplied by <code>factory</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableMapIterable.html#updateValue(K,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function)">updateValue</a></code> in interface <code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="updateValueWith(java.lang.Object,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="updateValueWith(K,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2,P)">updateValueWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">updateValueWith</span>​(<span class="arguments"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="../../../../api/block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> factory, |
| <a href="../../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P,​? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MutableMapIterable.html#updateValueWith(K,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2,P)">MutableMapIterable</a></code></span></div> |
| <div class="block">Same as <a href="../../../../api/map/MutableMapIterable.html#updateValue(K,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function)"><code>MutableMapIterable.updateValue(Object, Function0, Function)</code></a> with a Function2 and specified parameter which is |
| passed to the function.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><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> in interface <code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getIfAbsentPut(java.lang.Object,org.eclipse.collections.api.block.function.Function0)"> |
| <!-- --> |
| </a><a id="getIfAbsentPut(K,org.eclipse.collections.api.block.function.Function0)">getIfAbsentPut</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">getIfAbsentPut</span>​(<span class="arguments"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="../../../../api/block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MutableMapIterable.html#getIfAbsentPut(K,org.eclipse.collections.api.block.function.Function0)">MutableMapIterable</a></code></span></div> |
| <div class="block">Get and return the value in the Map at the specified key. Alternatively, if there is no value in the map at the key, |
| return the result of evaluating the specified Function0, and put that value in the map at the specified key.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableMapIterable.html#getIfAbsentPut(K,org.eclipse.collections.api.block.function.Function0)">getIfAbsentPut</a></code> in interface <code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getIfAbsentPut(java.lang.Object,java.lang.Object)"> |
| <!-- --> |
| </a><a id="getIfAbsentPut(K,V)">getIfAbsentPut</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">getIfAbsentPut</span>​(<span class="arguments"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a> value)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MutableMapIterable.html#getIfAbsentPut(K,V)">MutableMapIterable</a></code></span></div> |
| <div class="block">Get and return the value in the Map at the specified key. Alternatively, if there is no value in the map at the key, |
| return the specified value, and put that value in the map at the specified key.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableMapIterable.html#getIfAbsentPut(K,V)">getIfAbsentPut</a></code> in interface <code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getIfAbsentPutWithKey(java.lang.Object,org.eclipse.collections.api.block.function.Function)"> |
| <!-- --> |
| </a><a id="getIfAbsentPutWithKey(K,org.eclipse.collections.api.block.function.Function)">getIfAbsentPutWithKey</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">getIfAbsentPutWithKey</span>​(<span class="arguments"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MutableMapIterable.html#getIfAbsentPutWithKey(K,org.eclipse.collections.api.block.function.Function)">MutableMapIterable</a></code></span></div> |
| <div class="block">Get and return the value in the Map at the specified key. Alternatively, if there is no value in the map for that key |
| return the result of evaluating the specified Function using the specified key, and put that value in the |
| map at the specified key.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableMapIterable.html#getIfAbsentPutWithKey(K,org.eclipse.collections.api.block.function.Function)">getIfAbsentPutWithKey</a></code> in interface <code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getIfAbsentPutWith(java.lang.Object,org.eclipse.collections.api.block.function.Function,java.lang.Object)"> |
| <!-- --> |
| </a><a id="getIfAbsentPutWith(K,org.eclipse.collections.api.block.function.Function,P)">getIfAbsentPutWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">getIfAbsentPutWith</span>​(<span class="arguments"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super P,​? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MutableMapIterable.html#getIfAbsentPutWith(K,org.eclipse.collections.api.block.function.Function,P)">MutableMapIterable</a></code></span></div> |
| <div class="block">Get and return the value in the Map at the specified key. Alternatively, if there is no value in the map for that key |
| return the result of evaluating the specified Function using the specified parameter, and put that value in the |
| map at the specified key.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableMapIterable.html#getIfAbsentPutWith(K,org.eclipse.collections.api.block.function.Function,P)">getIfAbsentPutWith</a></code> in interface <code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="asSynchronized()">asSynchronized</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="asUnmodifiable()">asUnmodifiable</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#asUnmodifiable()">asUnmodifiable</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="iterator()">iterator</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink">Iterator</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">iterator</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#iterator()" title="class or interface in java.lang" class="externalLink">iterator</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="keyValuesView()">keyValuesView</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="../../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>></span> <span class="memberName">keyValuesView</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MapIterable.html#keyValuesView()">MapIterable</a></code></span></div> |
| <div class="block">Returns an unmodifiable lazy iterable of key/value pairs wrapped around the entrySet for the map.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MapIterable.html#keyValuesView()">keyValuesView</a></code> in interface <code><a href="../../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> procedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MapIterable.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">MapIterable</a></code></span></div> |
| <div class="block">Executes the Procedure for each value of the map and returns <code>this</code>. |
| |
| <pre> |
| return peopleByCity.<b>tap</b>(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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><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="flipUniqueValues()">flipUniqueValues</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#flipUniqueValues()">flipUniqueValues</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#flipUniqueValues()">flipUniqueValues</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/list/MutableListMultimap.html" title="interface in org.eclipse.collections.api.multimap.list">MutableListMultimap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#flip()">flip</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#flip()">flip</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="forEach(java.util.function.Consumer)">forEach</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">forEach</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Consumer.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Consumer</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> consumer)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/InternalIterable.html#forEach(java.util.function.Consumer)">forEach</a></code> in interface <code><a href="../../../../api/InternalIterable.html" title="interface in org.eclipse.collections.api">InternalIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach(java.util.function.Consumer)" title="class or interface in java.lang" class="externalLink">forEach</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">forEachWithIndex</span>​(<span class="arguments"><a href="../../../../api/block/procedure/primitive/ObjectIntProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">ObjectIntProcedure</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> objectIntProcedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/InternalIterable.html#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">InternalIterable</a></code></span></div> |
| <div class="block">Iterates over the iterable passing each element and the current relative int index to the specified instance of |
| ObjectIntProcedure. |
| <p> |
| Example using a Java 8 lambda: |
| <pre> |
| people.forEachWithIndex((Person person, int index) -> LOGGER.info("Index: " + index + " person: " + person.getName())); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| people.forEachWithIndex(new ObjectIntProcedure<Person>() |
| { |
| public void value(Person person, int index) |
| { |
| LOGGER.info("Index: " + index + " person: " + person.getName()); |
| } |
| }); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/InternalIterable.html#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></code> in interface <code><a href="../../../../api/InternalIterable.html" title="interface in org.eclipse.collections.api">InternalIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,P)">forEachWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType">void</span> <span class="memberName">forEachWith</span>​(<span class="arguments"><a href="../../../../api/block/procedure/Procedure2.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P> procedure, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/InternalIterable.html#forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,P)">InternalIterable</a></code></span></div> |
| <div class="block">The procedure2 is evaluated for each element in the iterable with the specified parameter provided |
| as the second argument. |
| <p> |
| Example using a Java 8 lambda: |
| <pre> |
| people.forEachWith((Person person, Person other) -> |
| { |
| if (person.isRelatedTo(other)) |
| { |
| LOGGER.info(person.getName()); |
| } |
| }, fred); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| people.forEachWith(new Procedure2<Person, Person>() |
| { |
| public void value(Person person, Person other) |
| { |
| if (person.isRelatedTo(other)) |
| { |
| LOGGER.info(person.getName()); |
| } |
| } |
| }, fred); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/InternalIterable.html#forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,P)">forEachWith</a></code> in interface <code><a href="../../../../api/InternalIterable.html" title="interface in org.eclipse.collections.api">InternalIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#select(org.eclipse.collections.api.block.predicate.Predicate2)">select</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#select(org.eclipse.collections.api.block.predicate.Predicate2)">select</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#reject(org.eclipse.collections.api.block.predicate.Predicate2)">reject</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#reject(org.eclipse.collections.api.block.predicate.Predicate2)">reject</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​<a href="../../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><K2,​V2>> function)</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#collect(org.eclipse.collections.api.block.function.Function2)">collect</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#collect(org.eclipse.collections.api.block.function.Function2)">collect</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#collectValues(org.eclipse.collections.api.block.function.Function2)">collectValues</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#collectValues(org.eclipse.collections.api.block.function.Function2)">collectValues</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toReversed()">toReversed</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">toReversed</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/ReversibleIterable.html#toReversed()">ReversibleIterable</a></code></span></div> |
| <div class="block">Returns a new ReversibleIterable in reverse order.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#toReversed()">toReversed</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#toReversed()">toReversed</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#toReversed()">toReversed</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="take(int)">take</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">take</span>​(<span class="arguments">int count)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/ReversibleIterable.html#take(int)">ReversibleIterable</a></code></span></div> |
| <div class="block">Returns the first <code>count</code> elements of the iterable |
| or all the elements in the iterable if <code>count</code> is greater than the length of |
| the iterable.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#take(int)">take</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#take(int)">take</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#take(int)">take</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>count</code> - the number of items to take.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="takeWhile(org.eclipse.collections.api.block.predicate.Predicate)">takeWhile</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">takeWhile</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/ReversibleIterable.html#takeWhile(org.eclipse.collections.api.block.predicate.Predicate)">ReversibleIterable</a></code></span></div> |
| <div class="block">Returns the initial elements that satisfy the Predicate. Short circuits at the first element which does not |
| satisfy the Predicate.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#takeWhile(org.eclipse.collections.api.block.predicate.Predicate)">takeWhile</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#takeWhile(org.eclipse.collections.api.block.predicate.Predicate)">takeWhile</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#takeWhile(org.eclipse.collections.api.block.predicate.Predicate)">takeWhile</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#takeWhile(org.eclipse.collections.api.block.predicate.Predicate)">takeWhile</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="drop(int)">drop</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">drop</span>​(<span class="arguments">int count)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/ReversibleIterable.html#drop(int)">ReversibleIterable</a></code></span></div> |
| <div class="block">Returns an iterable after skipping the first <code>count</code> elements |
| or an empty iterable if the <code>count</code> is greater than the length of the iterable.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#drop(int)">drop</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#drop(int)">drop</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#drop(int)">drop</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>count</code> - the number of items to drop.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="dropWhile(org.eclipse.collections.api.block.predicate.Predicate)">dropWhile</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">dropWhile</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/ReversibleIterable.html#dropWhile(org.eclipse.collections.api.block.predicate.Predicate)">ReversibleIterable</a></code></span></div> |
| <div class="block">Returns the final elements that do not satisfy the Predicate. Short circuits at the first element which does |
| satisfy the Predicate.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#dropWhile(org.eclipse.collections.api.block.predicate.Predicate)">dropWhile</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#dropWhile(org.eclipse.collections.api.block.predicate.Predicate)">dropWhile</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#dropWhile(org.eclipse.collections.api.block.predicate.Predicate)">dropWhile</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#dropWhile(org.eclipse.collections.api.block.predicate.Predicate)">dropWhile</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="partitionWhile(org.eclipse.collections.api.block.predicate.Predicate)">partitionWhile</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/partition/list/PartitionMutableList.html" title="interface in org.eclipse.collections.api.partition.list">PartitionMutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">partitionWhile</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/OrderedIterable.html#partitionWhile(org.eclipse.collections.api.block.predicate.Predicate)">OrderedIterable</a></code></span></div> |
| <div class="block">Returns a Partition of the initial elements that satisfy the Predicate and the remaining elements. Short circuits at the first element which does |
| satisfy the Predicate.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#partitionWhile(org.eclipse.collections.api.block.predicate.Predicate)">partitionWhile</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#partitionWhile(org.eclipse.collections.api.block.predicate.Predicate)">partitionWhile</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#partitionWhile(org.eclipse.collections.api.block.predicate.Predicate)">partitionWhile</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#partitionWhile(org.eclipse.collections.api.block.predicate.Predicate)">partitionWhile</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="distinct()">distinct</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">distinct</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/OrderedIterable.html#distinct()">OrderedIterable</a></code></span></div> |
| <div class="block">Returns a new <code>OrderedIterable</code> containing the distinct elements in this iterable. |
| <p> |
| Conceptually similar to <a href="../../../../api/RichIterable.html#toSet()"><code>RichIterable.toSet()</code></a>.<a href="../../../../api/RichIterable.html#toList()"><code>RichIterable.toList()</code></a> but retains the original order. If an element appears |
| multiple times in this iterable, the first one will be copied into the result.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#distinct()">distinct</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#distinct()">distinct</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#distinct()">distinct</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#distinct()">distinct</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>OrderedIterable</code> of distinct elements</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/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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/list/PartitionMutableList.html" title="interface in org.eclipse.collections.api.partition.list">PartitionMutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType"><a href="../../../../api/partition/list/PartitionMutableList.html" title="interface in org.eclipse.collections.api.partition.list">PartitionMutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/MutableOrderedMap.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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/list/primitive/MutableBooleanList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableBooleanList</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/MutableOrderedMap.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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/list/primitive/MutableByteList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableByteList</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/MutableOrderedMap.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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/list/primitive/MutableCharList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableCharList</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/MutableOrderedMap.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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/list/primitive/MutableDoubleList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableDoubleList</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/MutableOrderedMap.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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/list/primitive/MutableFloatList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableFloatList</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/MutableOrderedMap.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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/list/primitive/MutableIntList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableIntList</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/MutableOrderedMap.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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/list/primitive/MutableLongList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableLongList</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/MutableOrderedMap.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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/list/primitive/MutableShortList.html" title="interface in org.eclipse.collections.api.list.primitive">MutableShortList</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/MutableOrderedMap.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="modifiers">public</span> <span class="typeParameters"><S></span> <span class="returnType"><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="../../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#zip(java.lang.Iterable)">zip</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#zip(java.lang.Iterable)">zip</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#zip(java.lang.Iterable)">zip</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#zip(java.lang.Iterable)">zip</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>S</code> - the type of the second half of the returned pairs</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>that</code> - The <code>RichIterable</code> providing the second half of each result pair</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A new <code>RichIterable</code> containing pairs consisting of corresponding elements of this <code> |
| RichIterable</code> and that. The length of the returned <code>RichIterable</code> is the minimum of the lengths of |
| this <code>RichIterable</code> and that.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="zipWithIndex()">zipWithIndex</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="../../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#zipWithIndex()">zipWithIndex</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#zipWithIndex()">zipWithIndex</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#zipWithIndex()">zipWithIndex</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#zipWithIndex()">zipWithIndex</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="collect(org.eclipse.collections.api.block.function.Function)">collect</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV></span> <span class="returnType"><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><VV></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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> 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/MutableOrderedMap.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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,​ |
| VV></span> <span class="returnType"><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><VV></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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P,​? extends VV> 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/MutableOrderedMap.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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"><VV></span> <span class="returnType"><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><VV></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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> 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/MutableOrderedMap.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/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.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/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.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/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.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/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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"><VV></span> <span class="returnType"><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><VV></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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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><VV>> 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/MutableOrderedMap.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="flatCollectWith(org.eclipse.collections.api.block.function.Function2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="flatCollectWith(org.eclipse.collections.api.block.function.Function2,P)">flatCollectWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P,​ |
| VV></span> <span class="returnType"><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><VV></span> <span class="memberName">flatCollectWith</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P,​? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><VV>> function, |
| P parameter)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P)">flatCollectWith</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P)">flatCollectWith</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P)">flatCollectWith</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P)">flatCollectWith</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P)">flatCollectWith</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></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"><VV></span> <span class="returnType"><a href="../../../../api/multimap/list/MutableListMultimap.html" title="interface in org.eclipse.collections.api.multimap.list">MutableListMultimap</a><VV,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> 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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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"><VV></span> <span class="returnType"><a href="../../../../api/multimap/list/MutableListMultimap.html" title="interface in org.eclipse.collections.api.multimap.list">MutableListMultimap</a><VV,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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><VV>> 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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="groupByUniqueKey(org.eclipse.collections.api.block.function.Function)">groupByUniqueKey</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV></span> <span class="returnType"><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><VV,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableOrderedMap.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function)">groupByUniqueKey</a></code> in interface <code><a href="../../../../api/map/MutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">MutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function)">groupByUniqueKey</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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="toImmutable()">toImmutable</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/map/ImmutableOrderedMap.html" title="interface in org.eclipse.collections.api.map">ImmutableOrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/OrderedMap.html#toImmutable()">toImmutable</a></code> in interface <code><a href="../../../../api/map/OrderedMap.html" title="interface in org.eclipse.collections.api.map">OrderedMap</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="get(java.lang.Object)">get</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">get</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> key)</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#get(java.lang.Object)" title="class or interface in java.util" class="externalLink">get</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MapIterable.html#get(java.lang.Object)">get</a></code> in interface <code><a href="../../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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#get(java.lang.Object)" title="class or interface in java.util" class="externalLink"><code>Map.get(Object)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="containsKey(java.lang.Object)">containsKey</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">containsKey</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> key)</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#containsKey(java.lang.Object)" title="class or interface in java.util" class="externalLink">containsKey</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MapIterable.html#containsKey(java.lang.Object)">containsKey</a></code> in interface <code><a href="../../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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#containsKey(java.lang.Object)" title="class or interface in java.util" class="externalLink"><code>Map.containsKey(Object)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="containsValue(java.lang.Object)">containsValue</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">containsValue</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> value)</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#containsValue(java.lang.Object)" title="class or interface in java.util" class="externalLink">containsValue</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MapIterable.html#containsValue(java.lang.Object)">containsValue</a></code> in interface <code><a href="../../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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#containsValue(java.lang.Object)" title="class or interface in java.util" class="externalLink"><code>Map.containsValue(Object)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="forEachValue(org.eclipse.collections.api.block.procedure.Procedure)">forEachValue</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">forEachValue</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> procedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MapIterable.html#forEachValue(org.eclipse.collections.api.block.procedure.Procedure)">MapIterable</a></code></span></div> |
| <div class="block">Calls the procedure with each <em>value</em> of the map. |
| <pre> |
| Set<String> result = UnifiedSet.newSet(); |
| MutableMap<Integer, String> map = this.newMapWithKeysValues(1, "One", 2, "Two", 3, "Three", 4, "Four"); |
| map.<b>forEachValue</b>(new CollectionAddProcedure<String>(result)); |
| Verify.assertSetsEqual(UnifiedSet.newSetWith("One", "Two", "Three", "Four"), result); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MapIterable.html#forEachValue(org.eclipse.collections.api.block.procedure.Procedure)">forEachValue</a></code> in interface <code><a href="../../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="forEachKey(org.eclipse.collections.api.block.procedure.Procedure)">forEachKey</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">forEachKey</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>> procedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MapIterable.html#forEachKey(org.eclipse.collections.api.block.procedure.Procedure)">MapIterable</a></code></span></div> |
| <div class="block">Calls the <code>procedure</code> with each <em>key</em> of the map. |
| <pre> |
| final Collection<Integer> result = new ArrayList<Integer>(); |
| MutableMap<Integer, String> map = this.newMapWithKeysValues(1, "1", 2, "2", 3, "3"); |
| map.<b>forEachKey</b>(new CollectionAddProcedure<Integer>(result)); |
| Verify.assertContainsAll(result, 1, 2, 3); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MapIterable.html#forEachKey(org.eclipse.collections.api.block.procedure.Procedure)">forEachKey</a></code> in interface <code><a href="../../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="forEachKeyValue(org.eclipse.collections.api.block.procedure.Procedure2)">forEachKeyValue</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">forEachKeyValue</span>​(<span class="arguments"><a href="../../../../api/block/procedure/Procedure2.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> procedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MapIterable.html#forEachKeyValue(org.eclipse.collections.api.block.procedure.Procedure2)">MapIterable</a></code></span></div> |
| <div class="block">Calls the <code>procedure</code> with each <em>key-value</em> pair of the map. |
| <pre> |
| final Collection<String> collection = new ArrayList<String>(); |
| MutableMap<Integer, String> map = this.newMapWithKeysValues(1, "One", 2, "Two", 3, "Three"); |
| map.<b>forEachKeyValue</b>((Integer key, String value) -> collection.add(String.valueOf(key) + value)); |
| Verify.assertContainsAll(collection, "1One", "2Two", "3Three"); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MapIterable.html#forEachKeyValue(org.eclipse.collections.api.block.procedure.Procedure2)">forEachKeyValue</a></code> in interface <code><a href="../../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getIfAbsent(java.lang.Object,org.eclipse.collections.api.block.function.Function0)"> |
| <!-- --> |
| </a><a id="getIfAbsent(K,org.eclipse.collections.api.block.function.Function0)">getIfAbsent</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">getIfAbsent</span>​(<span class="arguments"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="../../../../api/block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MapIterable.html#getIfAbsent(K,org.eclipse.collections.api.block.function.Function0)">MapIterable</a></code></span></div> |
| <div class="block">Return the value in the Map that corresponds to the specified key, or if there is no value at the key, return the |
| result of evaluating the specified Function0.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MapIterable.html#getIfAbsent(K,org.eclipse.collections.api.block.function.Function0)">getIfAbsent</a></code> in interface <code><a href="../../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getIfAbsentValue(java.lang.Object,java.lang.Object)"> |
| <!-- --> |
| </a><a id="getIfAbsentValue(K,V)">getIfAbsentValue</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">getIfAbsentValue</span>​(<span class="arguments"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a> value)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MapIterable.html#getIfAbsentValue(K,V)">MapIterable</a></code></span></div> |
| <div class="block">Return the value in the Map that corresponds to the specified key, or if there is no value at the key, return <code>value</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MapIterable.html#getIfAbsentValue(K,V)">getIfAbsentValue</a></code> in interface <code><a href="../../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getIfAbsentWith(java.lang.Object,org.eclipse.collections.api.block.function.Function,java.lang.Object)"> |
| <!-- --> |
| </a><a id="getIfAbsentWith(K,org.eclipse.collections.api.block.function.Function,P)">getIfAbsentWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">getIfAbsentWith</span>​(<span class="arguments"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super P,​? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MapIterable.html#getIfAbsentWith(K,org.eclipse.collections.api.block.function.Function,P)">MapIterable</a></code></span></div> |
| <div class="block">Return the value in the Map that corresponds to the specified key, or if there is no value at the key, return the |
| result of evaluating the specified function and parameter.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MapIterable.html#getIfAbsentWith(K,org.eclipse.collections.api.block.function.Function,P)">getIfAbsentWith</a></code> in interface <code><a href="../../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="ifPresentApply(java.lang.Object,org.eclipse.collections.api.block.function.Function)"> |
| <!-- --> |
| </a><a id="ifPresentApply(K,org.eclipse.collections.api.block.function.Function)">ifPresentApply</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><A></span> <span class="returnType">A</span> <span class="memberName">ifPresentApply</span>​(<span class="arguments"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a> key, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends A> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MapIterable.html#ifPresentApply(K,org.eclipse.collections.api.block.function.Function)">MapIterable</a></code></span></div> |
| <div class="block">If there is a value in the Map that corresponds to the specified key return the result of applying the specified |
| Function on the value, otherwise return null.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MapIterable.html#ifPresentApply(K,org.eclipse.collections.api.block.function.Function)">ifPresentApply</a></code> in interface <code><a href="../../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="detect(org.eclipse.collections.api.block.predicate.Predicate2)">detect</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">detect</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MapIterable.html#detect(org.eclipse.collections.api.block.predicate.Predicate2)">MapIterable</a></code></span></div> |
| <div class="block">Return the first key and value of the map for which the predicate evaluates to true when they are given |
| as arguments. The predicate will only be evaluated until such pair is found or until all of the keys and |
| values of the map have been used as arguments. That is, there may be keys and values of the map that are |
| never used as arguments to the predicate. The result is null if predicate does not evaluate to true for |
| any key/value combination. |
| |
| <pre> |
| Pair<City, Person> detected = |
| peopleByCity.detect((City city, Person 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#detect(org.eclipse.collections.api.block.predicate.Predicate2)">detect</a></code> in interface <code><a href="../../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="detectOptional(org.eclipse.collections.api.block.predicate.Predicate2)">detectOptional</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="../../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>></span> <span class="memberName">detectOptional</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MapIterable.html#detectOptional(org.eclipse.collections.api.block.predicate.Predicate2)">MapIterable</a></code></span></div> |
| <div class="block">Return the first key and value of the map as an Optional for which the predicate evaluates to true when |
| they are given as arguments. The predicate will only be evaluated until such pair is found or until all |
| of the keys and values of the map have been used as arguments. That is, there may be keys and values of |
| the map that are never used as arguments to the predicate. |
| |
| <pre> |
| Optional<Pair<City, Person>> detected = |
| peopleByCity.detectOptional((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#detectOptional(org.eclipse.collections.api.block.predicate.Predicate2)">detectOptional</a></code> in interface <code><a href="../../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="equals(java.lang.Object)">equals</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">equals</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> o)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MapIterable.html#equals(java.lang.Object)">MapIterable</a></code></span></div> |
| <div class="block">Follows the same general contract as <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util" class="externalLink"><code>Map.equals(Object)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util" class="externalLink">equals</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MapIterable.html#equals(java.lang.Object)">equals</a></code> in interface <code><a href="../../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang" class="externalLink">equals</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="hashCode()">hashCode</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">int</span> <span class="memberName">hashCode</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MapIterable.html#hashCode()">MapIterable</a></code></span></div> |
| <div class="block">Follows the same general contract as <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#hashCode()" title="class or interface in java.util" class="externalLink"><code>Map.hashCode()</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#hashCode()" title="class or interface in java.util" class="externalLink">hashCode</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MapIterable.html#hashCode()">hashCode</a></code> in interface <code><a href="../../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang" class="externalLink">hashCode</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toString()">toString</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span> <span class="memberName">toString</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MapIterable.html#toString()">MapIterable</a></code></span></div> |
| <div class="block">Returns a string with the keys and values of this map separated by commas with spaces and |
| enclosed in curly braces. Each key and value is separated by an equals sign. |
| |
| <pre> |
| Assert.assertEquals("{1=1, 2=2, 3=3}", Maps.mutable.with(1, 1, 2, 2, 3, 3).toString()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MapIterable.html#toString()">toString</a></code> in interface <code><a href="../../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#toString()">toString</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang" class="externalLink">toString</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a string representation of this MapIterable</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true#toString()" title="class or interface in java.util" class="externalLink"><code>AbstractMap.toString()</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="size()">size</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">int</span> <span class="memberName">size</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#size()">RichIterable</a></code></span></div> |
| <div class="block">Returns the number of items in this iterable.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#size()" title="class or interface in java.util" class="externalLink">size</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#size()">size</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="isEmpty()">isEmpty</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">isEmpty</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#isEmpty()">RichIterable</a></code></span></div> |
| <div class="block">Returns true if this iterable has zero items.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#isEmpty()" title="class or interface in java.util" class="externalLink">isEmpty</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#isEmpty()">isEmpty</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="notEmpty()">notEmpty</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">notEmpty</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#notEmpty()">RichIterable</a></code></span></div> |
| <div class="block">The English equivalent of !this.isEmpty()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#notEmpty()">notEmpty</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getFirst()">getFirst</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">getFirst</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#getFirst()">RichIterable</a></code></span></div> |
| <div class="block">Returns the first element of an iterable. In the case of a List it is the element at the first index. In the |
| case of any other Collection, it is the first element that would be returned during an iteration. If the |
| iterable is empty, null is returned. If null is a valid element of the container, then a developer would need to |
| check to see if the iterable is empty to validate that a null result was not due to the container being empty. |
| <p> |
| The order of Sets are not guaranteed (except for TreeSets and other Ordered Set implementations), so if you use |
| this method, the first element could be any element from the Set.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#getFirst()">getFirst</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#getFirst()">getFirst</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getLast()">getLast</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">getLast</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#getLast()">RichIterable</a></code></span></div> |
| <div class="block">Returns the last element of an iterable. In the case of a List it is the element at the last index. In the case |
| of any other Collection, it is the last element that would be returned during an iteration. If the iterable is |
| empty, null is returned. If null is a valid element of the container, then a developer would need to check to |
| see if the iterable is empty to validate that a null result was not due to the container being empty. |
| <p> |
| The order of Sets are not guaranteed (except for TreeSets and other Ordered Set implementations), so if you use |
| this method, the last element could be any element from the Set.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#getLast()">getLast</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#getLast()">getLast</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getOnly()">getOnly</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">getOnly</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#getOnly()">RichIterable</a></code></span></div> |
| <div class="block">Returns the element if the iterable has exactly one element. Otherwise, throw <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalStateException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>IllegalStateException</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#getOnly()">getOnly</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an element of an iterable.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="contains(java.lang.Object)">contains</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">contains</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> object)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#contains(java.lang.Object)">RichIterable</a></code></span></div> |
| <div class="block">Returns true if the iterable has an element which responds true to element.equals(object).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#contains(java.lang.Object)">contains</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="containsAllIterable(java.lang.Iterable)">containsAllIterable</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">containsAllIterable</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><?> source)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#containsAllIterable(java.lang.Iterable)">RichIterable</a></code></span></div> |
| <div class="block">Returns true if all elements in source are contained in this collection.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#containsAllIterable(java.lang.Iterable)">containsAllIterable</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="containsAll(java.util.Collection)">containsAll</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">containsAll</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><?> source)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#containsAll(java.util.Collection)">RichIterable</a></code></span></div> |
| <div class="block">Returns true if all elements in source are contained in this collection.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#containsAll(java.util.Collection)">containsAll</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#containsAll(java.util.Collection)" title="class or interface in java.util" class="externalLink"><code>Collection.containsAll(Collection)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="containsAllArguments(java.lang.Object...)">containsAllArguments</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">containsAllArguments</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>... elements)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#containsAllArguments(java.lang.Object...)">RichIterable</a></code></span></div> |
| <div class="block">Returns true if all elements in the specified var arg array are contained in this collection.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#containsAllArguments(java.lang.Object...)">containsAllArguments</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="each(org.eclipse.collections.api.block.procedure.Procedure)">each</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">each</span>​(<span class="arguments"><a href="../../../../api/block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> procedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#each(org.eclipse.collections.api.block.procedure.Procedure)">RichIterable</a></code></span></div> |
| <div class="block">The procedure is executed for each element in the iterable. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| people.each(person -> LOGGER.info(person.getName())); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| people.each(new Procedure<Person>() |
| { |
| public void value(Person person) |
| { |
| LOGGER.info(person.getName()); |
| } |
| }); |
| </pre> |
| This method is a variant of <a href="../../../../api/InternalIterable.html#forEach(org.eclipse.collections.api.block.procedure.Procedure)"><code>InternalIterable.forEach(Procedure)</code></a> |
| that has a signature conflict with <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach(java.util.function.Consumer)" title="class or interface in java.lang" class="externalLink"><code>Iterable.forEach(java.util.function.Consumer)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#each(org.eclipse.collections.api.block.procedure.Procedure)">each</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../api/InternalIterable.html#forEach(org.eclipse.collections.api.block.procedure.Procedure)"><code>InternalIterable.forEach(Procedure)</code></a>, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach(java.util.function.Consumer)" title="class or interface in java.lang" class="externalLink"><code>Iterable.forEach(java.util.function.Consumer)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="select(org.eclipse.collections.api.block.predicate.Predicate,java.util.Collection)"> |
| <!-- --> |
| </a><a id="select(org.eclipse.collections.api.block.predicate.Predicate,R)">select</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>></span> <span class="returnType">R</span> <span class="memberName">select</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as the select method with one parameter but uses the specified target collection for the results. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| MutableList<Person> selected = |
| people.select(person -> person.person.getLastName().equals("Smith"), Lists.mutable.empty()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| MutableList<Person> selected = |
| people.select(new Predicate<Person>() |
| { |
| public boolean accept(Person person) |
| { |
| return person.person.getLastName().equals("Smith"); |
| } |
| }, Lists.mutable.empty()); |
| </pre> |
| <p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate,R)">select</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - a <a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate</code></a> to use as the select criteria</dd> |
| <dd><code>target</code> - the Collection to append to for all elements in this <code>RichIterable</code> that meet select criteria <code>predicate</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which contains appended elements as a result of the select criteria</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)"><code>RichIterable.select(Predicate)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="selectWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object,java.util.Collection)"> |
| <!-- --> |
| </a><a id="selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">selectWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>></span> <span class="returnType">R</span> <span class="memberName">selectWith</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P> predicate, |
| P parameter, |
| R targetCollection)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">RichIterable</a></code></span></div> |
| <div class="block">Similar to <a href="../../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate,R)"><code>RichIterable.select(Predicate, Collection)</code></a>, except with an evaluation parameter for the second generic argument in <a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a>. |
| <p> |
| E.g. return a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Collection</code></a> of Person elements where the person has an age <b>greater than or equal to</b> 18 years |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| MutableList<Person> selected = |
| people.selectWith((Person person, Integer age) -> person.getAge()>= age, Integer.valueOf(18), Lists.mutable.empty()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| MutableList<Person> selected = |
| people.selectWith(new Predicate2<Person, Integer>() |
| { |
| public boolean accept(Person person, Integer age) |
| { |
| return person.getAge()>= age; |
| } |
| }, Integer.valueOf(18), Lists.mutable.empty()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">selectWith</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - a <a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a> to use as the select criteria</dd> |
| <dd><code>parameter</code> - a parameter to pass in for evaluation of the second argument <code>P</code> in <code>predicate</code></dd> |
| <dd><code>targetCollection</code> - the Collection to append to for all elements in this <code>RichIterable</code> that meet select criteria <code>predicate</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>targetCollection</code>, which contains appended elements as a result of the select criteria</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)"><code>RichIterable.select(Predicate)</code></a>, |
| <a href="../../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate,R)"><code>RichIterable.select(Predicate, Collection)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="reject(org.eclipse.collections.api.block.predicate.Predicate,java.util.Collection)"> |
| <!-- --> |
| </a><a id="reject(org.eclipse.collections.api.block.predicate.Predicate,R)">reject</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>></span> <span class="returnType">R</span> <span class="memberName">reject</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as the reject method with one parameter but uses the specified target collection for the results. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| MutableList<Person> rejected = |
| people.reject(person -> person.person.getLastName().equals("Smith"), Lists.mutable.empty()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| MutableList<Person> rejected = |
| people.reject(new Predicate<Person>() |
| { |
| public boolean accept(Person person) |
| { |
| return person.person.getLastName().equals("Smith"); |
| } |
| }, Lists.mutable.empty()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate,R)">reject</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - a <a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate</code></a> to use as the reject criteria</dd> |
| <dd><code>target</code> - the Collection to append to for all elements in this <code>RichIterable</code> that cause <code>Predicate#accept(Object)</code> method to evaluate to false</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which contains appended elements as a result of the reject criteria</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object,java.util.Collection)"> |
| <!-- --> |
| </a><a id="rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">rejectWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>></span> <span class="returnType">R</span> <span class="memberName">rejectWith</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P> predicate, |
| P parameter, |
| R targetCollection)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">RichIterable</a></code></span></div> |
| <div class="block">Similar to <a href="../../../../api/RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate,R)"><code>RichIterable.reject(Predicate, Collection)</code></a>, except with an evaluation parameter for the second generic argument in <a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a>. |
| <p> |
| E.g. return a <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Collection</code></a> of Person elements where the person has an age <b>greater than or equal to</b> 18 years |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| MutableList<Person> rejected = |
| people.rejectWith((Person person, Integer age) -> person.getAge() < age, Integer.valueOf(18), Lists.mutable.empty()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| MutableList<Person> rejected = |
| people.rejectWith(new Predicate2<Person, Integer>() |
| { |
| public boolean accept(Person person, Integer age) |
| { |
| return person.getAge() < age; |
| } |
| }, Integer.valueOf(18), Lists.mutable.empty()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">rejectWith</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - a <a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a> to use as the reject criteria</dd> |
| <dd><code>parameter</code> - a parameter to pass in for evaluation of the second argument <code>P</code> in <code>predicate</code></dd> |
| <dd><code>targetCollection</code> - the Collection to append to for all elements in this <code>RichIterable</code> that cause <code>Predicate#accept(Object)</code> method to evaluate to false</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>targetCollection</code>, which contains appended elements as a result of the reject criteria</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../api/RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate)"><code>RichIterable.reject(Predicate)</code></a>, |
| <a href="../../../../api/RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate,R)"><code>RichIterable.reject(Predicate, Collection)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collect(org.eclipse.collections.api.block.function.Function,java.util.Collection)"> |
| <!-- --> |
| </a><a id="collect(org.eclipse.collections.api.block.function.Function,R)">collect</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><VV>></span> <span class="returnType">R</span> <span class="memberName">collect</span>​(<span class="arguments"><a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| MutableList<String> names = |
| people.collect(person -> person.getFirstName() + " " + person.getLastName(), Lists.mutable.empty()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| MutableList<String> names = |
| people.collect(new Function<Person, String>() |
| { |
| public String valueOf(Person person) |
| { |
| return person.getFirstName() + " " + person.getLastName(); |
| } |
| }, Lists.mutable.empty()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function,R)">collect</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - a <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to use as the collect transformation function</dd> |
| <dd><code>target</code> - the Collection to append to for all elements in this <code>RichIterable</code> that meet select criteria <code>function</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which contains appended elements as a result of the collect transformation</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction,org.eclipse.collections.api.collection.primitive.MutableBooleanCollection)"> |
| <!-- --> |
| </a><a id="collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction,R)">collectBoolean</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="../../../../api/collection/primitive/MutableBooleanCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableBooleanCollection</a>></span> <span class="returnType">R</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> booleanFunction, |
| R target)</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,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)"><code>RichIterable.collectBoolean(BooleanFunction)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| BooleanArrayList licenses = |
| people.collectBoolean(person -> person.hasDrivingLicense(), new BooleanArrayList()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| BooleanArrayList licenses = |
| people.collectBoolean(new BooleanFunction<Person>() |
| { |
| public boolean booleanValueOf(Person person) |
| { |
| return person.hasDrivingLicense(); |
| } |
| }, new BooleanArrayList()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction,R)">collectBoolean</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>booleanFunction</code> - a <a href="../../../../api/block/function/primitive/BooleanFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive"><code>BooleanFunction</code></a> to use as the collect transformation function</dd> |
| <dd><code>target</code> - the MutableBooleanCollection to append to for all elements in this <code>RichIterable</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which contains appended elements as a result of the collect transformation</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="flatCollectBoolean(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.collection.primitive.MutableBooleanCollection)"> |
| <!-- --> |
| </a><a id="flatCollectBoolean(org.eclipse.collections.api.block.function.Function,R)">flatCollectBoolean</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="../../../../api/collection/primitive/MutableBooleanCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableBooleanCollection</a>></span> <span class="returnType">R</span> <span class="memberName">flatCollectBoolean</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends <a href="../../../../api/BooleanIterable.html" title="interface in org.eclipse.collections.api">BooleanIterable</a>> function, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#flatCollectBoolean(org.eclipse.collections.api.block.function.Function,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#flatCollectBoolean(org.eclipse.collections.api.block.function.Function,R)">flatCollectBoolean</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - The <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to apply</dd> |
| <dd><code>target</code> - The collection into which results should be added.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which will contain a flattened collection of results produced by applying the given <code>function</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.flatCollect(Function)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction,org.eclipse.collections.api.collection.primitive.MutableByteCollection)"> |
| <!-- --> |
| </a><a id="collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction,R)">collectByte</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="../../../../api/collection/primitive/MutableByteCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableByteCollection</a>></span> <span class="returnType">R</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> byteFunction, |
| R target)</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,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)"><code>RichIterable.collectByte(ByteFunction)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| ByteArrayList bytes = |
| people.collectByte(person -> person.getCode(), new ByteArrayList()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| ByteArrayList bytes = |
| people.collectByte(new ByteFunction<Person>() |
| { |
| public byte byteValueOf(Person person) |
| { |
| return person.getCode(); |
| } |
| }, new ByteArrayList()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction,R)">collectByte</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>byteFunction</code> - a <a href="../../../../api/block/function/primitive/ByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive"><code>ByteFunction</code></a> to use as the collect transformation function</dd> |
| <dd><code>target</code> - the MutableByteCollection to append to for all elements in this <code>RichIterable</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which contains appended elements as a result of the collect transformation</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="flatCollectByte(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.collection.primitive.MutableByteCollection)"> |
| <!-- --> |
| </a><a id="flatCollectByte(org.eclipse.collections.api.block.function.Function,R)">flatCollectByte</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="../../../../api/collection/primitive/MutableByteCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableByteCollection</a>></span> <span class="returnType">R</span> <span class="memberName">flatCollectByte</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends <a href="../../../../api/ByteIterable.html" title="interface in org.eclipse.collections.api">ByteIterable</a>> function, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#flatCollectByte(org.eclipse.collections.api.block.function.Function,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#flatCollectByte(org.eclipse.collections.api.block.function.Function,R)">flatCollectByte</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - The <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to apply</dd> |
| <dd><code>target</code> - The collection into which results should be added.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which will contain a flattened collection of results produced by applying the given <code>function</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.flatCollect(Function)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction,org.eclipse.collections.api.collection.primitive.MutableCharCollection)"> |
| <!-- --> |
| </a><a id="collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction,R)">collectChar</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="../../../../api/collection/primitive/MutableCharCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableCharCollection</a>></span> <span class="returnType">R</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> charFunction, |
| R target)</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,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)"><code>RichIterable.collectChar(CharFunction)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| CharArrayList chars = |
| people.collectChar(person -> person.getMiddleInitial(), new CharArrayList()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| CharArrayList chars = |
| people.collectChar(new CharFunction<Person>() |
| { |
| public char charValueOf(Person person) |
| { |
| return person.getMiddleInitial(); |
| } |
| }, new CharArrayList()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction,R)">collectChar</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>charFunction</code> - a <a href="../../../../api/block/function/primitive/CharFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive"><code>CharFunction</code></a> to use as the collect transformation function</dd> |
| <dd><code>target</code> - the MutableCharCollection to append to for all elements in this <code>RichIterable</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which contains appended elements as a result of the collect transformation</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="flatCollectChar(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.collection.primitive.MutableCharCollection)"> |
| <!-- --> |
| </a><a id="flatCollectChar(org.eclipse.collections.api.block.function.Function,R)">flatCollectChar</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="../../../../api/collection/primitive/MutableCharCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableCharCollection</a>></span> <span class="returnType">R</span> <span class="memberName">flatCollectChar</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends <a href="../../../../api/CharIterable.html" title="interface in org.eclipse.collections.api">CharIterable</a>> function, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#flatCollectChar(org.eclipse.collections.api.block.function.Function,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#flatCollectChar(org.eclipse.collections.api.block.function.Function,R)">flatCollectChar</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - The <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to apply</dd> |
| <dd><code>target</code> - The collection into which results should be added.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which will contain a flattened collection of results produced by applying the given <code>function</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.flatCollect(Function)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction,org.eclipse.collections.api.collection.primitive.MutableDoubleCollection)"> |
| <!-- --> |
| </a><a id="collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction,R)">collectDouble</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="../../../../api/collection/primitive/MutableDoubleCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableDoubleCollection</a>></span> <span class="returnType">R</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> doubleFunction, |
| R target)</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,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)"><code>RichIterable.collectDouble(DoubleFunction)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| DoubleArrayList doubles = |
| people.collectDouble(person -> person.getMilesFromNorthPole(), new DoubleArrayList()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| DoubleArrayList doubles = |
| people.collectDouble(new DoubleFunction<Person>() |
| { |
| public double doubleValueOf(Person person) |
| { |
| return person.getMilesFromNorthPole(); |
| } |
| }, new DoubleArrayList()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction,R)">collectDouble</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>doubleFunction</code> - a <a href="../../../../api/block/function/primitive/DoubleFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive"><code>DoubleFunction</code></a> to use as the collect transformation function</dd> |
| <dd><code>target</code> - the MutableDoubleCollection to append to for all elements in this <code>RichIterable</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which contains appended elements as a result of the collect transformation</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="flatCollectDouble(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.collection.primitive.MutableDoubleCollection)"> |
| <!-- --> |
| </a><a id="flatCollectDouble(org.eclipse.collections.api.block.function.Function,R)">flatCollectDouble</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="../../../../api/collection/primitive/MutableDoubleCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableDoubleCollection</a>></span> <span class="returnType">R</span> <span class="memberName">flatCollectDouble</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends <a href="../../../../api/DoubleIterable.html" title="interface in org.eclipse.collections.api">DoubleIterable</a>> function, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#flatCollectDouble(org.eclipse.collections.api.block.function.Function,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#flatCollectDouble(org.eclipse.collections.api.block.function.Function,R)">flatCollectDouble</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - The <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to apply</dd> |
| <dd><code>target</code> - The collection into which results should be added.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which will contain a flattened collection of results produced by applying the given <code>function</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.flatCollect(Function)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction,org.eclipse.collections.api.collection.primitive.MutableFloatCollection)"> |
| <!-- --> |
| </a><a id="collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction,R)">collectFloat</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="../../../../api/collection/primitive/MutableFloatCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableFloatCollection</a>></span> <span class="returnType">R</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> floatFunction, |
| R target)</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,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)"><code>RichIterable.collectFloat(FloatFunction)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| FloatArrayList floats = |
| people.collectFloat(person -> person.getHeightInInches(), new FloatArrayList()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| FloatArrayList floats = |
| people.collectFloat(new FloatFunction<Person>() |
| { |
| public float floatValueOf(Person person) |
| { |
| return person.getHeightInInches(); |
| } |
| }, new FloatArrayList()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction,R)">collectFloat</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>floatFunction</code> - a <a href="../../../../api/block/function/primitive/FloatFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive"><code>FloatFunction</code></a> to use as the collect transformation function</dd> |
| <dd><code>target</code> - the MutableFloatCollection to append to for all elements in this <code>RichIterable</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which contains appended elements as a result of the collect transformation</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="flatCollectFloat(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.collection.primitive.MutableFloatCollection)"> |
| <!-- --> |
| </a><a id="flatCollectFloat(org.eclipse.collections.api.block.function.Function,R)">flatCollectFloat</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="../../../../api/collection/primitive/MutableFloatCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableFloatCollection</a>></span> <span class="returnType">R</span> <span class="memberName">flatCollectFloat</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends <a href="../../../../api/FloatIterable.html" title="interface in org.eclipse.collections.api">FloatIterable</a>> function, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#flatCollectFloat(org.eclipse.collections.api.block.function.Function,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#flatCollectFloat(org.eclipse.collections.api.block.function.Function,R)">flatCollectFloat</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - The <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to apply</dd> |
| <dd><code>target</code> - The collection into which results should be added.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which will contain a flattened collection of results produced by applying the given <code>function</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.flatCollect(Function)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction,org.eclipse.collections.api.collection.primitive.MutableIntCollection)"> |
| <!-- --> |
| </a><a id="collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction,R)">collectInt</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="../../../../api/collection/primitive/MutableIntCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableIntCollection</a>></span> <span class="returnType">R</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> intFunction, |
| R target)</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,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)"><code>RichIterable.collectInt(IntFunction)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| IntArrayList ints = |
| people.collectInt(person -> person.getAge(), new IntArrayList()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| IntArrayList ints = |
| people.collectInt(new IntFunction<Person>() |
| { |
| public int intValueOf(Person person) |
| { |
| return person.getAge(); |
| } |
| }, new IntArrayList()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction,R)">collectInt</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>intFunction</code> - a <a href="../../../../api/block/function/primitive/IntFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive"><code>IntFunction</code></a> to use as the collect transformation function</dd> |
| <dd><code>target</code> - the MutableIntCollection to append to for all elements in this <code>RichIterable</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which contains appended elements as a result of the collect transformation</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="flatCollectInt(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.collection.primitive.MutableIntCollection)"> |
| <!-- --> |
| </a><a id="flatCollectInt(org.eclipse.collections.api.block.function.Function,R)">flatCollectInt</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="../../../../api/collection/primitive/MutableIntCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableIntCollection</a>></span> <span class="returnType">R</span> <span class="memberName">flatCollectInt</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends <a href="../../../../api/IntIterable.html" title="interface in org.eclipse.collections.api">IntIterable</a>> function, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#flatCollectInt(org.eclipse.collections.api.block.function.Function,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#flatCollectInt(org.eclipse.collections.api.block.function.Function,R)">flatCollectInt</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - The <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to apply</dd> |
| <dd><code>target</code> - The collection into which results should be added.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which will contain a flattened collection of results produced by applying the given <code>function</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.flatCollect(Function)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction,org.eclipse.collections.api.collection.primitive.MutableLongCollection)"> |
| <!-- --> |
| </a><a id="collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction,R)">collectLong</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="../../../../api/collection/primitive/MutableLongCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableLongCollection</a>></span> <span class="returnType">R</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> longFunction, |
| R target)</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,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)"><code>RichIterable.collectLong(LongFunction)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| LongArrayList longs = |
| people.collectLong(person -> person.getGuid(), new LongArrayList()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| LongArrayList longs = |
| people.collectLong(new LongFunction<Person>() |
| { |
| public long longValueOf(Person person) |
| { |
| return person.getGuid(); |
| } |
| }, new LongArrayList()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction,R)">collectLong</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>longFunction</code> - a <a href="../../../../api/block/function/primitive/LongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive"><code>LongFunction</code></a> to use as the collect transformation function</dd> |
| <dd><code>target</code> - the MutableLongCollection to append to for all elements in this <code>RichIterable</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which contains appended elements as a result of the collect transformation</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="flatCollectLong(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.collection.primitive.MutableLongCollection)"> |
| <!-- --> |
| </a><a id="flatCollectLong(org.eclipse.collections.api.block.function.Function,R)">flatCollectLong</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="../../../../api/collection/primitive/MutableLongCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableLongCollection</a>></span> <span class="returnType">R</span> <span class="memberName">flatCollectLong</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends <a href="../../../../api/LongIterable.html" title="interface in org.eclipse.collections.api">LongIterable</a>> function, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#flatCollectLong(org.eclipse.collections.api.block.function.Function,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#flatCollectLong(org.eclipse.collections.api.block.function.Function,R)">flatCollectLong</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - The <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to apply</dd> |
| <dd><code>target</code> - The collection into which results should be added.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which will contain a flattened collection of results produced by applying the given <code>function</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.flatCollect(Function)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction,org.eclipse.collections.api.collection.primitive.MutableShortCollection)"> |
| <!-- --> |
| </a><a id="collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction,R)">collectShort</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="../../../../api/collection/primitive/MutableShortCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableShortCollection</a>></span> <span class="returnType">R</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> shortFunction, |
| R target)</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,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)"><code>RichIterable.collectShort(ShortFunction)</code></a>, except that the results are gathered into the specified <code>target</code> |
| collection. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| ShortArrayList shorts = |
| people.collectShort(person -> person.getNumberOfJunkMailItemsReceivedPerMonth, new ShortArrayList()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| ShortArrayList shorts = |
| people.collectShort(new ShortFunction<Person>() |
| { |
| public short shortValueOf(Person person) |
| { |
| return person.getNumberOfJunkMailItemsReceivedPerMonth; |
| } |
| }, new ShortArrayList()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction,R)">collectShort</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>shortFunction</code> - a <a href="../../../../api/block/function/primitive/ShortFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive"><code>ShortFunction</code></a> to use as the collect transformation function</dd> |
| <dd><code>target</code> - the MutableShortCollection to append to for all elements in this <code>RichIterable</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which contains appended elements as a result of the collect transformation</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="flatCollectShort(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.collection.primitive.MutableShortCollection)"> |
| <!-- --> |
| </a><a id="flatCollectShort(org.eclipse.collections.api.block.function.Function,R)">flatCollectShort</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="../../../../api/collection/primitive/MutableShortCollection.html" title="interface in org.eclipse.collections.api.collection.primitive">MutableShortCollection</a>></span> <span class="returnType">R</span> <span class="memberName">flatCollectShort</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends <a href="../../../../api/ShortIterable.html" title="interface in org.eclipse.collections.api">ShortIterable</a>> function, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#flatCollectShort(org.eclipse.collections.api.block.function.Function,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#flatCollectShort(org.eclipse.collections.api.block.function.Function,R)">flatCollectShort</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - The <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to apply</dd> |
| <dd><code>target</code> - The collection into which results should be added.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which will contain a flattened collection of results produced by applying the given <code>function</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.flatCollect(Function)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectWith(org.eclipse.collections.api.block.function.Function2,java.lang.Object,java.util.Collection)"> |
| <!-- --> |
| </a><a id="collectWith(org.eclipse.collections.api.block.function.Function2,P,R)">collectWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P,​ |
| VV,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><VV>></span> <span class="returnType">R</span> <span class="memberName">collectWith</span>​(<span class="arguments"><a href="../../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P,​? extends VV> function, |
| P parameter, |
| R targetCollection)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as collectWith but with a targetCollection parameter to gather the results. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| MutableSet<Integer> integers = |
| Lists.mutable.with(1, 2, 3).collectWith((each, parameter) -> each + parameter, Integer.valueOf(1), Sets.mutable.empty()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| Function2<Integer, Integer, Integer> addParameterFunction = |
| new Function2<Integer, Integer, Integer>() |
| { |
| public Integer value(final Integer each, final Integer parameter) |
| { |
| return each + parameter; |
| } |
| }; |
| MutableSet<Integer> integers = |
| Lists.mutable.with(1, 2, 3).collectWith(addParameterFunction, Integer.valueOf(1), Sets.mutable.empty()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P,R)">collectWith</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - a <a href="../../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function"><code>Function2</code></a> to use as the collect transformation function</dd> |
| <dd><code>parameter</code> - a parameter to pass in for evaluation of the second argument <code>P</code> in <code>function</code></dd> |
| <dd><code>targetCollection</code> - the Collection to append to for all elements in this <code>RichIterable</code> that meet select criteria <code>function</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>targetCollection</code>, which contains appended elements as a result of the collect transformation</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function,java.util.Collection)"> |
| <!-- --> |
| </a><a id="collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function,R)">collectIf</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><VV>></span> <span class="returnType">R</span> <span class="memberName">collectIf</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as the collectIf method with two parameters but uses the specified target collection for the results.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function,R)">collectIf</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - a <a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate</code></a> to use as the select criteria</dd> |
| <dd><code>function</code> - a <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to use as the collect transformation function</dd> |
| <dd><code>target</code> - the Collection to append to for all elements in this <code>RichIterable</code> that meet the collect criteria <code>predicate</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>targetCollection</code>, which contains appended elements as a result of the collect criteria and transformation</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../api/RichIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collectIf(Predicate, Function)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="flatCollect(org.eclipse.collections.api.block.function.Function,java.util.Collection)"> |
| <!-- --> |
| </a><a id="flatCollect(org.eclipse.collections.api.block.function.Function,R)">flatCollect</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><VV>></span> <span class="returnType">R</span> <span class="memberName">flatCollect</span>​(<span class="arguments"><a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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><VV>> function, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as flatCollect, only the results are collected into the target collection.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function,R)">flatCollect</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - The <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to apply</dd> |
| <dd><code>target</code> - The collection into which results should be added.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>target</code>, which will contain a flattened collection of results produced by applying the given <code>function</code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.flatCollect(Function)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="flatCollectWith(org.eclipse.collections.api.block.function.Function2,java.lang.Object,java.util.Collection)"> |
| <!-- --> |
| </a><a id="flatCollectWith(org.eclipse.collections.api.block.function.Function2,P,R)">flatCollectWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P,​ |
| VV,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><VV>></span> <span class="returnType">R</span> <span class="memberName">flatCollectWith</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P,​? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><VV>> function, |
| P parameter, |
| R target)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P,R)">flatCollectWith</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="detect(org.eclipse.collections.api.block.predicate.Predicate)">detect</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">detect</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#detect(org.eclipse.collections.api.block.predicate.Predicate)">RichIterable</a></code></span></div> |
| <div class="block">Returns the first element of the iterable for which the predicate evaluates to true or null in the case where no |
| element returns true. This method is commonly called find. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| Person person = |
| people.detect(person -> person.getFirstName().equals("John") && person.getLastName().equals("Smith")); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| Person person = |
| people.detect(new Predicate<Person>() |
| { |
| public boolean accept(Person person) |
| { |
| return person.getFirstName().equals("John") && person.getLastName().equals("Smith"); |
| } |
| }); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#detect(org.eclipse.collections.api.block.predicate.Predicate)">detect</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="detectWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="detectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">detectWith</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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#detectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">RichIterable</a></code></span></div> |
| <div class="block">Returns the first element that evaluates to true for the specified predicate2 and parameter, or null if none |
| evaluate to true. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| Person person = |
| people.detectWith((person, fullName) -> person.getFullName().equals(fullName), "John Smith"); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| Person person = |
| people.detectWith(new Predicate2<Person, String>() |
| { |
| public boolean accept(Person person, String fullName) |
| { |
| return person.getFullName().equals(fullName); |
| } |
| }, "John Smith"); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#detectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWith</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="detectOptional(org.eclipse.collections.api.block.predicate.Predicate)">detectOptional</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">detectOptional</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#detectOptional(org.eclipse.collections.api.block.predicate.Predicate)">RichIterable</a></code></span></div> |
| <div class="block">Returns the first element of the iterable for which the predicate evaluates to true as an Optional. This method is commonly called find. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| Person person = |
| people.detectOptional(person -> person.getFirstName().equals("John") && person.getLastName().equals("Smith")); |
| </pre> |
| <p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#detectOptional(org.eclipse.collections.api.block.predicate.Predicate)">detectOptional</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="detectWithOptional(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="detectWithOptional(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWithOptional</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">detectWithOptional</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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#detectWithOptional(org.eclipse.collections.api.block.predicate.Predicate2,P)">RichIterable</a></code></span></div> |
| <div class="block">Returns the first element that evaluates to true for the specified predicate2 and parameter as an Optional. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| Optional<Person> person = |
| people.detectWithOptional((person, fullName) -> person.getFullName().equals(fullName), "John Smith"); |
| </pre> |
| <p></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#detectWithOptional(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWithOptional</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="detectIfNone(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function0)">detectIfNone</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">detectIfNone</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate, |
| <a href="../../../../api/block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#detectIfNone(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function0)">RichIterable</a></code></span></div> |
| <div class="block">Returns the first element of the iterable for which the predicate evaluates to true. If no element matches |
| the predicate, then returns the value of applying the specified function.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#detectIfNone(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function0)">detectIfNone</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="detectWithIfNone(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object,org.eclipse.collections.api.block.function.Function0)"> |
| <!-- --> |
| </a><a id="detectWithIfNone(org.eclipse.collections.api.block.predicate.Predicate2,P,org.eclipse.collections.api.block.function.Function0)">detectWithIfNone</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">detectWithIfNone</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P> predicate, |
| P parameter, |
| <a href="../../../../api/block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#detectWithIfNone(org.eclipse.collections.api.block.predicate.Predicate2,P,org.eclipse.collections.api.block.function.Function0)">RichIterable</a></code></span></div> |
| <div class="block">Returns the first element of the iterable that evaluates to true for the specified predicate2 and parameter, or |
| returns the value of evaluating the specified function.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#detectWithIfNone(org.eclipse.collections.api.block.predicate.Predicate2,P,org.eclipse.collections.api.block.function.Function0)">detectWithIfNone</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="count(org.eclipse.collections.api.block.predicate.Predicate)">count</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">int</span> <span class="memberName">count</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#count(org.eclipse.collections.api.block.predicate.Predicate)">RichIterable</a></code></span></div> |
| <div class="block">Return the total number of elements that answer true to the specified predicate. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| int count = |
| people.<b>count</b>(person -> person.getAddress().getState().getName().equals("New York")); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| int count = |
| people.<b>count</b>(new Predicate<Person>() |
| { |
| public boolean accept(Person person) |
| { |
| return person.getAddress().getState().getName().equals("New York"); |
| } |
| }); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#count(org.eclipse.collections.api.block.predicate.Predicate)">count</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="countWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="countWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">countWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType">int</span> <span class="memberName">countWith</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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#countWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">RichIterable</a></code></span></div> |
| <div class="block">Returns the total number of elements that evaluate to true for the specified predicate. |
| |
| <pre>e.g. |
| return lastNames.<b>countWith</b>(Predicates2.equal(), "Smith"); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#countWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">countWith</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="anySatisfy(org.eclipse.collections.api.block.predicate.Predicate)">anySatisfy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">anySatisfy</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#anySatisfy(org.eclipse.collections.api.block.predicate.Predicate)">RichIterable</a></code></span></div> |
| <div class="block">Returns true if the predicate evaluates to true for any element of the iterable. |
| Returns false if the iterable is empty, or if no element returned true when evaluating the predicate.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#anySatisfy(org.eclipse.collections.api.block.predicate.Predicate)">anySatisfy</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">anySatisfyWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType">boolean</span> <span class="memberName">anySatisfyWith</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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#anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">RichIterable</a></code></span></div> |
| <div class="block">Returns true if the predicate evaluates to true for any element of the collection, or return false. |
| Returns false if the collection is empty.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">anySatisfyWith</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="allSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">allSatisfy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">allSatisfy</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#allSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">RichIterable</a></code></span></div> |
| <div class="block">Returns true if the predicate evaluates to true for every element of the iterable or if the iterable is empty. |
| Otherwise, returns false.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#allSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">allSatisfy</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">allSatisfyWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType">boolean</span> <span class="memberName">allSatisfyWith</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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#allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">RichIterable</a></code></span></div> |
| <div class="block">Returns true if the predicate evaluates to true for every element of the collection, or returns false.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">allSatisfyWith</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">noneSatisfy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">noneSatisfy</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">RichIterable</a></code></span></div> |
| <div class="block">Returns true if the predicate evaluates to false for every element of the iterable or if the iterable is empty. |
| Otherwise, returns false.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">noneSatisfy</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">noneSatisfyWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType">boolean</span> <span class="memberName">noneSatisfyWith</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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#noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">RichIterable</a></code></span></div> |
| <div class="block">Returns true if the predicate evaluates to false for every element of the collection, or return false. |
| Returns true if the collection is empty.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">noneSatisfyWith</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="injectInto(java.lang.Object,org.eclipse.collections.api.block.function.Function2)"> |
| <!-- --> |
| </a><a id="injectInto(IV,org.eclipse.collections.api.block.function.Function2)">injectInto</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><IV></span> <span class="returnType">IV</span> <span class="memberName">injectInto</span>​(<span class="arguments">IV injectedValue, |
| <a href="../../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super IV,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends IV> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#injectInto(IV,org.eclipse.collections.api.block.function.Function2)">RichIterable</a></code></span></div> |
| <div class="block">Returns the final result of evaluating function using each element of the iterable and the previous evaluation |
| result as the parameters. The injected value is used for the first parameter of the first evaluation, and the current |
| item in the iterable is used as the second parameter. This method is commonly called fold or sometimes reduce.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#injectInto(IV,org.eclipse.collections.api.block.function.Function2)">injectInto</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="injectInto(int,org.eclipse.collections.api.block.function.primitive.IntObjectToIntFunction)">injectInto</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">int</span> <span class="memberName">injectInto</span>​(<span class="arguments">int injectedValue, |
| <a href="../../../../api/block/function/primitive/IntObjectToIntFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntObjectToIntFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#injectInto(int,org.eclipse.collections.api.block.function.primitive.IntObjectToIntFunction)">RichIterable</a></code></span></div> |
| <div class="block">Returns the final int result of evaluating function using each element of the iterable and the previous evaluation |
| result as the parameters. The injected value is used for the first parameter of the first evaluation, and the current |
| item in the iterable is used as the second parameter.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#injectInto(int,org.eclipse.collections.api.block.function.primitive.IntObjectToIntFunction)">injectInto</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="injectInto(long,org.eclipse.collections.api.block.function.primitive.LongObjectToLongFunction)">injectInto</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">long</span> <span class="memberName">injectInto</span>​(<span class="arguments">long injectedValue, |
| <a href="../../../../api/block/function/primitive/LongObjectToLongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongObjectToLongFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#injectInto(long,org.eclipse.collections.api.block.function.primitive.LongObjectToLongFunction)">RichIterable</a></code></span></div> |
| <div class="block">Returns the final long result of evaluating function using each element of the iterable and the previous evaluation |
| result as the parameters. The injected value is used for the first parameter of the first evaluation, and the current |
| item in the iterable is used as the second parameter.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#injectInto(long,org.eclipse.collections.api.block.function.primitive.LongObjectToLongFunction)">injectInto</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="injectInto(float,org.eclipse.collections.api.block.function.primitive.FloatObjectToFloatFunction)">injectInto</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">float</span> <span class="memberName">injectInto</span>​(<span class="arguments">float injectedValue, |
| <a href="../../../../api/block/function/primitive/FloatObjectToFloatFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">FloatObjectToFloatFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#injectInto(float,org.eclipse.collections.api.block.function.primitive.FloatObjectToFloatFunction)">RichIterable</a></code></span></div> |
| <div class="block">Returns the final float result of evaluating function using each element of the iterable and the previous evaluation |
| result as the parameters. The injected value is used for the first parameter of the first evaluation, and the current |
| item in the iterable is used as the second parameter.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#injectInto(float,org.eclipse.collections.api.block.function.primitive.FloatObjectToFloatFunction)">injectInto</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="injectInto(double,org.eclipse.collections.api.block.function.primitive.DoubleObjectToDoubleFunction)">injectInto</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">double</span> <span class="memberName">injectInto</span>​(<span class="arguments">double injectedValue, |
| <a href="../../../../api/block/function/primitive/DoubleObjectToDoubleFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">DoubleObjectToDoubleFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#injectInto(double,org.eclipse.collections.api.block.function.primitive.DoubleObjectToDoubleFunction)">RichIterable</a></code></span></div> |
| <div class="block">Returns the final double result of evaluating function using each element of the iterable and the previous evaluation |
| result as the parameters. The injected value is used for the first parameter of the first evaluation, and the current |
| item in the iterable is used as the second parameter.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#injectInto(double,org.eclipse.collections.api.block.function.primitive.DoubleObjectToDoubleFunction)">injectInto</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="into(java.util.Collection)"> |
| <!-- --> |
| </a><a id="into(R)">into</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>></span> <span class="returnType">R</span> <span class="memberName">into</span>​(<span class="arguments">R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#into(R)">RichIterable</a></code></span></div> |
| <div class="block">Adds all the elements in this iterable to the specific target Collection.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#into(R)">into</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toList()">toList</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">toList</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#toList()">RichIterable</a></code></span></div> |
| <div class="block">Converts the collection to a MutableList implementation.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#toList()">toList</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toSortedList()">toSortedList</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">toSortedList</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#toSortedList()">RichIterable</a></code></span></div> |
| <div class="block">Converts the collection to a MutableList implementation and sorts it using the natural order of the elements.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#toSortedList()">toSortedList</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toSortedList(java.util.Comparator)">toSortedList</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">toSortedList</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> comparator)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#toSortedList(java.util.Comparator)">RichIterable</a></code></span></div> |
| <div class="block">Converts the collection to a MutableList implementation and sorts it using the specified comparator.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#toSortedList(java.util.Comparator)">toSortedList</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toSortedListBy(org.eclipse.collections.api.block.function.Function)">toSortedListBy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super VV>></span> |
| <span class="returnType"><a href="../../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">toSortedListBy</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#toSortedListBy(org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block">Converts the collection to a MutableList implementation and sorts it based on the natural order of the |
| attribute returned by <code>function</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#toSortedListBy(org.eclipse.collections.api.block.function.Function)">toSortedListBy</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toSet()">toSet</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">toSet</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#toSet()">RichIterable</a></code></span></div> |
| <div class="block">Converts the collection to a MutableSet implementation.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#toSet()">toSet</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toSortedSet()">toSortedSet</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/set/sorted/MutableSortedSet.html" title="interface in org.eclipse.collections.api.set.sorted">MutableSortedSet</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">toSortedSet</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#toSortedSet()">RichIterable</a></code></span></div> |
| <div class="block">Converts the collection to a MutableSortedSet implementation and sorts it using the natural order of the |
| elements.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#toSortedSet()">toSortedSet</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toSortedSet(java.util.Comparator)">toSortedSet</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/set/sorted/MutableSortedSet.html" title="interface in org.eclipse.collections.api.set.sorted">MutableSortedSet</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">toSortedSet</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> comparator)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#toSortedSet(java.util.Comparator)">RichIterable</a></code></span></div> |
| <div class="block">Converts the collection to a MutableSortedSet implementation and sorts it using the specified comparator.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#toSortedSet(java.util.Comparator)">toSortedSet</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toSortedSetBy(org.eclipse.collections.api.block.function.Function)">toSortedSetBy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super VV>></span> |
| <span class="returnType"><a href="../../../../api/set/sorted/MutableSortedSet.html" title="interface in org.eclipse.collections.api.set.sorted">MutableSortedSet</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">toSortedSetBy</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#toSortedSetBy(org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block">Converts the collection to a MutableSortedSet implementation and sorts it based on the natural order of the |
| attribute returned by <code>function</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#toSortedSetBy(org.eclipse.collections.api.block.function.Function)">toSortedSetBy</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toBag()">toBag</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">toBag</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#toBag()">RichIterable</a></code></span></div> |
| <div class="block">Converts the collection to the default MutableBag implementation.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#toBag()">toBag</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toSortedBag()">toSortedBag</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/bag/sorted/MutableSortedBag.html" title="interface in org.eclipse.collections.api.bag.sorted">MutableSortedBag</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">toSortedBag</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#toSortedBag()">RichIterable</a></code></span></div> |
| <div class="block">Converts the collection to a MutableSortedBag implementation and sorts it using the natural order of the |
| elements.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#toSortedBag()">toSortedBag</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toSortedBag(java.util.Comparator)">toSortedBag</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/bag/sorted/MutableSortedBag.html" title="interface in org.eclipse.collections.api.bag.sorted">MutableSortedBag</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">toSortedBag</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> comparator)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#toSortedBag(java.util.Comparator)">RichIterable</a></code></span></div> |
| <div class="block">Converts the collection to the MutableSortedBag implementation and sorts it using the specified comparator.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#toSortedBag(java.util.Comparator)">toSortedBag</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toSortedBagBy(org.eclipse.collections.api.block.function.Function)">toSortedBagBy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super VV>></span> |
| <span class="returnType"><a href="../../../../api/bag/sorted/MutableSortedBag.html" title="interface in org.eclipse.collections.api.bag.sorted">MutableSortedBag</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">toSortedBagBy</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#toSortedBagBy(org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block">Converts the collection to a MutableSortedBag implementation and sorts it based on the natural order of the |
| attribute returned by <code>function</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#toSortedBagBy(org.eclipse.collections.api.block.function.Function)">toSortedBagBy</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toMap</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><NK,​ |
| NV></span> <span class="returnType"><a href="../../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><NK,​NV></span> <span class="memberName">toMap</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NK> keyFunction, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NV> valueFunction)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block">Converts the collection to a MutableMap implementation using the specified key and value functions.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toMap</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,java.util.Map)"> |
| <!-- --> |
| </a><a id="toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">toMap</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><NK,​ |
| NV,​ |
| R 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><NK,​ |
| NV>></span> <span class="returnType">R</span> <span class="memberName">toMap</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NK> keyFunction, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NV> valueFunction, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)"><code>RichIterable.toMap(Function, Function)</code></a>, except that the results are gathered into the specified <code>target</code> |
| map.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">toMap</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toSortedMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><NK,​ |
| NV></span> <span class="returnType"><a href="../../../../api/map/sorted/MutableSortedMap.html" title="interface in org.eclipse.collections.api.map.sorted">MutableSortedMap</a><NK,​NV></span> <span class="memberName">toSortedMap</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NK> keyFunction, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NV> valueFunction)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#toSortedMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block">Converts the collection to a MutableSortedMap implementation using the specified key and value functions |
| sorted by the key elements' natural ordering.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#toSortedMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toSortedMap(java.util.Comparator,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><NK,​ |
| NV></span> <span class="returnType"><a href="../../../../api/map/sorted/MutableSortedMap.html" title="interface in org.eclipse.collections.api.map.sorted">MutableSortedMap</a><NK,​NV></span> <span class="memberName">toSortedMap</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super NK> comparator, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NK> keyFunction, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NV> valueFunction)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#toSortedMap(java.util.Comparator,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block">Converts the collection to a MutableSortedMap implementation using the specified key and value functions |
| sorted by the given comparator.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><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></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toSortedMapBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMapBy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><KK extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super KK>,​ |
| NK,​ |
| NV></span> |
| <span class="returnType"><a href="../../../../api/map/sorted/MutableSortedMap.html" title="interface in org.eclipse.collections.api.map.sorted">MutableSortedMap</a><NK,​NV></span> <span class="memberName">toSortedMapBy</span>​(<span class="arguments"><a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super NK,​KK> sortBy, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NK> keyFunction, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NV> valueFunction)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><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)">RichIterable</a></code></span></div> |
| <div class="block">Converts the collection to a MutableSortedMap implementation using the specified key and value functions |
| and sorts it based on the natural order of the attribute returned by <code>sortBy</code> function.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><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></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toBiMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toBiMap</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><NK,​ |
| NV></span> <span class="returnType"><a href="../../../../api/bimap/MutableBiMap.html" title="interface in org.eclipse.collections.api.bimap">MutableBiMap</a><NK,​NV></span> <span class="memberName">toBiMap</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NK> keyFunction, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends NV> valueFunction)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#toBiMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block">Converts the collection to a BiMap implementation using the specified key and value functions.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#toBiMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toBiMap</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="asLazy()">asLazy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/LazyIterable.html" title="interface in org.eclipse.collections.api">LazyIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">asLazy</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#asLazy()">RichIterable</a></code></span></div> |
| <div class="block">Returns a lazy (deferred) iterable, most likely implemented by calling LazyIterate.adapt(this).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#asLazy()">asLazy</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toArray()">toArray</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]</span> <span class="memberName">toArray</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#toArray()">RichIterable</a></code></span></div> |
| <div class="block">Converts this iterable to an array.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#toArray()">toArray</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#toArray()" title="class or interface in java.util" class="externalLink"><code>Collection.toArray()</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toArray(java.lang.Object[])"> |
| <!-- --> |
| </a><a id="toArray(T[])">toArray</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><T></span> <span class="returnType">T[]</span> <span class="memberName">toArray</span>​(<span class="arguments">T[] target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#toArray(E%5B%5D)">RichIterable</a></code></span></div> |
| <div class="block">Converts this iterable to an array using the specified target array, assuming the target array is as long |
| or longer than the iterable.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#toArray(E%5B%5D)">toArray</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#toArray(T%5B%5D)" title="class or interface in java.util" class="externalLink"><code>Collection.toArray(Object[])</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="min(java.util.Comparator)">min</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">min</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> comparator)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#min(java.util.Comparator)">RichIterable</a></code></span></div> |
| <div class="block">Returns the minimum element out of this container based on the comparator.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#min(java.util.Comparator)">min</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="max(java.util.Comparator)">max</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">max</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> comparator)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#max(java.util.Comparator)">RichIterable</a></code></span></div> |
| <div class="block">Returns the maximum element out of this container based on the comparator.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#max(java.util.Comparator)">max</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="minOptional(java.util.Comparator)">minOptional</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">minOptional</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> comparator)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#minOptional(java.util.Comparator)">RichIterable</a></code></span></div> |
| <div class="block">Returns the minimum element out of this container based on the comparator as an Optional. |
| If the container is empty <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true#empty()" title="class or interface in java.util" class="externalLink"><code>Optional.empty()</code></a> is returned.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#minOptional(java.util.Comparator)">minOptional</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="maxOptional(java.util.Comparator)">maxOptional</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">maxOptional</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util" class="externalLink">Comparator</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> comparator)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#maxOptional(java.util.Comparator)">RichIterable</a></code></span></div> |
| <div class="block">Returns the maximum element out of this container based on the comparator as an Optional. |
| If the container is empty <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true#empty()" title="class or interface in java.util" class="externalLink"><code>Optional.empty()</code></a> is returned.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#maxOptional(java.util.Comparator)">maxOptional</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="min()">min</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">min</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#min()">RichIterable</a></code></span></div> |
| <div class="block">Returns the minimum element out of this container based on the natural order.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#min()">min</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#min()">min</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="max()">max</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">max</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#max()">RichIterable</a></code></span></div> |
| <div class="block">Returns the maximum element out of this container based on the natural order.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#max()">max</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#max()">max</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="minOptional()">minOptional</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">minOptional</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#minOptional()">RichIterable</a></code></span></div> |
| <div class="block">Returns the minimum element out of this container based on the natural order as an Optional. |
| If the container is empty <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true#empty()" title="class or interface in java.util" class="externalLink"><code>Optional.empty()</code></a> is returned.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#minOptional()">minOptional</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="maxOptional()">maxOptional</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">maxOptional</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#maxOptional()">RichIterable</a></code></span></div> |
| <div class="block">Returns the maximum element out of this container based on the natural order as an Optional. |
| If the container is empty <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true#empty()" title="class or interface in java.util" class="externalLink"><code>Optional.empty()</code></a> is returned.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#maxOptional()">maxOptional</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="minBy(org.eclipse.collections.api.block.function.Function)">minBy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super VV>></span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">minBy</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#minBy(org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block">Returns the minimum elements out of this container based on the natural order of the attribute returned by Function.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#minBy(org.eclipse.collections.api.block.function.Function)">minBy</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="maxBy(org.eclipse.collections.api.block.function.Function)">maxBy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super VV>></span> <span class="returnType"><a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a></span> <span class="memberName">maxBy</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#maxBy(org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block">Returns the maximum elements out of this container based on the natural order of the attribute returned by Function.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#maxBy(org.eclipse.collections.api.block.function.Function)">maxBy</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="minByOptional(org.eclipse.collections.api.block.function.Function)">minByOptional</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super VV>></span> |
| <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">minByOptional</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#minByOptional(org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block">Returns the minimum elements out of this container based on the natural order of the attribute returned by Function as an Optional. |
| If the container is empty <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true#empty()" title="class or interface in java.util" class="externalLink"><code>Optional.empty()</code></a> is returned.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#minByOptional(org.eclipse.collections.api.block.function.Function)">minByOptional</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="maxByOptional(org.eclipse.collections.api.block.function.Function)">maxByOptional</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Comparable</a><? super VV>></span> |
| <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">maxByOptional</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#maxByOptional(org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block">Returns the maximum elements out of this container based on the natural order of the attribute returned by Function as an Optional. |
| If the container is empty <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true#empty()" title="class or interface in java.util" class="externalLink"><code>Optional.empty()</code></a> is returned.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#maxByOptional(org.eclipse.collections.api.block.function.Function)">maxByOptional</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="sumOfInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">sumOfInt</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">long</span> <span class="memberName">sumOfInt</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#sumOfInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">RichIterable</a></code></span></div> |
| <div class="block">Returns the final long result of evaluating function for each element of the iterable and adding the results |
| together.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#sumOfInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">sumOfInt</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="sumOfFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumOfFloat</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">double</span> <span class="memberName">sumOfFloat</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#sumOfFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">RichIterable</a></code></span></div> |
| <div class="block">Returns the final double result of evaluating function for each element of the iterable and adding the results |
| together. It uses Kahan summation algorithm to reduce numerical error.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#sumOfFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumOfFloat</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="sumOfLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">sumOfLong</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">long</span> <span class="memberName">sumOfLong</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#sumOfLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">RichIterable</a></code></span></div> |
| <div class="block">Returns the final long result of evaluating function for each element of the iterable and adding the results |
| together.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#sumOfLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">sumOfLong</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="sumOfDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumOfDouble</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">double</span> <span class="memberName">sumOfDouble</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#sumOfDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">RichIterable</a></code></span></div> |
| <div class="block">Returns the final double result of evaluating function for each element of the iterable and adding the results |
| together. It uses Kahan summation algorithm to reduce numerical error.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#sumOfDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumOfDouble</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="summarizeInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">summarizeInt</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/IntSummaryStatistics.html?is-external=true" title="class or interface in java.util" class="externalLink">IntSummaryStatistics</a></span> <span class="memberName">summarizeInt</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#summarizeInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">RichIterable</a></code></span></div> |
| <div class="block">Returns the result of summarizing the value returned from applying the IntFunction to |
| each element of the iterable. |
| |
| <pre> |
| IntSummaryStatistics stats = |
| Lists.mutable.with(1, 2, 3).summarizeInt(Integer::intValue); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#summarizeInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">summarizeInt</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="summarizeFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">summarizeFloat</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/DoubleSummaryStatistics.html?is-external=true" title="class or interface in java.util" class="externalLink">DoubleSummaryStatistics</a></span> <span class="memberName">summarizeFloat</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#summarizeFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">RichIterable</a></code></span></div> |
| <div class="block">Returns the result of summarizing the value returned from applying the FloatFunction to |
| each element of the iterable. |
| |
| <pre> |
| DoubleSummaryStatistics stats = |
| Lists.mutable.with(1, 2, 3).summarizeFloat(Integer::floatValue); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#summarizeFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">summarizeFloat</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="summarizeLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">summarizeLong</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/LongSummaryStatistics.html?is-external=true" title="class or interface in java.util" class="externalLink">LongSummaryStatistics</a></span> <span class="memberName">summarizeLong</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#summarizeLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">RichIterable</a></code></span></div> |
| <div class="block">Returns the result of summarizing the value returned from applying the LongFunction to |
| each element of the iterable. |
| |
| <pre> |
| LongSummaryStatistics stats = |
| Lists.mutable.with(1, 2, 3).summarizeLong(Integer::longValue); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#summarizeLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">summarizeLong</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="summarizeDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">summarizeDouble</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/DoubleSummaryStatistics.html?is-external=true" title="class or interface in java.util" class="externalLink">DoubleSummaryStatistics</a></span> <span class="memberName">summarizeDouble</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#summarizeDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">RichIterable</a></code></span></div> |
| <div class="block">Returns the result of summarizing the value returned from applying the DoubleFunction to |
| each element of the iterable. |
| |
| <pre> |
| DoubleSummaryStatistics stats = |
| Lists.mutable.with(1, 2, 3).summarizeDouble(Integer::doubleValue); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#summarizeDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">summarizeDouble</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="reduceInPlace(java.util.stream.Collector)">reduceInPlace</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R,​ |
| A></span> <span class="returnType">R</span> <span class="memberName">reduceInPlace</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/stream/Collector.html?is-external=true" title="class or interface in java.util.stream" class="externalLink">Collector</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​A,​R> collector)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#reduceInPlace(java.util.stream.Collector)">RichIterable</a></code></span></div> |
| <div class="block">This method produces the equivalent result as <a href="https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true#collect(java.util.stream.Collector)" title="class or interface in java.util.stream" class="externalLink"><code>Stream.collect(Collector)</code></a>. |
| |
| <pre> |
| MutableObjectLongMap<Integer> map2 = |
| Lists.mutable.with(1, 2, 3, 4, 5).reduceInPlace(Collectors2.sumByInt(i -> Integer.valueOf(i % 2), Integer::intValue)); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#reduceInPlace(java.util.stream.Collector)">reduceInPlace</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="reduceInPlace(java.util.function.Supplier,java.util.function.BiConsumer)">reduceInPlace</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R></span> <span class="returnType">R</span> <span class="memberName">reduceInPlace</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/Supplier.html?is-external=true" title="class or interface in java.util.function" class="externalLink">Supplier</a><R> supplier, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/BiConsumer.html?is-external=true" title="class or interface in java.util.function" class="externalLink">BiConsumer</a><R,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> accumulator)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#reduceInPlace(java.util.function.Supplier,java.util.function.BiConsumer)">RichIterable</a></code></span></div> |
| <div class="block">This method produces the equivalent result as <a href="https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true#collect(java.util.function.Supplier,java.util.function.BiConsumer,java.util.function.BiConsumer)" title="class or interface in java.util.stream" class="externalLink"><code>Stream.collect(Supplier, BiConsumer, BiConsumer)</code></a>. |
| The combiner used in collect is unnecessary in the serial case, so is not included in the API.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#reduceInPlace(java.util.function.Supplier,java.util.function.BiConsumer)">reduceInPlace</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="reduce(java.util.function.BinaryOperator)">reduce</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">reduce</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/function/BinaryOperator.html?is-external=true" title="class or interface in java.util.function" class="externalLink">BinaryOperator</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> accumulator)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#reduce(java.util.function.BinaryOperator)">RichIterable</a></code></span></div> |
| <div class="block">This method produces the equivalent result as <a href="https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html?is-external=true#reduce(java.util.function.BinaryOperator)" title="class or interface in java.util.stream" class="externalLink"><code>Stream.reduce(BinaryOperator)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#reduce(java.util.function.BinaryOperator)">reduce</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="sumByInt(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.IntFunction)">sumByInt</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV></span> <span class="returnType"><a href="../../../../api/map/primitive/MutableObjectLongMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableObjectLongMap</a><VV></span> <span class="memberName">sumByInt</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> groupBy, |
| <a href="../../../../api/block/function/primitive/IntFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#sumByInt(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.IntFunction)">RichIterable</a></code></span></div> |
| <div class="block">Groups and sums the values using the two specified functions.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableMapIterable.html#sumByInt(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.IntFunction)">sumByInt</a></code> in interface <code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#sumByInt(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.IntFunction)">sumByInt</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="sumByFloat(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumByFloat</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV></span> <span class="returnType"><a href="../../../../api/map/primitive/MutableObjectDoubleMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableObjectDoubleMap</a><VV></span> <span class="memberName">sumByFloat</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> groupBy, |
| <a href="../../../../api/block/function/primitive/FloatFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">FloatFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#sumByFloat(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.FloatFunction)">RichIterable</a></code></span></div> |
| <div class="block">Groups and sums the values using the two specified functions.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableMapIterable.html#sumByFloat(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumByFloat</a></code> in interface <code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#sumByFloat(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumByFloat</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="sumByLong(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.LongFunction)">sumByLong</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV></span> <span class="returnType"><a href="../../../../api/map/primitive/MutableObjectLongMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableObjectLongMap</a><VV></span> <span class="memberName">sumByLong</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> groupBy, |
| <a href="../../../../api/block/function/primitive/LongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#sumByLong(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.LongFunction)">RichIterable</a></code></span></div> |
| <div class="block">Groups and sums the values using the two specified functions.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableMapIterable.html#sumByLong(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.LongFunction)">sumByLong</a></code> in interface <code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#sumByLong(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.LongFunction)">sumByLong</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="sumByDouble(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumByDouble</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV></span> <span class="returnType"><a href="../../../../api/map/primitive/MutableObjectDoubleMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableObjectDoubleMap</a><VV></span> <span class="memberName">sumByDouble</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> groupBy, |
| <a href="../../../../api/block/function/primitive/DoubleFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">DoubleFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#sumByDouble(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.DoubleFunction)">RichIterable</a></code></span></div> |
| <div class="block">Groups and sums the values using the two specified functions.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableMapIterable.html#sumByDouble(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumByDouble</a></code> in interface <code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#sumByDouble(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumByDouble</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="makeString()">makeString</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span> <span class="memberName">makeString</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#makeString()">RichIterable</a></code></span></div> |
| <div class="block">Returns a string representation of this collection by delegating to <a href="../../../../api/RichIterable.html#makeString(java.lang.String)"><code>RichIterable.makeString(String)</code></a> and defaulting |
| the separator parameter to the characters <code>", "</code> (comma and space).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#makeString()">makeString</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a string representation of this collection.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="makeString(java.lang.String)">makeString</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span> <span class="memberName">makeString</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> separator)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#makeString(java.lang.String)">RichIterable</a></code></span></div> |
| <div class="block">Returns a string representation of this collection by delegating to <a href="../../../../api/RichIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)"><code>RichIterable.makeString(String, String, String)</code></a> |
| and defaulting the start and end parameters to <code>""</code> (the empty String).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#makeString(java.lang.String)">makeString</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a string representation of this collection.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="makeString(java.lang.String,java.lang.String,java.lang.String)">makeString</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a></span> <span class="memberName">makeString</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> start, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> separator, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> end)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)">RichIterable</a></code></span></div> |
| <div class="block">Returns a string representation of this collection with the elements separated by the specified |
| separator and enclosed between the start and end strings.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)">makeString</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a string representation of this collection.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="appendString(java.lang.Appendable)">appendString</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">appendString</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Appendable</a> appendable)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#appendString(java.lang.Appendable)">RichIterable</a></code></span></div> |
| <div class="block">Prints a string representation of this collection onto the given <code>Appendable</code>. Prints the string returned |
| by <a href="../../../../api/RichIterable.html#makeString()"><code>RichIterable.makeString()</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#appendString(java.lang.Appendable)">appendString</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="appendString(java.lang.Appendable,java.lang.String)">appendString</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">appendString</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Appendable</a> appendable, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> separator)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#appendString(java.lang.Appendable,java.lang.String)">RichIterable</a></code></span></div> |
| <div class="block">Prints a string representation of this collection onto the given <code>Appendable</code>. Prints the string returned |
| by <a href="../../../../api/RichIterable.html#makeString(java.lang.String)"><code>RichIterable.makeString(String)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#appendString(java.lang.Appendable,java.lang.String)">appendString</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">appendString</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Appendable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Appendable</a> appendable, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> start, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> separator, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang" class="externalLink">String</a> end)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">RichIterable</a></code></span></div> |
| <div class="block">Prints a string representation of this collection onto the given <code>Appendable</code>. Prints the string returned |
| by <a href="../../../../api/RichIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)"><code>RichIterable.makeString(String, String, String)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="countBy(org.eclipse.collections.api.block.function.Function)">countBy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV></span> <span class="returnType"><a href="../../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><VV></span> <span class="memberName">countBy</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#countBy(org.eclipse.collections.api.block.function.Function)">RichIterable</a></code></span></div> |
| <div class="block">This method will count the number of occurrences of each value calculated by applying the |
| function to each element of the collection.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableMapIterable.html#countBy(org.eclipse.collections.api.block.function.Function)">countBy</a></code> in interface <code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#countBy(org.eclipse.collections.api.block.function.Function)">countBy</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="countBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.bag.MutableBagIterable)"> |
| <!-- --> |
| </a><a id="countBy(org.eclipse.collections.api.block.function.Function,R)">countBy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV,​ |
| R extends <a href="../../../../api/bag/MutableBagIterable.html" title="interface in org.eclipse.collections.api.bag">MutableBagIterable</a><VV>></span> <span class="returnType">R</span> <span class="memberName">countBy</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#countBy(org.eclipse.collections.api.block.function.Function,R)">RichIterable</a></code></span></div> |
| <div class="block">This method will count the number of occurrences of each value calculated by applying the |
| function to each element of the collection.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#countBy(org.eclipse.collections.api.block.function.Function,R)">countBy</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="countByWith(org.eclipse.collections.api.block.function.Function2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="countByWith(org.eclipse.collections.api.block.function.Function2,P)">countByWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV,​ |
| P></span> <span class="returnType"><a href="../../../../api/bag/MutableBag.html" title="interface in org.eclipse.collections.api.bag">MutableBag</a><VV></span> <span class="memberName">countByWith</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P,​? extends VV> function, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#countByWith(org.eclipse.collections.api.block.function.Function2,P)">RichIterable</a></code></span></div> |
| <div class="block">This method will count the number of occurrences of each value calculated by applying the |
| function to each element of the collection with the specified parameter as the second argument.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableMapIterable.html#countByWith(org.eclipse.collections.api.block.function.Function2,P)">countByWith</a></code> in interface <code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#countByWith(org.eclipse.collections.api.block.function.Function2,P)">countByWith</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="countByWith(org.eclipse.collections.api.block.function.Function2,java.lang.Object,org.eclipse.collections.api.bag.MutableBagIterable)"> |
| <!-- --> |
| </a><a id="countByWith(org.eclipse.collections.api.block.function.Function2,P,R)">countByWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV,​ |
| P,​ |
| R extends <a href="../../../../api/bag/MutableBagIterable.html" title="interface in org.eclipse.collections.api.bag">MutableBagIterable</a><VV>></span> <span class="returnType">R</span> <span class="memberName">countByWith</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super P,​? extends VV> function, |
| P parameter, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#countByWith(org.eclipse.collections.api.block.function.Function2,P,R)">RichIterable</a></code></span></div> |
| <div class="block">This method will count the number of occurrences of each value calculated by applying the |
| function to each element of the collection with the specified parameter as the second argument.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#countByWith(org.eclipse.collections.api.block.function.Function2,P,R)">countByWith</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="groupBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.multimap.MutableMultimap)"> |
| <!-- --> |
| </a><a id="groupBy(org.eclipse.collections.api.block.function.Function,R)">groupBy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV,​ |
| R extends <a href="../../../../api/multimap/MutableMultimap.html" title="interface in org.eclipse.collections.api.multimap">MutableMultimap</a><VV,​ |
| <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>></span> <span class="returnType">R</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function, |
| R target)</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,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#groupBy(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.groupBy(Function)</code></a>, except that the results are gathered into the specified <code>target</code> |
| multimap. |
| <p> |
| Example using a Java 8 method reference: |
| <pre> |
| FastListMultimap<String, Person> peopleByLastName = |
| people.groupBy(Person::getLastName, new FastListMultimap<String, Person>()); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| FastListMultimap<String, Person> peopleByLastName = |
| people.groupBy(new Function<Person, String>() |
| { |
| public String valueOf(Person person) |
| { |
| return person.getLastName(); |
| } |
| }, new FastListMultimap<String, Person>()); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#groupBy(org.eclipse.collections.api.block.function.Function,R)">groupBy</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="groupByEach(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.multimap.MutableMultimap)"> |
| <!-- --> |
| </a><a id="groupByEach(org.eclipse.collections.api.block.function.Function,R)">groupByEach</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV,​ |
| R extends <a href="../../../../api/multimap/MutableMultimap.html" title="interface in org.eclipse.collections.api.multimap">MutableMultimap</a><VV,​ |
| <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>></span> <span class="returnType">R</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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><VV>> function, |
| R target)</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,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.groupByEach(Function)</code></a>, except that the results are gathered into the specified <code>target</code> |
| multimap.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function,R)">groupByEach</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="groupByUniqueKey(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.map.MutableMapIterable)"> |
| <!-- --> |
| </a><a id="groupByUniqueKey(org.eclipse.collections.api.block.function.Function,R)">groupByUniqueKey</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV,​ |
| R extends <a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><VV,​ |
| <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>></span> <span class="returnType">R</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function, |
| R target)</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,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.groupByUniqueKey(Function)</code></a>, except that the results are gathered into the specified <code>target</code> |
| map.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function,R)">groupByUniqueKey</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../api/RichIterable.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.groupByUniqueKey(Function)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="zip(java.lang.Iterable,java.util.Collection)"> |
| <!-- --> |
| </a><a id="zip(java.lang.Iterable,R)">zip</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><S,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​ |
| S>>></span> <span class="returnType">R</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, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#zip(java.lang.Iterable,R)">RichIterable</a></code></span></div> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#zip(java.lang.Iterable)"><code>RichIterable.zip(Iterable)</code></a> but uses <code>target</code> for output.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#zip(java.lang.Iterable,R)">zip</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#zip(java.lang.Iterable,R)">zip</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="zipWithIndex(java.util.Collection)"> |
| <!-- --> |
| </a><a id="zipWithIndex(R)">zipWithIndex</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="../../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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="returnType">R</span> <span class="memberName">zipWithIndex</span>​(<span class="arguments">R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#zipWithIndex(R)">RichIterable</a></code></span></div> |
| <div class="block">Same as <a href="../../../../api/RichIterable.html#zipWithIndex()"><code>RichIterable.zipWithIndex()</code></a> but uses <code>target</code> for output.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#zipWithIndex(R)">zipWithIndex</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#zipWithIndex(R)">zipWithIndex</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="chunk(int)">chunk</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>>></span> <span class="memberName">chunk</span>​(<span class="arguments">int size)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#chunk(int)">RichIterable</a></code></span></div> |
| <div class="block">Partitions elements in fixed size chunks.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#chunk(int)">chunk</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>size</code> - the number of elements per chunk</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>A <code>RichIterable</code> containing <code>RichIterable</code>s of size <code>size</code>, except the last will be |
| truncated if the elements don't divide evenly.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.procedure.Procedure2)">aggregateInPlaceBy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><KK,​ |
| VV></span> <span class="returnType"><a href="../../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><KK,​VV></span> <span class="memberName">aggregateInPlaceBy</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends KK> groupBy, |
| <a href="../../../../api/block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends VV> zeroValueFactory, |
| <a href="../../../../api/block/procedure/Procedure2.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure2</a><? super VV,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> mutatingAggregator)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/RichIterable.html#aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.procedure.Procedure2)">RichIterable</a></code></span></div> |
| <div class="block">Applies an aggregate procedure over the iterable grouping results into a Map based on the specific groupBy function. |
| Aggregate results are required to be mutable as they will be changed in place by the procedure. A second function |
| specifies the initial "zero" aggregate value to work with (i.e. new AtomicInteger(0)).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableMapIterable.html#aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.procedure.Procedure2)">aggregateInPlaceBy</a></code> in interface <code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/RichIterable.html#aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.procedure.Procedure2)">aggregateInPlaceBy</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="aggregateBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2)">aggregateBy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><KK,​ |
| VV></span> <span class="returnType"><a href="../../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><KK,​VV></span> <span class="memberName">aggregateBy</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends KK> groupBy, |
| <a href="../../../../api/block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends VV> zeroValueFactory, |
| <a href="../../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super VV,​? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> nonMutatingAggregator)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <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)">RichIterable</a></code></span></div> |
| <div class="block">Applies an aggregate function over the iterable grouping results into a map based on the specific groupBy function. |
| Aggregate results are allowed to be immutable as they will be replaced in place in the map. A second function |
| specifies the initial "zero" aggregate value to work with (i.e. Integer.valueOf(0)).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableMapIterable.html#aggregateBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2)">aggregateBy</a></code> in interface <code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><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)">aggregateBy</a></code> in interface <code><a href="../../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="aggregateBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2)">aggregateBy</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><K1,​ |
| V1,​ |
| V2></span> <span class="returnType"><a href="../../../../api/map/MutableMap.html" title="interface in org.eclipse.collections.api.map">MutableMap</a><K1,​V2></span> <span class="memberName">aggregateBy</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​? extends K1> keyFunction, |
| <a href="../../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends V1> valueFunction, |
| <a href="../../../../api/block/function/Function0.html" title="interface in org.eclipse.collections.api.block.function">Function0</a><? extends V2> zeroValueFactory, |
| <a href="../../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a><? super V2,​? super V1,​? extends V2> nonMutatingAggregator)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/map/MapIterable.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)">MapIterable</a></code></span></div> |
| <div class="block">Applies an aggregate function over the map grouping results into a map based on the specific key and value groupBy functions. |
| Aggregate results are allowed to be immutable as they will be replaced in place in the map. A second function |
| specifies the initial "zero" aggregate value to work with. |
| |
| <pre> |
| MapIterable<String, Interval> map = Maps.mutable.with("oneToFive", Interval.fromTo(1, 5), "sixToNine", Interval.fromTo(6, 9)); |
| |
| MapIterable<String, Long> result = map.aggregateBy( |
| eachKey -> { |
| return eachKey.equals("oneToFive") ? "lessThanSix" : "greaterOrEqualsToSix"; |
| }, |
| each -> each.sumOfInt(Integer::intValue), |
| () -> 0L, |
| (argument1, argument2) -> argument1 + argument2); |
| |
| MapIterable<String, Long> expected = |
| Maps.mutable.with("lessThanSix", Interval.fromTo(1, 5).sumOfInt(Integer::intValue), |
| "greaterOrEqualsToSix", Interval.fromTo(6, 9).sumOfInt(Integer::intValue)); |
| Assert.assertEquals(expected, result); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MapIterable.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></code> in interface <code><a href="../../../../api/map/MapIterable.html" title="interface in org.eclipse.collections.api.map">MapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/map/MutableMapIterable.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></code> in interface <code><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="newEmpty()">newEmpty</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/map/MutableMapIterable.html" title="interface in org.eclipse.collections.api.map">MutableMapIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">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/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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>,​<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="reverseForEach(org.eclipse.collections.api.block.procedure.Procedure)">reverseForEach</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">reverseForEach</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="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> procedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/ReversibleIterable.html#reverseForEach(org.eclipse.collections.api.block.procedure.Procedure)">ReversibleIterable</a></code></span></div> |
| <div class="block">Evaluates the procedure for each element of the list iterating in reverse order. |
| |
| <pre>e.g. |
| people.reverseForEach(person -> LOGGER.info(person.getName())); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#reverseForEach(org.eclipse.collections.api.block.procedure.Procedure)">reverseForEach</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="reverseForEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">reverseForEachWithIndex</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">reverseForEachWithIndex</span>​(<span class="arguments"><a href="../../../../api/block/procedure/primitive/ObjectIntProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">ObjectIntProcedure</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> procedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/ReversibleIterable.html#reverseForEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">ReversibleIterable</a></code></span></div> |
| <div class="block">Evaluates the procedure for each element and it's index in reverse order. |
| <pre>e.g. |
| people.reverseForEachWithIndex((person, index) -> |
| LOGGER.info("Index: " + index + " person: " + person.getName())); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#reverseForEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">reverseForEachWithIndex</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="detectLastIndex(org.eclipse.collections.api.block.predicate.Predicate)">detectLastIndex</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">int</span> <span class="memberName">detectLastIndex</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/ReversibleIterable.html#detectLastIndex(org.eclipse.collections.api.block.predicate.Predicate)">ReversibleIterable</a></code></span></div> |
| <div class="block">Returns the index of the last element of the <code>ReversibleIterable</code> for which the <code>predicate</code> evaluates to true. |
| Returns -1 if no element evaluates true for the <code>predicate</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#detectLastIndex(org.eclipse.collections.api.block.predicate.Predicate)">detectLastIndex</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectWithIndex(org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction)">collectWithIndex</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><V1></span> <span class="returnType"><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><V1></span> <span class="memberName">collectWithIndex</span>​(<span class="arguments"><a href="../../../../api/block/function/primitive/ObjectIntToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ObjectIntToObjectFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends V1> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/OrderedIterable.html#collectWithIndex(org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction)">OrderedIterable</a></code></span></div> |
| <div class="block">Returns a new OrderedIterable using results obtained by applying the specified function to each element |
| and its corresponding index.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#collectWithIndex(org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction)">collectWithIndex</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/ReversibleIterable.html#collectWithIndex(org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction)">collectWithIndex</a></code> in interface <code><a href="../../../../api/ordered/ReversibleIterable.html" title="interface in org.eclipse.collections.api.ordered">ReversibleIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="indexOf(java.lang.Object)">indexOf</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">int</span> <span class="memberName">indexOf</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> object)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/OrderedIterable.html#indexOf(java.lang.Object)">OrderedIterable</a></code></span></div> |
| <div class="block">Returns the index of the first occurrence of the specified item |
| in this iterable, or -1 if this iterable does not contain the item.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#indexOf(java.lang.Object)">indexOf</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true#indexOf(java.lang.Object)" title="class or interface in java.util" class="externalLink"><code>List.indexOf(Object)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getFirstOptional()">getFirstOptional</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">getFirstOptional</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/OrderedIterable.html#getFirstOptional()">OrderedIterable</a></code></span></div> |
| <div class="block">Returns the first element of an iterable as an Optional. In the case of a List it is the element at the first index. |
| In the case of any other Collection, it is the first element that would be returned during an iteration. If the |
| iterable is empty, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true#empty()" title="class or interface in java.util" class="externalLink"><code>Optional.empty()</code></a> is returned.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#getFirstOptional()">getFirstOptional</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getLastOptional()">getLastOptional</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true" title="class or interface in java.util" class="externalLink">Optional</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">getLastOptional</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/OrderedIterable.html#getLastOptional()">OrderedIterable</a></code></span></div> |
| <div class="block">Returns the last element of an iterable as an Optional. In the case of a List it is the element at the last index. |
| In the case of any other Collection, it is the last element that would be returned during an iteration. If the |
| iterable is empty, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Optional.html?is-external=true#empty()" title="class or interface in java.util" class="externalLink"><code>Optional.empty()</code></a> is returned.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#getLastOptional()">getLastOptional</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="corresponds(org.eclipse.collections.api.ordered.OrderedIterable,org.eclipse.collections.api.block.predicate.Predicate2)">corresponds</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><S></span> <span class="returnType">boolean</span> <span class="memberName">corresponds</span>​(<span class="arguments"><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><S> other, |
| <a href="../../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? super S> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/OrderedIterable.html#corresponds(org.eclipse.collections.api.ordered.OrderedIterable,org.eclipse.collections.api.block.predicate.Predicate2)">OrderedIterable</a></code></span></div> |
| <div class="block">Returns true if both OrderedIterables have the same length |
| and <code>predicate</code> returns true for all corresponding elements e1 of |
| this <code>OrderedIterable</code> and e2 of <code>other</code>. |
| The <code>predicate</code> is evaluated for each element at the same position of each <code>OrderedIterable</code> in a forward iteration order. |
| This is a short circuit pattern.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#corresponds(org.eclipse.collections.api.ordered.OrderedIterable,org.eclipse.collections.api.block.predicate.Predicate2)">corresponds</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="forEach(int,int,org.eclipse.collections.api.block.procedure.Procedure)">forEach</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">forEach</span>​(<span class="arguments">int startIndex, |
| int endIndex, |
| <a href="../../../../api/block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> procedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/OrderedIterable.html#forEach(int,int,org.eclipse.collections.api.block.procedure.Procedure)">OrderedIterable</a></code></span></div> |
| <div class="block">Iterates over the section of the iterable covered by the specified inclusive indexes. The indexes are |
| both inclusive. |
| |
| <pre>e.g. |
| OrderedIterable<People> people = FastList.newListWith(ted, mary, bob, sally) |
| people.forEach(0, 1, new Procedure<Person>() |
| { |
| public void value(Person person) |
| { |
| LOGGER.info(person.getName()); |
| } |
| }); |
| </pre> |
| <p> |
| This code would output ted and mary's names.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#forEach(int,int,org.eclipse.collections.api.block.procedure.Procedure)">forEach</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="forEachWithIndex(int,int,org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">forEachWithIndex</span>​(<span class="arguments">int fromIndex, |
| int toIndex, |
| <a href="../../../../api/block/procedure/primitive/ObjectIntProcedure.html" title="interface in org.eclipse.collections.api.block.procedure.primitive">ObjectIntProcedure</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> objectIntProcedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/OrderedIterable.html#forEachWithIndex(int,int,org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">OrderedIterable</a></code></span></div> |
| <div class="block">Iterates over the section of the iterable covered by the specified inclusive indexes. The indexes are |
| both inclusive. |
| |
| <pre>e.g. |
| OrderedIterable<People> people = FastList.newListWith(ted, mary, bob, sally) |
| people.forEachWithIndex(0, 1, new ObjectIntProcedure<Person>() |
| { |
| public void value(Person person, int index) |
| { |
| LOGGER.info(person.getName()); |
| } |
| }); |
| </pre> |
| <p> |
| This code would output ted and mary's names.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#forEachWithIndex(int,int,org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toStack()">toStack</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../../api/stack/MutableStack.html" title="interface in org.eclipse.collections.api.stack">MutableStack</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>></span> <span class="memberName">toStack</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/OrderedIterable.html#toStack()">OrderedIterable</a></code></span></div> |
| <div class="block">Converts the OrderedIterable to a mutable MutableStack implementation.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#toStack()">toStack</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="collectWithIndex(org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction,java.util.Collection)"> |
| <!-- --> |
| </a><a id="collectWithIndex(org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction,R)">collectWithIndex</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><VV,​ |
| R extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><VV>></span> <span class="returnType">R</span> <span class="memberName">collectWithIndex</span>​(<span class="arguments"><a href="../../../../api/block/function/primitive/ObjectIntToObjectFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ObjectIntToObjectFunction</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>,​? extends VV> function, |
| R target)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/OrderedIterable.html#collectWithIndex(org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction,R)">OrderedIterable</a></code></span></div> |
| <div class="block">Adds elements to the target Collection using results obtained by applying the specified function to each element |
| and its corresponding index.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#collectWithIndex(org.eclipse.collections.api.block.function.primitive.ObjectIntToObjectFunction,R)">collectWithIndex</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="detectIndex(org.eclipse.collections.api.block.predicate.Predicate)">detectIndex</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">int</span> <span class="memberName">detectIndex</span>​(<span class="arguments"><a href="../../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">V</a>> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../../api/ordered/OrderedIterable.html#detectIndex(org.eclipse.collections.api.block.predicate.Predicate)">OrderedIterable</a></code></span></div> |
| <div class="block">Returns the index of the first element of the <code>OrderedIterable</code> for which the <code>predicate</code> evaluates to true. |
| Returns -1 if no element evaluates true for the <code>predicate</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../api/ordered/OrderedIterable.html#detectIndex(org.eclipse.collections.api.block.predicate.Predicate)">detectIndex</a></code> in interface <code><a href="../../../../api/ordered/OrderedIterable.html" title="interface in org.eclipse.collections.api.ordered">OrderedIterable</a><<a href="UnmodifiableMutableOrderedMap.html" title="type parameter in UnmodifiableMutableOrderedMap">K</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/UnmodifiableMutableOrderedMap.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> |