| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (14.0.2) on Thu Aug 20 21:25:36 CDT 2020 --> |
| <title>UnifiedSet (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.set.mutable, class: UnifiedSet"> |
| <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":9,"i21":9,"i22":9,"i23":9,"i24":9,"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}; |
| 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/UnifiedSet.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="navListSearch"><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <div class="skipNav"><a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| </nav> |
| </header> |
| <div class="flexContent"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.eclipse.collections.impl.set.mutable</a></div> |
| <h1 title="Class UnifiedSet" class="title">Class UnifiedSet<T></h1> |
| </div> |
| <div class="contentContainer"> |
| <div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a> |
| <div class="inheritance"><a href="../../AbstractRichIterable.html" title="class in org.eclipse.collections.impl">org.eclipse.collections.impl.AbstractRichIterable</a><T> |
| <div class="inheritance"><a href="../../collection/mutable/AbstractMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">org.eclipse.collections.impl.collection.mutable.AbstractMutableCollection</a><T> |
| <div class="inheritance"><a href="../AbstractUnifiedSet.html" title="class in org.eclipse.collections.impl.set">org.eclipse.collections.impl.set.AbstractUnifiedSet</a><T> |
| <div class="inheritance">org.eclipse.collections.impl.set.mutable.UnifiedSet<T></div> |
| </div> |
| </div> |
| </div> |
| </div> |
| <section class="description"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io" class="externalLink">Externalizable</a></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Cloneable</a></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><T></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><T></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><T></code>, <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><T></code>, <code><a href="../../../api/InternalIterable.html" title="interface in org.eclipse.collections.api">InternalIterable</a><T></code>, <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><T></code>, <code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><T></code>, <code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a><T></code>, <code><a href="../../../api/set/Pool.html" title="interface in org.eclipse.collections.api.set">Pool</a><T></code>, <code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a><T></code>, <code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a><T></code>, <code><a href="../../parallel/BatchIterable.html" title="interface in org.eclipse.collections.impl.parallel">BatchIterable</a><T></code></dd> |
| </dl> |
| <hr> |
| <pre>public class <span class="typeNameLabel">UnifiedSet<T></span> |
| extends <a href="../AbstractUnifiedSet.html" title="class in org.eclipse.collections.impl.set">AbstractUnifiedSet</a><T> |
| implements <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io" class="externalLink">Externalizable</a></pre> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../serialized-form.html#org.eclipse.collections.impl.set.mutable.UnifiedSet">Serialized Form</a></dd> |
| </dl> |
| </section> |
| <section class="summary"> |
| <ul class="blockList"> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <li class="blockList"> |
| <section class="constructorSummary"><a id="constructor.summary"> |
| <!-- --> |
| </a> |
| <h2>Constructor Summary</h2> |
| <div class="memberSummary"> |
| <table> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <thead> |
| <tr> |
| <th class="colFirst" scope="col">Constructor</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E()">UnifiedSet</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int)">UnifiedSet</a></span>​(int initialCapacity)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(int,float)">UnifiedSet</a></span>​(int initialCapacity, |
| float loadFactor)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(java.util.Collection)">UnifiedSet</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><? extends <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> collection)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor"> |
| <th class="colConstructorName" scope="row"><code><span class="memberNameLink"><a href="#%3Cinit%3E(org.eclipse.collections.impl.set.mutable.UnifiedSet)">UnifiedSet</a></span>​(<a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> set)</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>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#add(T)">add</a></span>​(<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> key)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i1"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addAllIterable(java.lang.Iterable)">addAllIterable</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><? extends <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> iterable)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i2"> |
| <td class="colFirst"><code><a href="../../../api/set/ParallelUnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">ParallelUnsortedSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asParallel(java.util.concurrent.ExecutorService,int)">asParallel</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">ExecutorService</a> executorService, |
| int batchSize)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a parallel iterable of this SetIterable.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i3"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#batchForEach(org.eclipse.collections.api.block.procedure.Procedure,int,int)">batchForEach</a></span>​(<a href="../../../api/block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a><? super <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> procedure, |
| int sectionIndex, |
| int sectionCount)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i4"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clear()">clear</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i5"> |
| <td class="colFirst"><code><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clone()">clone</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i6"> |
| <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> key)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns true if the iterable has an element which responds true to element.equals(object).</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i7"> |
| <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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> procedure)</code></th> |
| <td class="colLast"> |
| <div class="block">The procedure is executed for each element in the iterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i8"> |
| <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> object)</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/Set.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util" class="externalLink"><code>Set.equals(Object)</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i9"> |
| <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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>,​? super P> procedure, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">The procedure2 is evaluated for each element in the iterable with the specified parameter provided |
| as the second argument.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i10"> |
| <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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> objectIntProcedure)</code></th> |
| <td class="colLast"> |
| <div class="block">Iterates over the iterable passing each element and the current relative int index to the specified instance of |
| ObjectIntProcedure.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i11"> |
| <td class="colFirst"><code><a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#get(T)">get</a></span>​(<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> key)</code></th> |
| <td class="colLast"> |
| <div class="block">Locates an object in the pool which is equal to <code>key</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i12"> |
| <td class="colFirst"><code><a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getFirst()">getFirst</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the first element of an iterable.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i13"> |
| <td class="colFirst"><code><a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLast()">getLast</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the last element of an iterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i14"> |
| <td class="colFirst"><code><V> <a href="../../multimap/set/UnifiedSetMultimap.html" title="class in org.eclipse.collections.impl.multimap.set">UnifiedSetMultimap</a><V,​<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></span>​(<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>,​? extends V> function)</code></th> |
| <td class="colLast"> |
| <div class="block">For each element of the iterable, the function is evaluated and the results of these evaluations are collected |
| into a new multimap, where the transformed value is the key and the original values are added to the same (or similar) |
| species of collection as the source iterable.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i15"> |
| <td class="colFirst"><code><V> <a href="../../multimap/set/UnifiedSetMultimap.html" title="class in org.eclipse.collections.impl.multimap.set">UnifiedSetMultimap</a><V,​<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></span>​(<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a><? super <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>,​? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><V>> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Similar to <a href="../../../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="i16"> |
| <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/Set.html?is-external=true#hashCode()" title="class or interface in java.util" class="externalLink"><code>Set.hashCode()</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i17"> |
| <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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#iterator()">iterator</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i18"> |
| <td class="colFirst"><code><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newEmpty()">newEmpty</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Creates a new empty mutable version of the same collection type.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i19"> |
| <td class="colFirst"><code><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newEmpty(int)">newEmpty</a></span>​(int size)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i20"> |
| <td class="colFirst"><code>static <K> <a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><K></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newSet()">newSet</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i21"> |
| <td class="colFirst"><code>static <K> <a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><K></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newSet(int)">newSet</a></span>​(int size)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i22"> |
| <td class="colFirst"><code>static <K> <a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><K></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newSet(int,float)">newSet</a></span>​(int size, |
| float loadFactor)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i23"> |
| <td class="colFirst"><code>static <K> <a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><K></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newSet(java.lang.Iterable)">newSet</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 K> source)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i24"> |
| <td class="colFirst"><code>static <K> <a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><K></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newSetWith(K...)">newSetWith</a></span>​(K... elements)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i25"> |
| <td class="colFirst"><code><a href="../../../api/partition/set/PartitionMutableSet.html" title="interface in org.eclipse.collections.api.partition.set">PartitionMutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></span>​(<a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Filters a collection into a PartitionedIterable based on the evaluation of the predicate.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i26"> |
| <td class="colFirst"><code><P> <a href="../../../api/partition/set/PartitionMutableSet.html" title="interface in org.eclipse.collections.api.partition.set">PartitionMutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a></span>​(<a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Filters a collection into a PartitionIterable based on the evaluation of the predicate.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i27"> |
| <td class="colFirst"><code><a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#put(T)">put</a></span>​(<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> key)</code></th> |
| <td class="colLast"> |
| <div class="block">Puts <code>key</code> into the pool.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i28"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#readExternal(java.io.ObjectInput)">readExternal</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/ObjectInput.html?is-external=true" title="class or interface in java.io" class="externalLink">ObjectInput</a> in)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i29"> |
| <td class="colFirst"><code><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></span>​(<a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="i30"> |
| <td class="colFirst"><code><P> <a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a></span>​(<a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="i31"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remove(java.lang.Object)">remove</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> key)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i32"> |
| <td class="colFirst"><code><a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeFromPool(T)">removeFromPool</a></span>​(<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> key)</code></th> |
| <td class="colLast"> |
| <div class="block">Locates an object in the pool which is equal to <code>key</code> and removes it.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i33"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#retainAllIterable(java.lang.Iterable)">retainAllIterable</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><?> iterable)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i34"> |
| <td class="colFirst"><code><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></span>​(<a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a><? super <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns all elements of the source collection that return true when evaluating the predicate.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i35"> |
| <td class="colFirst"><code><P> <a href="../../../api/tuple/Twin.html" title="interface in org.eclipse.collections.api.tuple">Twin</a><<a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#selectAndRejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectAndRejectWith</a></span>​(<a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Filters a collection into two separate collections based on a predicate returned via a Pair.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i36"> |
| <td class="colFirst"><code><S> <a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><S></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang" class="externalLink">Class</a><S> clazz)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns all elements of the source collection that are instances of the Class <code>clazz</code>.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i37"> |
| <td class="colFirst"><code><P> <a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></span>​(<a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>,​? super P> predicate, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Similar to <a href="../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)"><code>RichIterable.select(Predicate)</code></a>, except with an evaluation parameter for the second generic argument in <a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i38"> |
| <td class="colFirst"><code>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="i39"> |
| <td class="colFirst"><code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></span>​(<a href="../../../api/block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a><? super <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> procedure)</code></th> |
| <td class="colLast"> |
| <div class="block">Executes the Procedure for each element in the iterable and returns <code>this</code>.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i40"> |
| <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="i41"> |
| <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[] array)</code></th> |
| <td class="colLast"> |
| <div class="block">Converts this iterable to an array using the specified target array, assuming the target array is as long |
| or longer than the iterable.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i42"> |
| <td class="colFirst"><code><a href="../../../api/set/ImmutableSet.html" title="interface in org.eclipse.collections.api.set">ImmutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toImmutable()">toImmutable</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an immutable copy of this set.</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="#trimToSize()">trimToSize</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i44"> |
| <td class="colFirst"><code><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#with(T)">with</a></span>​(<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> element)</code></th> |
| <td class="colLast"> |
| <div class="block">This method allows mutable and fixed size collections the ability to add elements to their existing elements.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i45"> |
| <td class="colFirst"><code><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#with(T...)">with</a></span>​(<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>... elements)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i46"> |
| <td class="colFirst"><code><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#with(T,T)">with</a></span>​(<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> element1, |
| <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> element2)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="rowColor" id="i47"> |
| <td class="colFirst"><code><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#with(T,T,T)">with</a></span>​(<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> element1, |
| <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> element2, |
| <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> element3)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr class="altColor" id="i48"> |
| <td class="colFirst"><code><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withAll(java.lang.Iterable)">withAll</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><? extends <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> iterable)</code></th> |
| <td class="colLast"> |
| <div class="block">This method allows mutable and fixed size collections the ability to add multiple elements to their existing |
| elements.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i49"> |
| <td class="colFirst"><code><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#without(T)">without</a></span>​(<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> element)</code></th> |
| <td class="colLast"> |
| <div class="block">This method allows mutable and fixed size collections the ability to remove elements from their existing elements.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i50"> |
| <td class="colFirst"><code><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withoutAll(java.lang.Iterable)">withoutAll</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><? extends <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> elements)</code></th> |
| <td class="colLast"> |
| <div class="block">This method allows mutable and fixed size collections the ability to remove multiple elements from their existing |
| elements.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i51"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#writeExternal(java.io.ObjectOutput)">writeExternal</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/io/ObjectOutput.html?is-external=true" title="class or interface in java.io" class="externalLink">ObjectOutput</a> out)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from class org.eclipse.collections.impl.set.<a href="../AbstractUnifiedSet.html" title="class in org.eclipse.collections.impl.set">AbstractUnifiedSet</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.impl.set.AbstractUnifiedSet"> |
| <!-- --> |
| </a><code><a href="../AbstractUnifiedSet.html#allSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">allSatisfy</a>, <a href="../AbstractUnifiedSet.html#allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">allSatisfyWith</a>, <a href="../AbstractUnifiedSet.html#anySatisfy(org.eclipse.collections.api.block.predicate.Predicate)">anySatisfy</a>, <a href="../AbstractUnifiedSet.html#anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">anySatisfyWith</a>, <a href="../AbstractUnifiedSet.html#asSynchronized()">asSynchronized</a>, <a href="../AbstractUnifiedSet.html#asUnmodifiable()">asUnmodifiable</a>, <a href="../AbstractUnifiedSet.html#cartesianProduct(org.eclipse.collections.api.set.SetIterable)">cartesianProduct</a>, <a href="../AbstractUnifiedSet.html#chunk(int)">chunk</a>, <a href="../AbstractUnifiedSet.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a>, <a href="../AbstractUnifiedSet.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a>, <a href="../AbstractUnifiedSet.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a>, <a href="../AbstractUnifiedSet.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a>, <a href="../AbstractUnifiedSet.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a>, <a href="../AbstractUnifiedSet.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a>, <a href="../AbstractUnifiedSet.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)">collectIf</a>, <a href="../AbstractUnifiedSet.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a>, <a href="../AbstractUnifiedSet.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a>, <a href="../AbstractUnifiedSet.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a>, <a href="../AbstractUnifiedSet.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a>, <a href="../AbstractUnifiedSet.html#detect(org.eclipse.collections.api.block.predicate.Predicate)">detect</a>, <a href="../AbstractUnifiedSet.html#detectOptional(org.eclipse.collections.api.block.predicate.Predicate)">detectOptional</a>, <a href="../AbstractUnifiedSet.html#difference(org.eclipse.collections.api.set.SetIterable)">difference</a>, <a href="../AbstractUnifiedSet.html#differenceInto(org.eclipse.collections.api.set.SetIterable,R)">differenceInto</a>, <a href="../AbstractUnifiedSet.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a>, <a href="../AbstractUnifiedSet.html#getBatchCount(int)">getBatchCount</a>, <a href="../AbstractUnifiedSet.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function)">groupByUniqueKey</a>, <a href="../AbstractUnifiedSet.html#injectIntoWith(IV,org.eclipse.collections.api.block.function.Function3,P)">injectIntoWith</a>, <a href="../AbstractUnifiedSet.html#intersect(org.eclipse.collections.api.set.SetIterable)">intersect</a>, <a href="../AbstractUnifiedSet.html#intersectInto(org.eclipse.collections.api.set.SetIterable,R)">intersectInto</a>, <a href="../AbstractUnifiedSet.html#isProperSubsetOf(org.eclipse.collections.api.set.SetIterable)">isProperSubsetOf</a>, <a href="../AbstractUnifiedSet.html#isSubsetOf(org.eclipse.collections.api.set.SetIterable)">isSubsetOf</a>, <a href="../AbstractUnifiedSet.html#noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">noneSatisfy</a>, <a href="../AbstractUnifiedSet.html#noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">noneSatisfyWith</a>, <a href="../AbstractUnifiedSet.html#powerSet()">powerSet</a>, <a href="../AbstractUnifiedSet.html#removeAllIterable(java.lang.Iterable)">removeAllIterable</a>, <a href="../AbstractUnifiedSet.html#retainAll(java.util.Collection)">retainAll</a>, <a href="../AbstractUnifiedSet.html#symmetricDifference(org.eclipse.collections.api.set.SetIterable)">symmetricDifference</a>, <a href="../AbstractUnifiedSet.html#symmetricDifferenceInto(org.eclipse.collections.api.set.SetIterable,R)">symmetricDifferenceInto</a>, <a href="../AbstractUnifiedSet.html#union(org.eclipse.collections.api.set.SetIterable)">union</a>, <a href="../AbstractUnifiedSet.html#unionInto(org.eclipse.collections.api.set.SetIterable,R)">unionInto</a>, <a href="../AbstractUnifiedSet.html#zip(java.lang.Iterable)">zip</a>, <a href="../AbstractUnifiedSet.html#zipWithIndex()">zipWithIndex</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from class org.eclipse.collections.impl.collection.mutable.<a href="../../collection/mutable/AbstractMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractMutableCollection</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.impl.collection.mutable.AbstractMutableCollection"> |
| <!-- --> |
| </a><code><a href="../../collection/mutable/AbstractMutableCollection.html#addAll(java.util.Collection)">addAll</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.procedure.Procedure2)">aggregateInPlaceBy</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#countBy(org.eclipse.collections.api.block.function.Function)">countBy</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#countByEach(org.eclipse.collections.api.block.function.Function)">countByEach</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#countByWith(org.eclipse.collections.api.block.function.Function2,P)">countByWith</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#reduce(java.util.function.BinaryOperator)">reduce</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#removeAll(java.util.Collection)">removeAll</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#removeIf(org.eclipse.collections.api.block.predicate.Predicate)">removeIf</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#removeIfWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">removeIfWith</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#sumByDouble(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumByDouble</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#sumByFloat(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumByFloat</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#sumByInt(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.IntFunction)">sumByInt</a>, <a href="../../collection/mutable/AbstractMutableCollection.html#sumByLong(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.LongFunction)">sumByLong</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from class org.eclipse.collections.impl.<a href="../../AbstractRichIterable.html" title="class in org.eclipse.collections.impl">AbstractRichIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.impl.AbstractRichIterable"> |
| <!-- --> |
| </a><code><a href="../../AbstractRichIterable.html#appendString(java.lang.Appendable,java.lang.String)">appendString</a>, <a href="../../AbstractRichIterable.html#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a>, <a href="../../AbstractRichIterable.html#asLazy()">asLazy</a>, <a href="../../AbstractRichIterable.html#collect(org.eclipse.collections.api.block.function.Function,R)">collect</a>, <a href="../../AbstractRichIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction,R)">collectBoolean</a>, <a href="../../AbstractRichIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction,R)">collectByte</a>, <a href="../../AbstractRichIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction,R)">collectChar</a>, <a href="../../AbstractRichIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction,R)">collectDouble</a>, <a href="../../AbstractRichIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction,R)">collectFloat</a>, <a href="../../AbstractRichIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function,R)">collectIf</a>, <a href="../../AbstractRichIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction,R)">collectInt</a>, <a href="../../AbstractRichIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction,R)">collectLong</a>, <a href="../../AbstractRichIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction,R)">collectShort</a>, <a href="../../AbstractRichIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P,R)">collectWith</a>, <a href="../../AbstractRichIterable.html#containsAll(java.util.Collection)">containsAll</a>, <a href="../../AbstractRichIterable.html#containsAllArguments(java.lang.Object...)">containsAllArguments</a>, <a href="../../AbstractRichIterable.html#containsAllIterable(java.lang.Iterable)">containsAllIterable</a>, <a href="../../AbstractRichIterable.html#count(org.eclipse.collections.api.block.predicate.Predicate)">count</a>, <a href="../../AbstractRichIterable.html#countWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">countWith</a>, <a href="../../AbstractRichIterable.html#detectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWith</a>, <a href="../../AbstractRichIterable.html#detectWithIfNone(org.eclipse.collections.api.block.predicate.Predicate2,P,org.eclipse.collections.api.block.function.Function0)">detectWithIfNone</a>, <a href="../../AbstractRichIterable.html#detectWithOptional(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWithOptional</a>, <a href="../../AbstractRichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function,R)">flatCollect</a>, <a href="../../AbstractRichIterable.html#forEach(org.eclipse.collections.api.block.procedure.Procedure)">forEach</a>, <a href="../../AbstractRichIterable.html#groupBy(org.eclipse.collections.api.block.function.Function,R)">groupBy</a>, <a href="../../AbstractRichIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function,R)">groupByEach</a>, <a href="../../AbstractRichIterable.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function,R)">groupByUniqueKey</a>, <a href="../../AbstractRichIterable.html#injectInto(double,org.eclipse.collections.api.block.function.primitive.DoubleObjectToDoubleFunction)">injectInto</a>, <a href="../../AbstractRichIterable.html#injectInto(float,org.eclipse.collections.api.block.function.primitive.FloatObjectToFloatFunction)">injectInto</a>, <a href="../../AbstractRichIterable.html#injectInto(int,org.eclipse.collections.api.block.function.primitive.IntObjectToIntFunction)">injectInto</a>, <a href="../../AbstractRichIterable.html#injectInto(long,org.eclipse.collections.api.block.function.primitive.LongObjectToLongFunction)">injectInto</a>, <a href="../../AbstractRichIterable.html#injectInto(IV,org.eclipse.collections.api.block.function.Function2)">injectInto</a>, <a href="../../AbstractRichIterable.html#into(R)">into</a>, <a href="../../AbstractRichIterable.html#isEmpty()">isEmpty</a>, <a href="../../AbstractRichIterable.html#max()">max</a>, <a href="../../AbstractRichIterable.html#max(java.util.Comparator)">max</a>, <a href="../../AbstractRichIterable.html#maxBy(org.eclipse.collections.api.block.function.Function)">maxBy</a>, <a href="../../AbstractRichIterable.html#min()">min</a>, <a href="../../AbstractRichIterable.html#min(java.util.Comparator)">min</a>, <a href="../../AbstractRichIterable.html#minBy(org.eclipse.collections.api.block.function.Function)">minBy</a>, <a href="../../AbstractRichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate,R)">reject</a>, <a href="../../AbstractRichIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">rejectWith</a>, <a href="../../AbstractRichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate,R)">select</a>, <a href="../../AbstractRichIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">selectWith</a>, <a href="../../AbstractRichIterable.html#sumOfDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumOfDouble</a>, <a href="../../AbstractRichIterable.html#sumOfFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumOfFloat</a>, <a href="../../AbstractRichIterable.html#sumOfInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">sumOfInt</a>, <a href="../../AbstractRichIterable.html#sumOfLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">sumOfLong</a>, <a href="../../AbstractRichIterable.html#toBag()">toBag</a>, <a href="../../AbstractRichIterable.html#toBiMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toBiMap</a>, <a href="../../AbstractRichIterable.html#toList()">toList</a>, <a href="../../AbstractRichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toMap</a>, <a href="../../AbstractRichIterable.html#toSet()">toSet</a>, <a href="../../AbstractRichIterable.html#toSortedBag()">toSortedBag</a>, <a href="../../AbstractRichIterable.html#toSortedBag(java.util.Comparator)">toSortedBag</a>, <a href="../../AbstractRichIterable.html#toSortedBagBy(org.eclipse.collections.api.block.function.Function)">toSortedBagBy</a>, <a href="../../AbstractRichIterable.html#toSortedListBy(org.eclipse.collections.api.block.function.Function)">toSortedListBy</a>, <a href="../../AbstractRichIterable.html#toSortedMap(java.util.Comparator,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../../AbstractRichIterable.html#toSortedMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../../AbstractRichIterable.html#toSortedMapBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMapBy</a>, <a href="../../AbstractRichIterable.html#toSortedSet()">toSortedSet</a>, <a href="../../AbstractRichIterable.html#toSortedSet(java.util.Comparator)">toSortedSet</a>, <a href="../../AbstractRichIterable.html#toSortedSetBy(org.eclipse.collections.api.block.function.Function)">toSortedSetBy</a>, <a href="../../AbstractRichIterable.html#toString()">toString</a>, <a href="../../AbstractRichIterable.html#zip(java.lang.Iterable,R)">zip</a>, <a href="../../AbstractRichIterable.html#zipWithIndex(R)">zipWithIndex</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.impl.parallel.<a href="../../parallel/BatchIterable.html" title="interface in org.eclipse.collections.impl.parallel">BatchIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.impl.parallel.BatchIterable"> |
| <!-- --> |
| </a><code><a href="../../parallel/BatchIterable.html#forEach(org.eclipse.collections.api.block.procedure.Procedure)">forEach</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a></h3> |
| <a id="methods.inherited.from.class.java.util.Collection"> |
| <!-- --> |
| </a><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#parallelStream()" title="class or interface in java.util" class="externalLink">parallelStream</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#removeIf(java.util.function.Predicate)" title="class or interface in java.util" class="externalLink">removeIf</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#stream()" title="class or interface in java.util" class="externalLink">stream</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#toArray(java.util.function.IntFunction)" title="class or interface in java.util" class="externalLink">toArray</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.<a href="../../../api/InternalIterable.html" title="interface in org.eclipse.collections.api">InternalIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.InternalIterable"> |
| <!-- --> |
| </a><code><a href="../../../api/InternalIterable.html#forEach(java.util.function.Consumer)">forEach</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.collection.<a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.collection.MutableCollection"> |
| <!-- --> |
| </a><code><a href="../../../api/collection/MutableCollection.html#aggregateBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2)">aggregateBy</a>, <a href="../../../api/collection/MutableCollection.html#aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.procedure.Procedure2)">aggregateInPlaceBy</a>, <a href="../../../api/collection/MutableCollection.html#countBy(org.eclipse.collections.api.block.function.Function)">countBy</a>, <a href="../../../api/collection/MutableCollection.html#countByEach(org.eclipse.collections.api.block.function.Function)">countByEach</a>, <a href="../../../api/collection/MutableCollection.html#countByWith(org.eclipse.collections.api.block.function.Function2,P)">countByWith</a>, <a href="../../../api/collection/MutableCollection.html#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P)">flatCollectWith</a>, <a href="../../../api/collection/MutableCollection.html#removeIf(org.eclipse.collections.api.block.predicate.Predicate)">removeIf</a>, <a href="../../../api/collection/MutableCollection.html#removeIfWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">removeIfWith</a>, <a href="../../../api/collection/MutableCollection.html#sumByDouble(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumByDouble</a>, <a href="../../../api/collection/MutableCollection.html#sumByFloat(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumByFloat</a>, <a href="../../../api/collection/MutableCollection.html#sumByInt(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.IntFunction)">sumByInt</a>, <a href="../../../api/collection/MutableCollection.html#sumByLong(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.LongFunction)">sumByLong</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.set.<a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.set.MutableSet"> |
| <!-- --> |
| </a><code><a href="../../../api/set/MutableSet.html#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P)">flatCollectWith</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.<a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.RichIterable"> |
| <!-- --> |
| </a><code><a href="../../../api/RichIterable.html#aggregateBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2,R)">aggregateBy</a>, <a href="../../../api/RichIterable.html#appendString(java.lang.Appendable)">appendString</a>, <a href="../../../api/RichIterable.html#appendString(java.lang.Appendable,java.lang.String)">appendString</a>, <a href="../../../api/RichIterable.html#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a>, <a href="../../../api/RichIterable.html#asLazy()">asLazy</a>, <a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function,R)">collect</a>, <a href="../../../api/RichIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction,R)">collectBoolean</a>, <a href="../../../api/RichIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction,R)">collectByte</a>, <a href="../../../api/RichIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction,R)">collectChar</a>, <a href="../../../api/RichIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction,R)">collectDouble</a>, <a href="../../../api/RichIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction,R)">collectFloat</a>, <a href="../../../api/RichIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function,R)">collectIf</a>, <a href="../../../api/RichIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction,R)">collectInt</a>, <a href="../../../api/RichIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction,R)">collectLong</a>, <a href="../../../api/RichIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction,R)">collectShort</a>, <a href="../../../api/RichIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P,R)">collectWith</a>, <a href="../../../api/RichIterable.html#containsAll(java.util.Collection)">containsAll</a>, <a href="../../../api/RichIterable.html#containsAllArguments(java.lang.Object...)">containsAllArguments</a>, <a href="../../../api/RichIterable.html#containsAllIterable(java.lang.Iterable)">containsAllIterable</a>, <a href="../../../api/RichIterable.html#containsBy(org.eclipse.collections.api.block.function.Function,V)">containsBy</a>, <a href="../../../api/RichIterable.html#count(org.eclipse.collections.api.block.predicate.Predicate)">count</a>, <a href="../../../api/RichIterable.html#countBy(org.eclipse.collections.api.block.function.Function,R)">countBy</a>, <a href="../../../api/RichIterable.html#countByEach(org.eclipse.collections.api.block.function.Function,R)">countByEach</a>, <a href="../../../api/RichIterable.html#countByWith(org.eclipse.collections.api.block.function.Function2,P,R)">countByWith</a>, <a href="../../../api/RichIterable.html#countWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">countWith</a>, <a href="../../../api/RichIterable.html#detectIfNone(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function0)">detectIfNone</a>, <a href="../../../api/RichIterable.html#detectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWith</a>, <a href="../../../api/RichIterable.html#detectWithIfNone(org.eclipse.collections.api.block.predicate.Predicate2,P,org.eclipse.collections.api.block.function.Function0)">detectWithIfNone</a>, <a href="../../../api/RichIterable.html#detectWithOptional(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWithOptional</a>, <a href="../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function,R)">flatCollect</a>, <a href="../../../api/RichIterable.html#flatCollectBoolean(org.eclipse.collections.api.block.function.Function,R)">flatCollectBoolean</a>, <a href="../../../api/RichIterable.html#flatCollectByte(org.eclipse.collections.api.block.function.Function,R)">flatCollectByte</a>, <a href="../../../api/RichIterable.html#flatCollectChar(org.eclipse.collections.api.block.function.Function,R)">flatCollectChar</a>, <a href="../../../api/RichIterable.html#flatCollectDouble(org.eclipse.collections.api.block.function.Function,R)">flatCollectDouble</a>, <a href="../../../api/RichIterable.html#flatCollectFloat(org.eclipse.collections.api.block.function.Function,R)">flatCollectFloat</a>, <a href="../../../api/RichIterable.html#flatCollectInt(org.eclipse.collections.api.block.function.Function,R)">flatCollectInt</a>, <a href="../../../api/RichIterable.html#flatCollectLong(org.eclipse.collections.api.block.function.Function,R)">flatCollectLong</a>, <a href="../../../api/RichIterable.html#flatCollectShort(org.eclipse.collections.api.block.function.Function,R)">flatCollectShort</a>, <a href="../../../api/RichIterable.html#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P,R)">flatCollectWith</a>, <a href="../../../api/RichIterable.html#forEach(org.eclipse.collections.api.block.procedure.Procedure)">forEach</a>, <a href="../../../api/RichIterable.html#getAny()">getAny</a>, <a href="../../../api/RichIterable.html#getOnly()">getOnly</a>, <a href="../../../api/RichIterable.html#groupBy(org.eclipse.collections.api.block.function.Function,R)">groupBy</a>, <a href="../../../api/RichIterable.html#groupByAndCollect(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">groupByAndCollect</a>, <a href="../../../api/RichIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function,R)">groupByEach</a>, <a href="../../../api/RichIterable.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function,R)">groupByUniqueKey</a>, <a href="../../../api/RichIterable.html#injectInto(double,org.eclipse.collections.api.block.function.primitive.DoubleObjectToDoubleFunction)">injectInto</a>, <a href="../../../api/RichIterable.html#injectInto(float,org.eclipse.collections.api.block.function.primitive.FloatObjectToFloatFunction)">injectInto</a>, <a href="../../../api/RichIterable.html#injectInto(int,org.eclipse.collections.api.block.function.primitive.IntObjectToIntFunction)">injectInto</a>, <a href="../../../api/RichIterable.html#injectInto(long,org.eclipse.collections.api.block.function.primitive.LongObjectToLongFunction)">injectInto</a>, <a href="../../../api/RichIterable.html#injectInto(IV,org.eclipse.collections.api.block.function.Function2)">injectInto</a>, <a href="../../../api/RichIterable.html#into(R)">into</a>, <a href="../../../api/RichIterable.html#isEmpty()">isEmpty</a>, <a href="../../../api/RichIterable.html#makeString()">makeString</a>, <a href="../../../api/RichIterable.html#makeString(java.lang.String)">makeString</a>, <a href="../../../api/RichIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)">makeString</a>, <a href="../../../api/RichIterable.html#max()">max</a>, <a href="../../../api/RichIterable.html#max(java.util.Comparator)">max</a>, <a href="../../../api/RichIterable.html#maxBy(org.eclipse.collections.api.block.function.Function)">maxBy</a>, <a href="../../../api/RichIterable.html#maxByOptional(org.eclipse.collections.api.block.function.Function)">maxByOptional</a>, <a href="../../../api/RichIterable.html#maxOptional()">maxOptional</a>, <a href="../../../api/RichIterable.html#maxOptional(java.util.Comparator)">maxOptional</a>, <a href="../../../api/RichIterable.html#min()">min</a>, <a href="../../../api/RichIterable.html#min(java.util.Comparator)">min</a>, <a href="../../../api/RichIterable.html#minBy(org.eclipse.collections.api.block.function.Function)">minBy</a>, <a href="../../../api/RichIterable.html#minByOptional(org.eclipse.collections.api.block.function.Function)">minByOptional</a>, <a href="../../../api/RichIterable.html#minOptional()">minOptional</a>, <a href="../../../api/RichIterable.html#minOptional(java.util.Comparator)">minOptional</a>, <a href="../../../api/RichIterable.html#notEmpty()">notEmpty</a>, <a href="../../../api/RichIterable.html#reduce(java.util.function.BinaryOperator)">reduce</a>, <a href="../../../api/RichIterable.html#reduceInPlace(java.util.function.Supplier,java.util.function.BiConsumer)">reduceInPlace</a>, <a href="../../../api/RichIterable.html#reduceInPlace(java.util.stream.Collector)">reduceInPlace</a>, <a href="../../../api/RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate,R)">reject</a>, <a href="../../../api/RichIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">rejectWith</a>, <a href="../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate,R)">select</a>, <a href="../../../api/RichIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">selectWith</a>, <a href="../../../api/RichIterable.html#summarizeDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">summarizeDouble</a>, <a href="../../../api/RichIterable.html#summarizeFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">summarizeFloat</a>, <a href="../../../api/RichIterable.html#summarizeInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">summarizeInt</a>, <a href="../../../api/RichIterable.html#summarizeLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">summarizeLong</a>, <a href="../../../api/RichIterable.html#sumOfDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumOfDouble</a>, <a href="../../../api/RichIterable.html#sumOfFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumOfFloat</a>, <a href="../../../api/RichIterable.html#sumOfInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">sumOfInt</a>, <a href="../../../api/RichIterable.html#sumOfLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">sumOfLong</a>, <a href="../../../api/RichIterable.html#toBag()">toBag</a>, <a href="../../../api/RichIterable.html#toBiMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toBiMap</a>, <a href="../../../api/RichIterable.html#toList()">toList</a>, <a href="../../../api/RichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toMap</a>, <a href="../../../api/RichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">toMap</a>, <a href="../../../api/RichIterable.html#toSet()">toSet</a>, <a href="../../../api/RichIterable.html#toSortedBag()">toSortedBag</a>, <a href="../../../api/RichIterable.html#toSortedBag(java.util.Comparator)">toSortedBag</a>, <a href="../../../api/RichIterable.html#toSortedBagBy(org.eclipse.collections.api.block.function.Function)">toSortedBagBy</a>, <a href="../../../api/RichIterable.html#toSortedList()">toSortedList</a>, <a href="../../../api/RichIterable.html#toSortedList(java.util.Comparator)">toSortedList</a>, <a href="../../../api/RichIterable.html#toSortedListBy(org.eclipse.collections.api.block.function.Function)">toSortedListBy</a>, <a href="../../../api/RichIterable.html#toSortedMap(java.util.Comparator,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../../../api/RichIterable.html#toSortedMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../../../api/RichIterable.html#toSortedMapBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMapBy</a>, <a href="../../../api/RichIterable.html#toSortedSet()">toSortedSet</a>, <a href="../../../api/RichIterable.html#toSortedSet(java.util.Comparator)">toSortedSet</a>, <a href="../../../api/RichIterable.html#toSortedSetBy(org.eclipse.collections.api.block.function.Function)">toSortedSetBy</a>, <a href="../../../api/RichIterable.html#toString()">toString</a>, <a href="../../../api/RichIterable.html#zip(java.lang.Iterable,R)">zip</a>, <a href="../../../api/RichIterable.html#zipWithIndex(R)">zipWithIndex</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/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a></h3> |
| <a id="methods.inherited.from.class.java.util.Set"> |
| <!-- --> |
| </a><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true#addAll(java.util.Collection)" title="class or interface in java.util" class="externalLink">addAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true#containsAll(java.util.Collection)" title="class or interface in java.util" class="externalLink">containsAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true#isEmpty()" title="class or interface in java.util" class="externalLink">isEmpty</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true#removeAll(java.util.Collection)" title="class or interface in java.util" class="externalLink">removeAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true#spliterator()" title="class or interface in java.util" class="externalLink">spliterator</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>()">UnifiedSet</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="memberName">UnifiedSet</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="<init>(int)">UnifiedSet</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="memberName">UnifiedSet</span>​(<span class="arguments">int initialCapacity)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="<init>(int,float)">UnifiedSet</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="memberName">UnifiedSet</span>​(<span class="arguments">int initialCapacity, |
| float loadFactor)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="<init>(java.util.Collection)">UnifiedSet</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="memberName">UnifiedSet</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><? extends <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> collection)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="<init>(org.eclipse.collections.impl.set.mutable.UnifiedSet)">UnifiedSet</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="memberName">UnifiedSet</span>​(<span class="arguments"><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> set)</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="newSet()">newSet</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><K></span> <span class="returnType"><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><K></span> <span class="memberName">newSet</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="newSet(int)">newSet</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><K></span> <span class="returnType"><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><K></span> <span class="memberName">newSet</span>​(<span class="arguments">int size)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="newSet(java.lang.Iterable)">newSet</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><K></span> <span class="returnType"><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><K></span> <span class="memberName">newSet</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 K> source)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="newSet(int,float)">newSet</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><K></span> <span class="returnType"><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><K></span> <span class="memberName">newSet</span>​(<span class="arguments">int size, |
| float loadFactor)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="newSetWith(java.lang.Object[])"> |
| <!-- --> |
| </a><a id="newSetWith(K...)">newSetWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public static</span> <span class="typeParameters"><K></span> <span class="returnType"><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><K></span> <span class="memberName">newSetWith</span>​(<span class="arguments">K... elements)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="clear()">clear</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">clear</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#clear()" title="class or interface in java.util" class="externalLink">clear</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/Pool.html#clear()">clear</a></code> in interface <code><a href="../../../api/set/Pool.html" title="interface in org.eclipse.collections.api.set">Pool</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.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/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="add(java.lang.Object)"> |
| <!-- --> |
| </a><a id="add(T)">add</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">add</span>​(<span class="arguments"><a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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/Collection.html?is-external=true#add(E)" title="class or interface in java.util" class="externalLink">add</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true#add(E)" title="class or interface in java.util" class="externalLink">add</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/mutable/AbstractMutableCollection.html#add(T)">add</a></code> in class <code><a href="../../collection/mutable/AbstractMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractMutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="contains(java.lang.Object)">contains</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">contains</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> key)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#contains(java.lang.Object)">RichIterable</a></code></span></div> |
| <div class="block">Returns true if the iterable has an element which responds true to element.equals(object).</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#contains(java.lang.Object)" title="class or interface in java.util" class="externalLink">contains</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#contains(java.lang.Object)">contains</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true#contains(java.lang.Object)" title="class or interface in java.util" class="externalLink">contains</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../AbstractRichIterable.html#contains(java.lang.Object)">contains</a></code> in class <code><a href="../../AbstractRichIterable.html" title="class in org.eclipse.collections.impl">AbstractRichIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="batchForEach(org.eclipse.collections.api.block.procedure.Procedure,int,int)">batchForEach</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">batchForEach</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> procedure, |
| int sectionIndex, |
| int sectionCount)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../parallel/BatchIterable.html#batchForEach(org.eclipse.collections.api.block.procedure.Procedure,int,int)">batchForEach</a></code> in interface <code><a href="../../parallel/BatchIterable.html" title="interface in org.eclipse.collections.impl.parallel">BatchIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> procedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">RichIterable</a></code></span></div> |
| <div class="block">Executes the Procedure for each element in the iterable and returns <code>this</code>. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| RichIterable<Person> tapped = |
| people.<b>tap</b>(person -> LOGGER.info(person.getName())); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| RichIterable<Person> tapped = |
| people.<b>tap</b>(new Procedure<Person>() |
| { |
| public void value(Person person) |
| { |
| LOGGER.info(person.getName()); |
| } |
| }); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSet.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code> in interface <code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSetIterable.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code> in interface <code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/SetIterable.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code> in interface <code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/UnsortedSetIterable.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code> in interface <code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../api/RichIterable.html#each(org.eclipse.collections.api.block.procedure.Procedure)"><code>RichIterable.each(Procedure)</code></a>, |
| <a href="../../../api/RichIterable.html#forEach(org.eclipse.collections.api.block.procedure.Procedure)"><code>RichIterable.forEach(Procedure)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> procedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#each(org.eclipse.collections.api.block.procedure.Procedure)">RichIterable</a></code></span></div> |
| <div class="block">The procedure is executed for each element in the iterable. |
| <p> |
| Example using a Java 8 lambda expression: |
| <pre> |
| people.each(person -> LOGGER.info(person.getName())); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| people.each(new Procedure<Person>() |
| { |
| public void value(Person person) |
| { |
| LOGGER.info(person.getName()); |
| } |
| }); |
| </pre> |
| This method is a variant of <a href="../../../api/InternalIterable.html#forEach(org.eclipse.collections.api.block.procedure.Procedure)"><code>InternalIterable.forEach(Procedure)</code></a> |
| that has a signature conflict with <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach(java.util.function.Consumer)" title="class or interface in java.lang" class="externalLink"><code>Iterable.forEach(java.util.function.Consumer)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#each(org.eclipse.collections.api.block.procedure.Procedure)">each</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../api/InternalIterable.html#forEach(org.eclipse.collections.api.block.procedure.Procedure)"><code>InternalIterable.forEach(Procedure)</code></a>, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#forEach(java.util.function.Consumer)" title="class or interface in java.lang" class="externalLink"><code>Iterable.forEach(java.util.function.Consumer)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>,​? super P> procedure, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/InternalIterable.html#forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,P)">InternalIterable</a></code></span></div> |
| <div class="block">The procedure2 is evaluated for each element in the iterable with the specified parameter provided |
| as the second argument. |
| <p> |
| Example using a Java 8 lambda: |
| <pre> |
| people.forEachWith((Person person, Person other) -> |
| { |
| if (person.isRelatedTo(other)) |
| { |
| LOGGER.info(person.getName()); |
| } |
| }, fred); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| people.forEachWith(new Procedure2<Person, Person>() |
| { |
| public void value(Person person, Person other) |
| { |
| if (person.isRelatedTo(other)) |
| { |
| LOGGER.info(person.getName()); |
| } |
| } |
| }, fred); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/InternalIterable.html#forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,P)">forEachWith</a></code> in interface <code><a href="../../../api/InternalIterable.html" title="interface in org.eclipse.collections.api">InternalIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../AbstractRichIterable.html#forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,P)">forEachWith</a></code> in class <code><a href="../../AbstractRichIterable.html" title="class in org.eclipse.collections.impl">AbstractRichIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> objectIntProcedure)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/InternalIterable.html#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">InternalIterable</a></code></span></div> |
| <div class="block">Iterates over the iterable passing each element and the current relative int index to the specified instance of |
| ObjectIntProcedure. |
| <p> |
| Example using a Java 8 lambda: |
| <pre> |
| people.forEachWithIndex((Person person, int index) -> LOGGER.info("Index: " + index + " person: " + person.getName())); |
| </pre> |
| <p> |
| Example using an anonymous inner class: |
| <pre> |
| people.forEachWithIndex(new ObjectIntProcedure<Person>() |
| { |
| public void value(Person person, int index) |
| { |
| LOGGER.info("Index: " + index + " person: " + person.getName()); |
| } |
| }); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/InternalIterable.html#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></code> in interface <code><a href="../../../api/InternalIterable.html" title="interface in org.eclipse.collections.api">InternalIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../AbstractRichIterable.html#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></code> in class <code><a href="../../AbstractRichIterable.html" title="class in org.eclipse.collections.impl">AbstractRichIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></span> <span class="memberName">newEmpty</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/collection/MutableCollection.html#newEmpty()">MutableCollection</a></code></span></div> |
| <div class="block">Creates a new empty mutable version of the same collection type. For example, if this instance is a FastList, |
| this method will return a new empty FastList. If the class of this instance is immutable or fixed size (i.e. |
| SingletonList) then a mutable alternative to the class will be provided.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#newEmpty()">newEmpty</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSet.html#newEmpty()">newEmpty</a></code> in interface <code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="newEmpty(int)">newEmpty</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></span> <span class="memberName">newEmpty</span>​(<span class="arguments">int size)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../AbstractUnifiedSet.html#newEmpty(int)">newEmpty</a></code> in class <code><a href="../AbstractUnifiedSet.html" title="class in org.eclipse.collections.impl.set">AbstractUnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getFirst()">getFirst</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a></span> <span class="memberName">getFirst</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#getFirst()">RichIterable</a></code></span></div> |
| <div class="block">Returns the first element of an iterable. In the case of a List it is the element at the first index. In the |
| case of any other Collection, it is the first element that would be returned during an iteration. If the |
| iterable is empty, null is returned. If null is a valid element of the container, then a developer would need to |
| check to see if the iterable is empty to validate that a null result was not due to the container being empty. |
| <p> |
| The order of Sets are not guaranteed (except for TreeSets and other Ordered Set implementations), so if you use |
| this method, the first element could be any element from the Set.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getLast()">getLast</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a></span> <span class="memberName">getLast</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#getLast()">RichIterable</a></code></span></div> |
| <div class="block">Returns the last element of an iterable. In the case of a List it is the element at the last index. In the case |
| of any other Collection, it is the last element that would be returned during an iteration. If the iterable is |
| empty, null is returned. If null is a valid element of the container, then a developer would need to check to |
| see if the iterable is empty to validate that a null result was not due to the container being empty. |
| <p> |
| The order of Sets are not guaranteed (except for TreeSets and other Ordered Set implementations), so if you use |
| this method, the last element could be any element from the Set.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></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="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</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/collection/MutableCollection.html#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSet.html#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></code> in interface <code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSetIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></code> in interface <code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/SetIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></code> in interface <code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/UnsortedSetIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></code> in interface <code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="selectWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType"><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>,​? super P> predicate, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#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/collection/MutableCollection.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSet.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></code> in interface <code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSetIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></code> in interface <code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/SetIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></code> in interface <code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/UnsortedSetIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></code> in interface <code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - a <a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a> to use as the select criteria</dd> |
| <dd><code>parameter</code> - a parameter to pass in for evaluation of the second argument <code>P</code> in <code>predicate</code></dd> |
| <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="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</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/collection/MutableCollection.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSet.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></code> in interface <code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSetIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></code> in interface <code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/SetIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></code> in interface <code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/UnsortedSetIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></code> in interface <code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - a <a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate</code></a> to use as the reject criteria</dd> |
| <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="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>,​? super P> predicate, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#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/collection/MutableCollection.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSet.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a></code> in interface <code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSetIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a></code> in interface <code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/SetIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a></code> in interface <code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/UnsortedSetIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a></code> in interface <code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - a <a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a> to use as the select criteria</dd> |
| <dd><code>parameter</code> - a parameter to pass in for evaluation of the second argument <code>P</code> in <code>predicate</code></dd> |
| <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="selectAndRejectWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="selectAndRejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectAndRejectWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType"><a href="../../../api/tuple/Twin.html" title="interface in org.eclipse.collections.api.tuple">Twin</a><<a href="../../../api/list/MutableList.html" title="interface in org.eclipse.collections.api.list">MutableList</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>>></span> <span class="memberName">selectAndRejectWith</span>​(<span class="arguments"><a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a><? super <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>,​? super P> predicate, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/collection/MutableCollection.html#selectAndRejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">MutableCollection</a></code></span></div> |
| <div class="block">Filters a collection into two separate collections based on a predicate returned via a Pair. |
| |
| <pre>e.g. |
| return lastNames.<b>selectAndRejectWith</b>(Predicates2.lessThan(), "Mason"); |
| </pre></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#selectAndRejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectAndRejectWith</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/mutable/AbstractMutableCollection.html#selectAndRejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectAndRejectWith</a></code> in class <code><a href="../../collection/mutable/AbstractMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractMutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></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/set/PartitionMutableSet.html" title="interface in org.eclipse.collections.api.partition.set">PartitionMutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</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/collection/MutableCollection.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSet.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></code> in interface <code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSetIterable.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></code> in interface <code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/SetIterable.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></code> in interface <code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,java.lang.Object)"> |
| <!-- --> |
| </a><a id="partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><P></span> <span class="returnType"><a href="../../../api/partition/set/PartitionMutableSet.html" title="interface in org.eclipse.collections.api.partition.set">PartitionMutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>,​? super P> predicate, |
| P parameter)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#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/collection/MutableCollection.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSet.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a></code> in interface <code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSetIterable.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a></code> in interface <code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/SetIterable.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a></code> in interface <code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="selectInstancesOf(java.lang.Class)">selectInstancesOf</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><S></span> <span class="returnType"><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</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/collection/MutableCollection.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSet.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></code> in interface <code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSetIterable.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></code> in interface <code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/SetIterable.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></code> in interface <code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/UnsortedSetIterable.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></code> in interface <code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toImmutable()">toImmutable</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/set/ImmutableSet.html" title="interface in org.eclipse.collections.api.set">ImmutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></span> <span class="memberName">toImmutable</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/set/MutableSet.html#toImmutable()">MutableSet</a></code></span></div> |
| <div class="block">Returns an immutable copy of this set. If the set is immutable, it returns itself.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#toImmutable()">toImmutable</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSet.html#toImmutable()">toImmutable</a></code> in interface <code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/SetIterable.html#toImmutable()">toImmutable</a></code> in interface <code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/UnsortedSetIterable.html#toImmutable()">toImmutable</a></code> in interface <code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="with(java.lang.Object)"> |
| <!-- --> |
| </a><a id="with(T)">with</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></span> <span class="memberName">with</span>​(<span class="arguments"><a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> element)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/collection/MutableCollection.html#with(T)">MutableCollection</a></code></span></div> |
| <div class="block">This method allows mutable and fixed size collections the ability to add elements to their existing elements. |
| In order to support fixed size a new instance of a collection would have to be returned taking the elements of |
| the original collection and appending the new element to form the new collection. In the case of mutable |
| collections, the original collection is modified, and is returned. In order to use this method properly with |
| mutable and fixed size collections the following approach must be taken: |
| |
| <pre> |
| MutableCollection<String> list = list.with("1"); |
| list = list.with("2"); |
| return list; |
| </pre> |
| In the case of <a href="../../../api/collection/FixedSizeCollection.html" title="interface in org.eclipse.collections.api.collection"><code>FixedSizeCollection</code></a> a new instance of MutableCollection will be returned by with, and any |
| variables that previously referenced the original collection will need to be redirected to reference the |
| new instance. For other MutableCollection types you will replace the reference to collection with the same |
| collection, since the instance will return "this" after calling add on itself.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#with(T)">with</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSet.html#with(T)">with</a></code> in interface <code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSetIterable.html#with(T)">with</a></code> in interface <code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#add(E)" title="class or interface in java.util" class="externalLink"><code>Collection.add(Object)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="with(java.lang.Object,java.lang.Object)"> |
| <!-- --> |
| </a><a id="with(T,T)">with</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></span> <span class="memberName">with</span>​(<span class="arguments"><a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> element1, |
| <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> element2)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="with(java.lang.Object,java.lang.Object,java.lang.Object)"> |
| <!-- --> |
| </a><a id="with(T,T,T)">with</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></span> <span class="memberName">with</span>​(<span class="arguments"><a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> element1, |
| <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> element2, |
| <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> element3)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="with(java.lang.Object[])"> |
| <!-- --> |
| </a><a id="with(T...)">with</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></span> <span class="memberName">with</span>​(<span class="arguments"><a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>... elements)</span></div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withAll(java.lang.Iterable)">withAll</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></span> <span class="memberName">withAll</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><? extends <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> iterable)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/collection/MutableCollection.html#withAll(java.lang.Iterable)">MutableCollection</a></code></span></div> |
| <div class="block">This method allows mutable and fixed size collections the ability to add multiple elements to their existing |
| elements. In order to support fixed size a new instance of a collection would have to be returned taking the |
| elements of the original collection and appending the new elements to form the new collection. In the case of |
| mutable collections, the original collection is modified, and is returned. In order to use this method properly |
| with mutable and fixed size collections the following approach must be taken: |
| |
| <pre> |
| MutableCollection<String> list = list.withAll(FastList.newListWith("1", "2")); |
| </pre> |
| In the case of <a href="../../../api/collection/FixedSizeCollection.html" title="interface in org.eclipse.collections.api.collection"><code>FixedSizeCollection</code></a> a new instance of MutableCollection will be returned by withAll, and |
| any variables that previously referenced the original collection will need to be redirected to reference the |
| new instance. For other MutableCollection types you will replace the reference to collection with the same |
| collection, since the instance will return "this" after calling addAll on itself.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#withAll(java.lang.Iterable)">withAll</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSet.html#withAll(java.lang.Iterable)">withAll</a></code> in interface <code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSetIterable.html#withAll(java.lang.Iterable)">withAll</a></code> in interface <code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#addAll(java.util.Collection)" title="class or interface in java.util" class="externalLink"><code>Collection.addAll(Collection)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="without(java.lang.Object)"> |
| <!-- --> |
| </a><a id="without(T)">without</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></span> <span class="memberName">without</span>​(<span class="arguments"><a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> element)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/collection/MutableCollection.html#without(T)">MutableCollection</a></code></span></div> |
| <div class="block">This method allows mutable and fixed size collections the ability to remove elements from their existing elements. |
| In order to support fixed size a new instance of a collection would have to be returned containing the elements |
| that would be left from the original collection after calling remove. In the case of mutable collections, the |
| original collection is modified, and is returned. In order to use this method properly with mutable and fixed |
| size collections the following approach must be taken: |
| |
| <pre> |
| MutableCollection<String> list = list.without("1"); |
| list = list.without("2"); |
| return list; |
| </pre> |
| In the case of <a href="../../../api/collection/FixedSizeCollection.html" title="interface in org.eclipse.collections.api.collection"><code>FixedSizeCollection</code></a> a new instance of MutableCollection will be returned by without, and |
| any variables that previously referenced the original collection will need to be redirected to reference the |
| new instance. For other MutableCollection types you will replace the reference to collection with the same |
| collection, since the instance will return "this" after calling remove on itself.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#without(T)">without</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSet.html#without(T)">without</a></code> in interface <code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSetIterable.html#without(T)">without</a></code> in interface <code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util" class="externalLink"><code>Collection.remove(Object)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withoutAll(java.lang.Iterable)">withoutAll</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></span> <span class="memberName">withoutAll</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><? extends <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> elements)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/collection/MutableCollection.html#withoutAll(java.lang.Iterable)">MutableCollection</a></code></span></div> |
| <div class="block">This method allows mutable and fixed size collections the ability to remove multiple elements from their existing |
| elements. In order to support fixed size a new instance of a collection would have to be returned containing the |
| elements that would be left from the original collection after calling removeAll. In the case of mutable |
| collections, the original collection is modified, and is returned. In order to use this method properly with |
| mutable and fixed size collections the following approach must be taken: |
| |
| <pre> |
| MutableCollection<String> list = list.withoutAll(FastList.newListWith("1", "2")); |
| </pre> |
| In the case of <a href="../../../api/collection/FixedSizeCollection.html" title="interface in org.eclipse.collections.api.collection"><code>FixedSizeCollection</code></a> a new instance of MutableCollection will be returned by withoutAll, |
| and any variables that previously referenced the original collection will need to be redirected to reference the |
| new instance. For other MutableCollection types you will replace the reference to collection with the same |
| collection, since the instance will return "this" after calling removeAll on itself.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#withoutAll(java.lang.Iterable)">withoutAll</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSet.html#withoutAll(java.lang.Iterable)">withoutAll</a></code> in interface <code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSetIterable.html#withoutAll(java.lang.Iterable)">withoutAll</a></code> in interface <code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#removeAll(java.util.Collection)" title="class or interface in java.util" class="externalLink"><code>Collection.removeAll(Collection)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="addAllIterable(java.lang.Iterable)">addAllIterable</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">addAllIterable</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><? extends <a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>> iterable)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#addAllIterable(java.lang.Iterable)">addAllIterable</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/mutable/AbstractMutableCollection.html#addAllIterable(java.lang.Iterable)">addAllIterable</a></code> in class <code><a href="../../collection/mutable/AbstractMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractMutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#addAll(java.util.Collection)" title="class or interface in java.util" class="externalLink"><code>Collection.addAll(Collection)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="remove(java.lang.Object)">remove</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">remove</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> 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/Collection.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util" class="externalLink">remove</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.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/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/mutable/AbstractMutableCollection.html#remove(java.lang.Object)">remove</a></code> in class <code><a href="../../collection/mutable/AbstractMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractMutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="size()">size</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">int</span> <span class="memberName">size</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#size()">RichIterable</a></code></span></div> |
| <div class="block">Returns the number of items in this iterable.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../parallel/BatchIterable.html#size()">size</a></code> in interface <code><a href="../../parallel/BatchIterable.html" title="interface in org.eclipse.collections.impl.parallel">BatchIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#size()" title="class or interface in java.util" class="externalLink">size</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/Pool.html#size()">size</a></code> in interface <code><a href="../../../api/set/Pool.html" title="interface in org.eclipse.collections.api.set">Pool</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#size()">size</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.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/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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> object)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/set/SetIterable.html#equals(java.lang.Object)">SetIterable</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/Set.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util" class="externalLink"><code>Set.equals(Object)</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util" class="externalLink">equals</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.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/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/SetIterable.html#equals(java.lang.Object)">equals</a></code> in interface <code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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/set/SetIterable.html#hashCode()">SetIterable</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/Set.html?is-external=true#hashCode()" title="class or interface in java.util" class="externalLink"><code>Set.hashCode()</code></a>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#hashCode()" title="class or interface in java.util" class="externalLink">hashCode</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.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/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/SetIterable.html#hashCode()">hashCode</a></code> in interface <code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="trimToSize()">trimToSize</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">trimToSize</span>()</div> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="readExternal(java.io.ObjectInput)">readExternal</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">readExternal</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/io/ObjectInput.html?is-external=true" title="class or interface in java.io" class="externalLink">ObjectInput</a> in)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a>, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang" class="externalLink">ClassNotFoundException</a></span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true#readExternal(java.io.ObjectInput)" title="class or interface in java.io" class="externalLink">readExternal</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io" class="externalLink">Externalizable</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code></dd> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang" class="externalLink">ClassNotFoundException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="writeExternal(java.io.ObjectOutput)">writeExternal</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">void</span> <span class="memberName">writeExternal</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/io/ObjectOutput.html?is-external=true" title="class or interface in java.io" class="externalLink">ObjectOutput</a> out)</span> |
| throws <span class="exceptions"><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true#writeExternal(java.io.ObjectOutput)" title="class or interface in java.io" class="externalLink">writeExternal</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Externalizable.html?is-external=true" title="class or interface in java.io" class="externalLink">Externalizable</a></code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io" class="externalLink">IOException</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="retainAllIterable(java.lang.Iterable)">retainAllIterable</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType">boolean</span> <span class="memberName">retainAllIterable</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><?> iterable)</span></div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/collection/MutableCollection.html#retainAllIterable(java.lang.Iterable)">retainAllIterable</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../collection/mutable/AbstractMutableCollection.html#retainAllIterable(java.lang.Iterable)">retainAllIterable</a></code> in class <code><a href="../../collection/mutable/AbstractMutableCollection.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractMutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#retainAll(java.util.Collection)" title="class or interface in java.util" class="externalLink"><code>Collection.retainAll(Collection)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="clone()">clone</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnifiedSet.html" title="class in org.eclipse.collections.impl.set.mutable">UnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></span> <span class="memberName">clone</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSet.html#clone()">clone</a></code> in interface <code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../AbstractUnifiedSet.html#clone()">clone</a></code> in class <code><a href="../AbstractUnifiedSet.html" title="class in org.eclipse.collections.impl.set">AbstractUnifiedSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toArray()">toArray</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>[]</span> <span class="memberName">toArray</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#toArray()">RichIterable</a></code></span></div> |
| <div class="block">Converts this iterable to an array.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#toArray()" title="class or interface in java.util" class="externalLink">toArray</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#toArray()">toArray</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true#toArray()" title="class or interface in java.util" class="externalLink">toArray</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../AbstractRichIterable.html#toArray()">toArray</a></code> in class <code><a href="../../AbstractRichIterable.html" title="class in org.eclipse.collections.impl">AbstractRichIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#toArray()" title="class or interface in java.util" class="externalLink"><code>Collection.toArray()</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="toArray(java.lang.Object[])"> |
| <!-- --> |
| </a><a id="toArray(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[] array)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/RichIterable.html#toArray(E%5B%5D)">RichIterable</a></code></span></div> |
| <div class="block">Converts this iterable to an array using the specified target array, assuming the target array is as long |
| or longer than the iterable.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#toArray(T%5B%5D)" title="class or interface in java.util" class="externalLink">toArray</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/RichIterable.html#toArray(E%5B%5D)">toArray</a></code> in interface <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true#toArray(T%5B%5D)" title="class or interface in java.util" class="externalLink">toArray</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="../../AbstractRichIterable.html#toArray(E%5B%5D)">toArray</a></code> in class <code><a href="../../AbstractRichIterable.html" title="class in org.eclipse.collections.impl">AbstractRichIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#toArray(T%5B%5D)" title="class or interface in java.util" class="externalLink"><code>Collection.toArray(Object[])</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></span> <span class="memberName">iterator</span>()</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#iterator()" title="class or interface in java.util" class="externalLink">iterator</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true#iterator()" title="class or interface in java.lang" class="externalLink">iterator</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true#iterator()" title="class or interface in java.util" class="externalLink">iterator</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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"><V></span> <span class="returnType"><a href="../../multimap/set/UnifiedSetMultimap.html" title="class in org.eclipse.collections.impl.multimap.set">UnifiedSetMultimap</a><V,​<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>,​? extends V> 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/collection/MutableCollection.html#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSet.html#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></code> in interface <code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSetIterable.html#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></code> in interface <code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/UnsortedSetIterable.html#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></code> in interface <code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="typeParameters"><V></span> <span class="returnType"><a href="../../multimap/set/UnifiedSetMultimap.html" title="class in org.eclipse.collections.impl.multimap.set">UnifiedSetMultimap</a><V,​<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>,​? extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><V>> function)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/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/collection/MutableCollection.html#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></code> in interface <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSet.html#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></code> in interface <code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/MutableSetIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></code> in interface <code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</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="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/UnsortedSetIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></code> in interface <code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="get(java.lang.Object)"> |
| <!-- --> |
| </a><a id="get(T)">get</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a></span> <span class="memberName">get</span>​(<span class="arguments"><a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> key)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/set/Pool.html#get(V)">Pool</a></code></span></div> |
| <div class="block">Locates an object in the pool which is equal to <code>key</code>.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/Pool.html#get(V)">get</a></code> in interface <code><a href="../../../api/set/Pool.html" title="interface in org.eclipse.collections.api.set">Pool</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the value to look for</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The object reference in the pool equal to key or null.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="put(java.lang.Object)"> |
| <!-- --> |
| </a><a id="put(T)">put</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a></span> <span class="memberName">put</span>​(<span class="arguments"><a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> key)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/set/Pool.html#put(V)">Pool</a></code></span></div> |
| <div class="block">Puts <code>key</code> into the pool. If there is no existing object that is equal |
| to key, key will be added to the pool and the return value will be the same instance. |
| If there is an existing object in the pool that is equal to <code>key</code>, the pool will remain unchanged |
| and the pooled instance will be is returned.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/Pool.html#put(V)">put</a></code> in interface <code><a href="../../../api/set/Pool.html" title="interface in org.eclipse.collections.api.set">Pool</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the value to add if not in the pool</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the object reference in the pool equal to key (either key itself or the existing reference)</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="removeFromPool(java.lang.Object)"> |
| <!-- --> |
| </a><a id="removeFromPool(T)">removeFromPool</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a></span> <span class="memberName">removeFromPool</span>​(<span class="arguments"><a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a> key)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/set/Pool.html#removeFromPool(V)">Pool</a></code></span></div> |
| <div class="block">Locates an object in the pool which is equal to <code>key</code> and removes it.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/Pool.html#removeFromPool(V)">removeFromPool</a></code> in interface <code><a href="../../../api/set/Pool.html" title="interface in org.eclipse.collections.api.set">Pool</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - object to remove</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The object reference in the pool equal to key or null.</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="asParallel(java.util.concurrent.ExecutorService,int)">asParallel</a></h3> |
| <div class="memberSignature"><span class="modifiers">public</span> <span class="returnType"><a href="../../../api/set/ParallelUnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">ParallelUnsortedSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></span> <span class="memberName">asParallel</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">ExecutorService</a> executorService, |
| int batchSize)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="../../../api/set/SetIterable.html#asParallel(java.util.concurrent.ExecutorService,int)">SetIterable</a></code></span></div> |
| <div class="block">Returns a parallel iterable of this SetIterable.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/SetIterable.html#asParallel(java.util.concurrent.ExecutorService,int)">asParallel</a></code> in interface <code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../api/set/UnsortedSetIterable.html#asParallel(java.util.concurrent.ExecutorService,int)">asParallel</a></code> in interface <code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a><<a href="UnifiedSet.html" title="type parameter in UnifiedSet">T</a>></code></dd> |
| </dl> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </section> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| </main> |
| <footer role="contentinfo"> |
| <nav role="navigation"> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a id="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a id="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../index.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="class-use/UnifiedSet.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2004–2020. All rights reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |