blob: b877a7ae5b804e6a20043f519af98903d61734ac [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (14.0.2) on Thu Aug 20 21:25:36 CDT 2020 -->
<title>SetAdapter (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: SetAdapter">
<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":9,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":42,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":42,"i54":42};
var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../../../";
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="flexBox">
<header role="banner" class="flexHeader">
<nav role="navigation">
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!-- -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../../index.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/SetAdapter.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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</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>&nbsp;<a href="package-summary.html">org.eclipse.collections.impl.set.mutable</a></div>
<h1 title="Class SetAdapter" class="title">Class SetAdapter&lt;T&gt;</h1>
</div>
<div class="contentContainer">
<div class="inheritance" title="Inheritance Tree"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a>
<div class="inheritance"><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">org.eclipse.collections.impl.collection.mutable.AbstractCollectionAdapter</a>&lt;T&gt;
<div class="inheritance">org.eclipse.collections.impl.set.mutable.SetAdapter&lt;T&gt;</div>
</div>
</div>
<section class="description">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Cloneable</a></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a>&lt;T&gt;</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>&lt;T&gt;</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>&lt;T&gt;</code>, <code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;T&gt;</code>, <code><a href="../../../api/InternalIterable.html" title="interface in org.eclipse.collections.api">InternalIterable</a>&lt;T&gt;</code>, <code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;T&gt;</code>, <code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;T&gt;</code>, <code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;T&gt;</code>, <code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;T&gt;</code>, <code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;T&gt;</code></dd>
</dl>
<hr>
<pre>public final class <span class="typeNameLabel">SetAdapter&lt;T&gt;</span>
extends <a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;T&gt;
implements <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>, <a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;T&gt;</pre>
<div class="block">This class provides a MutableSet wrapper around a JDK Collections Set interface instance. All of the MutableSet
interface methods are supported in addition to the JDK Set interface methods.
<p>
To create a new wrapper around an existing Set instance, use the <a href="#adapt(java.util.Set)"><code>adapt(Set)</code></a> factory method.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../../../serialized-form.html#org.eclipse.collections.impl.set.mutable.SetAdapter">Serialized Form</a></dd>
</dl>
</section>
<section class="summary">
<ul class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<li class="blockList">
<section class="methodSummary"><a id="method.summary">
<!-- -->
</a>
<h2>Method Summary</h2>
<div class="memberSummary">
<div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t1" class="tableTab" onclick="show(1);">Static Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t4" class="tableTab" onclick="show(8);">Concrete Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t6" class="tableTab" onclick="show(32);">Deprecated Methods</button></div>
<div id="memberSummary_tabpanel" role="tabpanel">
<table aria-labelledby="t0">
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor" id="i0">
<td class="colFirst"><code>static &lt;E&gt;&nbsp;<a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;E&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#adapt(java.util.Set)">adapt</a></span>&#8203;(<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>&lt;E&gt;&nbsp;set)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code><a href="../../../api/set/ParallelUnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">ParallelUnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asParallel(java.util.concurrent.ExecutorService,int)">asParallel</a></span>&#8203;(<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>&nbsp;executorService,
int&nbsp;batchSize)</code></th>
<td class="colLast">
<div class="block">Returns a parallel iterable of this SetIterable.</div>
</td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asSynchronized()">asSynchronized</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a synchronized wrapper backed by this collection.</div>
</td>
</tr>
<tr class="rowColor" id="i3">
<td class="colFirst"><code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asUnmodifiable()">asUnmodifiable</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns an unmodifiable view of the set.</div>
</td>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><code>&lt;B&gt;&nbsp;<a href="../../../api/LazyIterable.html" title="interface in org.eclipse.collections.api">LazyIterable</a>&lt;<a href="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;B&gt;&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#cartesianProduct(org.eclipse.collections.api.set.SetIterable)">cartesianProduct</a></span>&#8203;(<a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;B&gt;&nbsp;set)</code></th>
<td class="colLast">
<div class="block">Returns the set whose members are all possible ordered pairs (a, b) where a is a member of <code>this</code> and b is a
member of <code>set</code>.</div>
</td>
</tr>
<tr class="rowColor" id="i5">
<td class="colFirst"><code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clone()">clone</a></span>()</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i6">
<td class="colFirst"><code>&lt;V&gt;&nbsp;<a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;V&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collect(org.eclipse.collections.api.block.function.Function)">collect</a></span>&#8203;(<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;? extends V&gt;&nbsp;function)</code></th>
<td class="colLast">
<div class="block">Returns a new MutableCollection with the results of applying the specified function to each element of the source
collection.</div>
</td>
</tr>
<tr class="rowColor" id="i7">
<td class="colFirst"><code><a href="../../../api/set/primitive/MutableBooleanSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableBooleanSet</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a></span>&#8203;(<a href="../../../api/block/function/primitive/BooleanFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">BooleanFunction</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;booleanFunction)</code></th>
<td class="colLast">
<div class="block">Returns a new primitive <code>boolean</code> iterable with the results of applying the specified function on each element
of the source collection.</div>
</td>
</tr>
<tr class="altColor" id="i8">
<td class="colFirst"><code><a href="../../../api/set/primitive/MutableByteSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableByteSet</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a></span>&#8203;(<a href="../../../api/block/function/primitive/ByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteFunction</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;byteFunction)</code></th>
<td class="colLast">
<div class="block">Returns a new primitive <code>byte</code> iterable with the results of applying the specified function on each element
of the source collection.</div>
</td>
</tr>
<tr class="rowColor" id="i9">
<td class="colFirst"><code><a href="../../../api/set/primitive/MutableCharSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableCharSet</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a></span>&#8203;(<a href="../../../api/block/function/primitive/CharFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">CharFunction</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;charFunction)</code></th>
<td class="colLast">
<div class="block">Returns a new primitive <code>char</code> iterable with the results of applying the specified function on each element
of the source collection.</div>
</td>
</tr>
<tr class="altColor" id="i10">
<td class="colFirst"><code><a href="../../../api/set/primitive/MutableDoubleSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableDoubleSet</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a></span>&#8203;(<a href="../../../api/block/function/primitive/DoubleFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">DoubleFunction</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;doubleFunction)</code></th>
<td class="colLast">
<div class="block">Returns a new primitive <code>double</code> iterable with the results of applying the specified function on each element
of the source collection.</div>
</td>
</tr>
<tr class="rowColor" id="i11">
<td class="colFirst"><code><a href="../../../api/set/primitive/MutableFloatSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableFloatSet</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a></span>&#8203;(<a href="../../../api/block/function/primitive/FloatFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">FloatFunction</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;floatFunction)</code></th>
<td class="colLast">
<div class="block">Returns a new primitive <code>float</code> iterable with the results of applying the specified function on each element
of the source collection.</div>
</td>
</tr>
<tr class="altColor" id="i12">
<td class="colFirst"><code>&lt;V&gt;&nbsp;<a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;V&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)">collectIf</a></span>&#8203;(<a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;predicate,
<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;? extends V&gt;&nbsp;function)</code></th>
<td class="colLast">
<div class="block">Returns a new MutableCollection with the results of applying the specified function to each element of the source
collection, but only for elements that evaluate to true for the specified predicate.</div>
</td>
</tr>
<tr class="rowColor" id="i13">
<td class="colFirst"><code><a href="../../../api/set/primitive/MutableIntSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableIntSet</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a></span>&#8203;(<a href="../../../api/block/function/primitive/IntFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntFunction</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;intFunction)</code></th>
<td class="colLast">
<div class="block">Returns a new primitive <code>int</code> iterable with the results of applying the specified function on each element
of the source collection.</div>
</td>
</tr>
<tr class="altColor" id="i14">
<td class="colFirst"><code><a href="../../../api/set/primitive/MutableLongSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableLongSet</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a></span>&#8203;(<a href="../../../api/block/function/primitive/LongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongFunction</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;longFunction)</code></th>
<td class="colLast">
<div class="block">Returns a new primitive <code>long</code> iterable with the results of applying the specified function on each element
of the source collection.</div>
</td>
</tr>
<tr class="rowColor" id="i15">
<td class="colFirst"><code><a href="../../../api/set/primitive/MutableShortSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableShortSet</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a></span>&#8203;(<a href="../../../api/block/function/primitive/ShortFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ShortFunction</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;shortFunction)</code></th>
<td class="colLast">
<div class="block">Returns a new primitive <code>short</code> iterable with the results of applying the specified function on each element
of the source collection.</div>
</td>
</tr>
<tr class="altColor" id="i16">
<td class="colFirst"><code>&lt;P,&#8203;
V&gt;&nbsp;<a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;V&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></span>&#8203;(<a href="../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;? super P,&#8203;? extends V&gt;&nbsp;function,
P&nbsp;parameter)</code></th>
<td class="colLast">
<div class="block">Same as <a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a> with a <code>Function2</code> and specified parameter which is passed to the block.</div>
</td>
</tr>
<tr class="rowColor" id="i17">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#contains(java.lang.Object)">contains</a></span>&#8203;(<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>&nbsp;o)</code></th>
<td class="colLast">
<div class="block">Returns true if the iterable has an element which responds true to element.equals(object).</div>
</td>
</tr>
<tr class="altColor" id="i18">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#containsAll(java.util.Collection)">containsAll</a></span>&#8203;(<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>&lt;?&gt;&nbsp;collection)</code></th>
<td class="colLast">
<div class="block">Returns true if all elements in source are contained in this collection.</div>
</td>
</tr>
<tr class="rowColor" id="i19">
<td class="colFirst"><code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#difference(org.eclipse.collections.api.set.SetIterable)">difference</a></span>&#8203;(<a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;subtrahendSet)</code></th>
<td class="colLast">
<div class="block">Returns the set of all members of <code>this</code> that are not members of <code>subtrahendSet</code>.</div>
</td>
</tr>
<tr class="altColor" id="i20">
<td class="colFirst"><code>&lt;R extends <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>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&gt;<br>R</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#differenceInto(org.eclipse.collections.api.set.SetIterable,R)">differenceInto</a></span>&#8203;(<a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;subtrahendSet,
R&nbsp;targetSet)</code></th>
<td class="colLast">
<div class="block">Same as <a href="../../../api/set/SetIterable.html#difference(org.eclipse.collections.api.set.SetIterable)"><code>SetIterable.difference(SetIterable)</code></a> but adds all the objects to <code>targetSet</code> and returns it.</div>
</td>
</tr>
<tr class="rowColor" id="i21">
<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>&#8203;(<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>&nbsp;obj)</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="altColor" id="i22">
<td class="colFirst"><code>&lt;V&gt;&nbsp;<a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;V&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></span>&#8203;(<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;? 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>&lt;V&gt;&gt;&nbsp;function)</code></th>
<td class="colLast">
<div class="block"><code>flatCollect</code> is a special case of <a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a>.</div>
</td>
</tr>
<tr class="rowColor" id="i23">
<td class="colFirst"><code>&lt;V&gt;&nbsp;<a href="../../multimap/set/UnifiedSetMultimap.html" title="class in org.eclipse.collections.impl.multimap.set">UnifiedSetMultimap</a>&lt;V,&#8203;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></span>&#8203;(<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;? extends V&gt;&nbsp;function)</code></th>
<td class="colLast">
<div class="block">For each element of the iterable, the function is evaluated and the results of these evaluations are collected
into a new multimap, where the transformed value is the key and the original values are added to the same (or similar)
species of collection as the source iterable.</div>
</td>
</tr>
<tr class="altColor" id="i24">
<td class="colFirst"><code>&lt;V&gt;&nbsp;<a href="../../multimap/set/UnifiedSetMultimap.html" title="class in org.eclipse.collections.impl.multimap.set">UnifiedSetMultimap</a>&lt;V,&#8203;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></span>&#8203;(<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;? 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>&lt;V&gt;&gt;&nbsp;function)</code></th>
<td class="colLast">
<div class="block">Similar to <a href="../../../api/RichIterable.html#groupBy(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.groupBy(Function)</code></a>, except the result of evaluating function will return a collection of keys
for each value.</div>
</td>
</tr>
<tr class="rowColor" id="i25">
<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="altColor" id="i26">
<td class="colFirst"><code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#intersect(org.eclipse.collections.api.set.SetIterable)">intersect</a></span>&#8203;(<a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;set)</code></th>
<td class="colLast">
<div class="block">Returns the set of all objects that are members of both <code>this</code> and <code>set</code>.</div>
</td>
</tr>
<tr class="rowColor" id="i27">
<td class="colFirst"><code>&lt;R extends <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>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&gt;<br>R</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#intersectInto(org.eclipse.collections.api.set.SetIterable,R)">intersectInto</a></span>&#8203;(<a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;set,
R&nbsp;targetSet)</code></th>
<td class="colLast">
<div class="block">Same as <a href="../../../api/set/SetIterable.html#intersect(org.eclipse.collections.api.set.SetIterable)"><code>SetIterable.intersect(SetIterable)</code></a> but adds all the objects to <code>targetSet</code> and returns it.</div>
</td>
</tr>
<tr class="altColor" id="i28">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isProperSubsetOf(org.eclipse.collections.api.set.SetIterable)">isProperSubsetOf</a></span>&#8203;(<a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;candidateSuperset)</code></th>
<td class="colLast">
<div class="block">Returns true if all the members of <code>this</code> are also members of <code>candidateSuperset</code> and the
two sets are not equal.</div>
</td>
</tr>
<tr class="rowColor" id="i29">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isSubsetOf(org.eclipse.collections.api.set.SetIterable)">isSubsetOf</a></span>&#8203;(<a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;candidateSuperset)</code></th>
<td class="colLast">
<div class="block">Returns true if all the members of <code>this</code> are also members of <code>candidateSuperset</code>.</div>
</td>
</tr>
<tr class="altColor" id="i30">
<td class="colFirst"><code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="UnifiedSet.html#newSet()"><code>UnifiedSet.newSet()</code></a> instead (inlineable)</div>
</div>
</td>
</tr>
<tr class="rowColor" id="i31">
<td class="colFirst"><code><a href="../../../api/partition/set/PartitionMutableSet.html" title="interface in org.eclipse.collections.api.partition.set">PartitionMutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></span>&#8203;(<a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;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="i32">
<td class="colFirst"><code>&lt;P&gt;&nbsp;<a href="../../../api/partition/set/PartitionMutableSet.html" title="interface in org.eclipse.collections.api.partition.set">PartitionMutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&#8203;(<a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;? super P&gt;&nbsp;predicate,
P&nbsp;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="i33">
<td class="colFirst"><code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#powerSet()">powerSet</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns the set whose members are all possible subsets of <code>this</code>.</div>
</td>
</tr>
<tr class="altColor" id="i34">
<td class="colFirst"><code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></span>&#8203;(<a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;predicate)</code></th>
<td class="colLast">
<div class="block">Returns a MutableCollection with all elements that evaluate to false for the specified predicate.</div>
</td>
</tr>
<tr class="rowColor" id="i35">
<td class="colFirst"><code>&lt;P&gt;&nbsp;<a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&#8203;(<a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;? super P&gt;&nbsp;predicate,
P&nbsp;parameter)</code></th>
<td class="colLast">
<div class="block">Returns a MutableCollection with all elements that evaluate to false for the specified predicate2 and parameter.</div>
</td>
</tr>
<tr class="altColor" id="i36">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeAllIterable(java.lang.Iterable)">removeAllIterable</a></span>&#8203;(<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>&lt;?&gt;&nbsp;iterable)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i37">
<td class="colFirst"><code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></span>&#8203;(<a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;predicate)</code></th>
<td class="colLast">
<div class="block">Returns a MutableCollection with all elements that evaluate to true for the specified predicate.</div>
</td>
</tr>
<tr class="altColor" id="i38">
<td class="colFirst"><code>&lt;S&gt;&nbsp;<a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;S&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></span>&#8203;(<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>&lt;S&gt;&nbsp;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="i39">
<td class="colFirst"><code>&lt;P&gt;&nbsp;<a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&#8203;(<a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;? super P&gt;&nbsp;predicate,
P&nbsp;parameter)</code></th>
<td class="colLast">
<div class="block">Returns a MutableCollection with all elements that evaluate to true for the specified predicate2 and parameter.</div>
</td>
</tr>
<tr class="altColor" id="i40">
<td class="colFirst"><code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#symmetricDifference(org.eclipse.collections.api.set.SetIterable)">symmetricDifference</a></span>&#8203;(<a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;setB)</code></th>
<td class="colLast">
<div class="block">Returns the set of all objects that are a member of exactly one of <code>this</code> and <code>setB</code> (elements which
are in one of the sets, but not in both).</div>
</td>
</tr>
<tr class="rowColor" id="i41">
<td class="colFirst"><code>&lt;R extends <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>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&gt;<br>R</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#symmetricDifferenceInto(org.eclipse.collections.api.set.SetIterable,R)">symmetricDifferenceInto</a></span>&#8203;(<a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;set,
R&nbsp;targetSet)</code></th>
<td class="colLast">
<div class="block">Same as <a href="../../../api/set/SetIterable.html#symmetricDifference(org.eclipse.collections.api.set.SetIterable)"><code>SetIterable.symmetricDifference(SetIterable)</code></a> but adds all the objects to <code>targetSet</code> and returns it.</div>
</td>
</tr>
<tr class="altColor" id="i42">
<td class="colFirst"><code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></span>&#8203;(<a href="../../../api/block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;procedure)</code></th>
<td class="colLast">
<div class="block">Executes the Procedure for each element in the iterable and returns <code>this</code>.</div>
</td>
</tr>
<tr class="rowColor" id="i43">
<td class="colFirst"><code><a href="../../../api/set/ImmutableSet.html" title="interface in org.eclipse.collections.api.set">ImmutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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="altColor" id="i44">
<td class="colFirst"><code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#union(org.eclipse.collections.api.set.SetIterable)">union</a></span>&#8203;(<a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;set)</code></th>
<td class="colLast">
<div class="block">Returns the set of all objects that are a member of <code>this</code> or <code>set</code> or both.</div>
</td>
</tr>
<tr class="rowColor" id="i45">
<td class="colFirst"><code>&lt;R extends <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>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&gt;<br>R</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#unionInto(org.eclipse.collections.api.set.SetIterable,R)">unionInto</a></span>&#8203;(<a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;set,
R&nbsp;targetSet)</code></th>
<td class="colLast">
<div class="block">Same as <a href="../../../api/set/SetIterable.html#union(org.eclipse.collections.api.set.SetIterable)"><code>SetIterable.union(SetIterable)</code></a> but adds all the objects to <code>targetSet</code> and returns it.</div>
</td>
</tr>
<tr class="altColor" id="i46">
<td class="colFirst"><code><a href="SetAdapter.html" title="class in org.eclipse.collections.impl.set.mutable">SetAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#with(T)">with</a></span>&#8203;(<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&nbsp;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="i47">
<td class="colFirst"><code><a href="SetAdapter.html" title="class in org.eclipse.collections.impl.set.mutable">SetAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#with(T...)">with</a></span>&#8203;(<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>...&nbsp;elements)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i48">
<td class="colFirst"><code><a href="SetAdapter.html" title="class in org.eclipse.collections.impl.set.mutable">SetAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#with(T,T)">with</a></span>&#8203;(<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&nbsp;element1,
<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&nbsp;element2)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="rowColor" id="i49">
<td class="colFirst"><code><a href="SetAdapter.html" title="class in org.eclipse.collections.impl.set.mutable">SetAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#with(T,T,T)">with</a></span>&#8203;(<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&nbsp;element1,
<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&nbsp;element2,
<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&nbsp;element3)</code></th>
<td class="colLast">&nbsp;</td>
</tr>
<tr class="altColor" id="i50">
<td class="colFirst"><code><a href="SetAdapter.html" title="class in org.eclipse.collections.impl.set.mutable">SetAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withAll(java.lang.Iterable)">withAll</a></span>&#8203;(<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>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;elements)</code></th>
<td class="colLast">
<div class="block">This method allows mutable and fixed size collections the ability to add multiple elements to their existing
elements.</div>
</td>
</tr>
<tr class="rowColor" id="i51">
<td class="colFirst"><code><a href="SetAdapter.html" title="class in org.eclipse.collections.impl.set.mutable">SetAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#without(T)">without</a></span>&#8203;(<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&nbsp;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="i52">
<td class="colFirst"><code><a href="SetAdapter.html" title="class in org.eclipse.collections.impl.set.mutable">SetAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withoutAll(java.lang.Iterable)">withoutAll</a></span>&#8203;(<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>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;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="i53">
<td class="colFirst"><code>&lt;S&gt;&nbsp;<a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;S&gt;&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#zip(java.lang.Iterable)">zip</a></span>&#8203;(<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>&lt;S&gt;&nbsp;that)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">in 6.0.</div>
</div>
</td>
</tr>
<tr class="altColor" id="i54">
<td class="colFirst"><code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>&gt;&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#zipWithIndex()">zipWithIndex</a></span>()</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">in 6.0.</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="inheritedList">
<h3>Methods inherited from class&nbsp;org.eclipse.collections.impl.collection.mutable.<a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a></h3>
<a id="methods.inherited.from.class.org.eclipse.collections.impl.collection.mutable.AbstractCollectionAdapter">
<!-- -->
</a><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#add(T)">add</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#addAll(java.util.Collection)">addAll</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#addAllIterable(java.lang.Iterable)">addAllIterable</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.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/AbstractCollectionAdapter.html#allSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">allSatisfy</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">allSatisfyWith</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#anySatisfy(org.eclipse.collections.api.block.predicate.Predicate)">anySatisfy</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">anySatisfyWith</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#asLazy()">asLazy</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#chunk(int)">chunk</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#clear()">clear</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#collect(org.eclipse.collections.api.block.function.Function,R)">collect</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction,R)">collectBoolean</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction,R)">collectByte</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction,R)">collectChar</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction,R)">collectDouble</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction,R)">collectFloat</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function,R)">collectIf</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction,R)">collectInt</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction,R)">collectLong</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction,R)">collectShort</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#collectWith(org.eclipse.collections.api.block.function.Function2,P,R)">collectWith</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#containsAllArguments(java.lang.Object...)">containsAllArguments</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#containsAllIterable(java.lang.Iterable)">containsAllIterable</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#count(org.eclipse.collections.api.block.predicate.Predicate)">count</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#countWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">countWith</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#detect(org.eclipse.collections.api.block.predicate.Predicate)">detect</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#detectIfNone(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function0)">detectIfNone</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#detectOptional(org.eclipse.collections.api.block.predicate.Predicate)">detectOptional</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#detectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWith</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#detectWithIfNone(org.eclipse.collections.api.block.predicate.Predicate2,P,org.eclipse.collections.api.block.function.Function0)">detectWithIfNone</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#detectWithOptional(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWithOptional</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#each(org.eclipse.collections.api.block.procedure.Procedure)">each</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#flatCollect(org.eclipse.collections.api.block.function.Function,R)">flatCollect</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,P)">forEachWith</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#getFirst()">getFirst</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#getLast()">getLast</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#getOnly()">getOnly</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#groupBy(org.eclipse.collections.api.block.function.Function,R)">groupBy</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#groupByEach(org.eclipse.collections.api.block.function.Function,R)">groupByEach</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function)">groupByUniqueKey</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function,R)">groupByUniqueKey</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#injectInto(double,org.eclipse.collections.api.block.function.primitive.DoubleObjectToDoubleFunction)">injectInto</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#injectInto(float,org.eclipse.collections.api.block.function.primitive.FloatObjectToFloatFunction)">injectInto</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#injectInto(int,org.eclipse.collections.api.block.function.primitive.IntObjectToIntFunction)">injectInto</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#injectInto(long,org.eclipse.collections.api.block.function.primitive.LongObjectToLongFunction)">injectInto</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#injectInto(IV,org.eclipse.collections.api.block.function.Function2)">injectInto</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#injectIntoWith(IV,org.eclipse.collections.api.block.function.Function3,P)">injectIntoWith</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#into(R)">into</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#isEmpty()">isEmpty</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#iterator()">iterator</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#max()">max</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#max(java.util.Comparator)">max</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#maxBy(org.eclipse.collections.api.block.function.Function)">maxBy</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#min()">min</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#min(java.util.Comparator)">min</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#minBy(org.eclipse.collections.api.block.function.Function)">minBy</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">noneSatisfy</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">noneSatisfyWith</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#notEmpty()">notEmpty</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#reject(org.eclipse.collections.api.block.predicate.Predicate,R)">reject</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">rejectWith</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#remove(java.lang.Object)">remove</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#removeAll(java.util.Collection)">removeAll</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#removeIf(org.eclipse.collections.api.block.predicate.Predicate)">removeIf</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#removeIfWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">removeIfWith</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#retainAll(java.util.Collection)">retainAll</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#retainAllIterable(java.lang.Iterable)">retainAllIterable</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#select(org.eclipse.collections.api.block.predicate.Predicate,R)">select</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#selectAndRejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectAndRejectWith</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">selectWith</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#size()">size</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#sumByDouble(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumByDouble</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#sumByFloat(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumByFloat</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#sumByInt(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.IntFunction)">sumByInt</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#sumByLong(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.LongFunction)">sumByLong</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#sumOfDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumOfDouble</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#sumOfFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumOfFloat</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#sumOfInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">sumOfInt</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#sumOfLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">sumOfLong</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toArray()">toArray</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toArray(E%5B%5D)">toArray</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toBag()">toBag</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toBiMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toBiMap</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toList()">toList</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toMap</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">toMap</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toSet()">toSet</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toSortedBag()">toSortedBag</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toSortedBag(java.util.Comparator)">toSortedBag</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toSortedBagBy(org.eclipse.collections.api.block.function.Function)">toSortedBagBy</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toSortedList(java.util.Comparator)">toSortedList</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toSortedListBy(org.eclipse.collections.api.block.function.Function)">toSortedListBy</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toSortedMap(java.util.Comparator,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toSortedMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toSortedMapBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMapBy</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toSortedSet()">toSortedSet</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toSortedSet(java.util.Comparator)">toSortedSet</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toSortedSetBy(org.eclipse.collections.api.block.function.Function)">toSortedSetBy</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#toString()">toString</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#zip(java.lang.Iterable,R)">zip</a>, <a href="../../collection/mutable/AbstractCollectionAdapter.html#zipWithIndex(R)">zipWithIndex</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from class&nbsp;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&nbsp;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&nbsp;org.eclipse.collections.api.<a href="../../../api/InternalIterable.html" title="interface in org.eclipse.collections.api">InternalIterable</a></h3>
<a id="methods.inherited.from.class.org.eclipse.collections.api.InternalIterable">
<!-- -->
</a><code><a href="../../../api/InternalIterable.html#forEach(java.util.function.Consumer)">forEach</a>, <a href="../../../api/InternalIterable.html#forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,P)">forEachWith</a>, <a href="../../../api/InternalIterable.html#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from interface&nbsp;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#addAllIterable(java.lang.Iterable)">addAllIterable</a>, <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#groupByUniqueKey(org.eclipse.collections.api.block.function.Function)">groupByUniqueKey</a>, <a href="../../../api/collection/MutableCollection.html#injectIntoWith(IV,org.eclipse.collections.api.block.function.Function3,P)">injectIntoWith</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#retainAllIterable(java.lang.Iterable)">retainAllIterable</a>, <a href="../../../api/collection/MutableCollection.html#selectAndRejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectAndRejectWith</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&nbsp;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&nbsp;org.eclipse.collections.api.<a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a></h3>
<a id="methods.inherited.from.class.org.eclipse.collections.api.RichIterable">
<!-- -->
</a><code><a href="../../../api/RichIterable.html#aggregateBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2,R)">aggregateBy</a>, <a href="../../../api/RichIterable.html#allSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">allSatisfy</a>, <a href="../../../api/RichIterable.html#allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">allSatisfyWith</a>, <a href="../../../api/RichIterable.html#anySatisfy(org.eclipse.collections.api.block.predicate.Predicate)">anySatisfy</a>, <a href="../../../api/RichIterable.html#anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">anySatisfyWith</a>, <a href="../../../api/RichIterable.html#appendString(java.lang.Appendable)">appendString</a>, <a href="../../../api/RichIterable.html#appendString(java.lang.Appendable,java.lang.String)">appendString</a>, <a href="../../../api/RichIterable.html#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a>, <a href="../../../api/RichIterable.html#asLazy()">asLazy</a>, <a href="../../../api/RichIterable.html#chunk(int)">chunk</a>, <a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function,R)">collect</a>, <a href="../../../api/RichIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction,R)">collectBoolean</a>, <a href="../../../api/RichIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction,R)">collectByte</a>, <a href="../../../api/RichIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction,R)">collectChar</a>, <a href="../../../api/RichIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction,R)">collectDouble</a>, <a href="../../../api/RichIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction,R)">collectFloat</a>, <a href="../../../api/RichIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function,R)">collectIf</a>, <a href="../../../api/RichIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction,R)">collectInt</a>, <a href="../../../api/RichIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction,R)">collectLong</a>, <a href="../../../api/RichIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction,R)">collectShort</a>, <a href="../../../api/RichIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P,R)">collectWith</a>, <a href="../../../api/RichIterable.html#containsAllArguments(java.lang.Object...)">containsAllArguments</a>, <a href="../../../api/RichIterable.html#containsAllIterable(java.lang.Iterable)">containsAllIterable</a>, <a href="../../../api/RichIterable.html#containsBy(org.eclipse.collections.api.block.function.Function,V)">containsBy</a>, <a href="../../../api/RichIterable.html#count(org.eclipse.collections.api.block.predicate.Predicate)">count</a>, <a href="../../../api/RichIterable.html#countBy(org.eclipse.collections.api.block.function.Function,R)">countBy</a>, <a href="../../../api/RichIterable.html#countByEach(org.eclipse.collections.api.block.function.Function,R)">countByEach</a>, <a href="../../../api/RichIterable.html#countByWith(org.eclipse.collections.api.block.function.Function2,P,R)">countByWith</a>, <a href="../../../api/RichIterable.html#countWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">countWith</a>, <a href="../../../api/RichIterable.html#detect(org.eclipse.collections.api.block.predicate.Predicate)">detect</a>, <a href="../../../api/RichIterable.html#detectIfNone(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function0)">detectIfNone</a>, <a href="../../../api/RichIterable.html#detectOptional(org.eclipse.collections.api.block.predicate.Predicate)">detectOptional</a>, <a href="../../../api/RichIterable.html#detectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWith</a>, <a href="../../../api/RichIterable.html#detectWithIfNone(org.eclipse.collections.api.block.predicate.Predicate2,P,org.eclipse.collections.api.block.function.Function0)">detectWithIfNone</a>, <a href="../../../api/RichIterable.html#detectWithOptional(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWithOptional</a>, <a href="../../../api/RichIterable.html#each(org.eclipse.collections.api.block.procedure.Procedure)">each</a>, <a href="../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function,R)">flatCollect</a>, <a href="../../../api/RichIterable.html#flatCollectBoolean(org.eclipse.collections.api.block.function.Function,R)">flatCollectBoolean</a>, <a href="../../../api/RichIterable.html#flatCollectByte(org.eclipse.collections.api.block.function.Function,R)">flatCollectByte</a>, <a href="../../../api/RichIterable.html#flatCollectChar(org.eclipse.collections.api.block.function.Function,R)">flatCollectChar</a>, <a href="../../../api/RichIterable.html#flatCollectDouble(org.eclipse.collections.api.block.function.Function,R)">flatCollectDouble</a>, <a href="../../../api/RichIterable.html#flatCollectFloat(org.eclipse.collections.api.block.function.Function,R)">flatCollectFloat</a>, <a href="../../../api/RichIterable.html#flatCollectInt(org.eclipse.collections.api.block.function.Function,R)">flatCollectInt</a>, <a href="../../../api/RichIterable.html#flatCollectLong(org.eclipse.collections.api.block.function.Function,R)">flatCollectLong</a>, <a href="../../../api/RichIterable.html#flatCollectShort(org.eclipse.collections.api.block.function.Function,R)">flatCollectShort</a>, <a href="../../../api/RichIterable.html#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P,R)">flatCollectWith</a>, <a href="../../../api/RichIterable.html#forEach(org.eclipse.collections.api.block.procedure.Procedure)">forEach</a>, <a href="../../../api/RichIterable.html#getAny()">getAny</a>, <a href="../../../api/RichIterable.html#getFirst()">getFirst</a>, <a href="../../../api/RichIterable.html#getLast()">getLast</a>, <a href="../../../api/RichIterable.html#getOnly()">getOnly</a>, <a href="../../../api/RichIterable.html#groupBy(org.eclipse.collections.api.block.function.Function,R)">groupBy</a>, <a href="../../../api/RichIterable.html#groupByAndCollect(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">groupByAndCollect</a>, <a href="../../../api/RichIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function,R)">groupByEach</a>, <a href="../../../api/RichIterable.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function,R)">groupByUniqueKey</a>, <a href="../../../api/RichIterable.html#injectInto(double,org.eclipse.collections.api.block.function.primitive.DoubleObjectToDoubleFunction)">injectInto</a>, <a href="../../../api/RichIterable.html#injectInto(float,org.eclipse.collections.api.block.function.primitive.FloatObjectToFloatFunction)">injectInto</a>, <a href="../../../api/RichIterable.html#injectInto(int,org.eclipse.collections.api.block.function.primitive.IntObjectToIntFunction)">injectInto</a>, <a href="../../../api/RichIterable.html#injectInto(long,org.eclipse.collections.api.block.function.primitive.LongObjectToLongFunction)">injectInto</a>, <a href="../../../api/RichIterable.html#injectInto(IV,org.eclipse.collections.api.block.function.Function2)">injectInto</a>, <a href="../../../api/RichIterable.html#into(R)">into</a>, <a href="../../../api/RichIterable.html#isEmpty()">isEmpty</a>, <a href="../../../api/RichIterable.html#makeString()">makeString</a>, <a href="../../../api/RichIterable.html#makeString(java.lang.String)">makeString</a>, <a href="../../../api/RichIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)">makeString</a>, <a href="../../../api/RichIterable.html#max()">max</a>, <a href="../../../api/RichIterable.html#max(java.util.Comparator)">max</a>, <a href="../../../api/RichIterable.html#maxBy(org.eclipse.collections.api.block.function.Function)">maxBy</a>, <a href="../../../api/RichIterable.html#maxByOptional(org.eclipse.collections.api.block.function.Function)">maxByOptional</a>, <a href="../../../api/RichIterable.html#maxOptional()">maxOptional</a>, <a href="../../../api/RichIterable.html#maxOptional(java.util.Comparator)">maxOptional</a>, <a href="../../../api/RichIterable.html#min()">min</a>, <a href="../../../api/RichIterable.html#min(java.util.Comparator)">min</a>, <a href="../../../api/RichIterable.html#minBy(org.eclipse.collections.api.block.function.Function)">minBy</a>, <a href="../../../api/RichIterable.html#minByOptional(org.eclipse.collections.api.block.function.Function)">minByOptional</a>, <a href="../../../api/RichIterable.html#minOptional()">minOptional</a>, <a href="../../../api/RichIterable.html#minOptional(java.util.Comparator)">minOptional</a>, <a href="../../../api/RichIterable.html#noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">noneSatisfy</a>, <a href="../../../api/RichIterable.html#noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">noneSatisfyWith</a>, <a href="../../../api/RichIterable.html#notEmpty()">notEmpty</a>, <a href="../../../api/RichIterable.html#reduce(java.util.function.BinaryOperator)">reduce</a>, <a href="../../../api/RichIterable.html#reduceInPlace(java.util.function.Supplier,java.util.function.BiConsumer)">reduceInPlace</a>, <a href="../../../api/RichIterable.html#reduceInPlace(java.util.stream.Collector)">reduceInPlace</a>, <a href="../../../api/RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate,R)">reject</a>, <a href="../../../api/RichIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">rejectWith</a>, <a href="../../../api/RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate,R)">select</a>, <a href="../../../api/RichIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">selectWith</a>, <a href="../../../api/RichIterable.html#size()">size</a>, <a href="../../../api/RichIterable.html#summarizeDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">summarizeDouble</a>, <a href="../../../api/RichIterable.html#summarizeFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">summarizeFloat</a>, <a href="../../../api/RichIterable.html#summarizeInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">summarizeInt</a>, <a href="../../../api/RichIterable.html#summarizeLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">summarizeLong</a>, <a href="../../../api/RichIterable.html#sumOfDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumOfDouble</a>, <a href="../../../api/RichIterable.html#sumOfFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumOfFloat</a>, <a href="../../../api/RichIterable.html#sumOfInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">sumOfInt</a>, <a href="../../../api/RichIterable.html#sumOfLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">sumOfLong</a>, <a href="../../../api/RichIterable.html#toArray()">toArray</a>, <a href="../../../api/RichIterable.html#toArray(E%5B%5D)">toArray</a>, <a href="../../../api/RichIterable.html#toBag()">toBag</a>, <a href="../../../api/RichIterable.html#toBiMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toBiMap</a>, <a href="../../../api/RichIterable.html#toList()">toList</a>, <a href="../../../api/RichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toMap</a>, <a href="../../../api/RichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">toMap</a>, <a href="../../../api/RichIterable.html#toSet()">toSet</a>, <a href="../../../api/RichIterable.html#toSortedBag()">toSortedBag</a>, <a href="../../../api/RichIterable.html#toSortedBag(java.util.Comparator)">toSortedBag</a>, <a href="../../../api/RichIterable.html#toSortedBagBy(org.eclipse.collections.api.block.function.Function)">toSortedBagBy</a>, <a href="../../../api/RichIterable.html#toSortedList()">toSortedList</a>, <a href="../../../api/RichIterable.html#toSortedList(java.util.Comparator)">toSortedList</a>, <a href="../../../api/RichIterable.html#toSortedListBy(org.eclipse.collections.api.block.function.Function)">toSortedListBy</a>, <a href="../../../api/RichIterable.html#toSortedMap(java.util.Comparator,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../../../api/RichIterable.html#toSortedMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../../../api/RichIterable.html#toSortedMapBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMapBy</a>, <a href="../../../api/RichIterable.html#toSortedSet()">toSortedSet</a>, <a href="../../../api/RichIterable.html#toSortedSet(java.util.Comparator)">toSortedSet</a>, <a href="../../../api/RichIterable.html#toSortedSetBy(org.eclipse.collections.api.block.function.Function)">toSortedSetBy</a>, <a href="../../../api/RichIterable.html#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&nbsp;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#add(E)" title="class or interface in java.util" class="externalLink">add</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/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#clear()" title="class or interface in java.util" class="externalLink">clear</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#iterator()" title="class or interface in java.util" class="externalLink">iterator</a>, <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>, <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#retainAll(java.util.Collection)" title="class or interface in java.util" class="externalLink">retainAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true#size()" title="class or interface in java.util" class="externalLink">size</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true#spliterator()" title="class or interface in java.util" class="externalLink">spliterator</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true#toArray()" title="class or interface in java.util" class="externalLink">toArray</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true#toArray(T%5B%5D)" title="class or interface in java.util" class="externalLink">toArray</a></code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<li class="blockList">
<section class="methodDetails"><a id="method.detail">
<!-- -->
</a>
<h2>Method Details</h2>
<ul class="blockList">
<li class="blockList">
<section class="detail">
<h3><a id="asUnmodifiable()">asUnmodifiable</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">asUnmodifiable</span>()</div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/set/MutableSet.html#asUnmodifiable()">MutableSet</a></code></span></div>
<div class="block">Returns an unmodifiable view of the set.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/collection/MutableCollection.html#asUnmodifiable()">asUnmodifiable</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#asUnmodifiable()">asUnmodifiable</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>an unmodifiable view of this set</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collections.html?is-external=true#unmodifiableCollection(java.util.Collection)" title="class or interface in java.util" class="externalLink"><code>Collections.unmodifiableCollection(Collection)</code></a></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="asSynchronized()">asSynchronized</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">asSynchronized</span>()</div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#asSynchronized()">MutableCollection</a></code></span></div>
<div class="block">Returns a synchronized wrapper backed by this collection. This is the equivalent of using
<code>Collections.synchronizedCollection(this)</code> only with a return type that supports the full
iteration protocols available on <code>MutableCollection</code>.
The preferred way of iterating over a synchronized collection is to use the internal iteration
methods which are properly synchronized internally.
<pre>
MutableCollection synchedCollection = collection.asSynchronized();
...
synchedCollection.forEach(each -&gt; ... );
synchedCollection.select(each -&gt; ... );
synchedCollection.collect(each -&gt; ... );
</pre>
If you want to iterate using an imperative style, you must protect external iterators using
a synchronized block. This includes explicit iterators as well as JDK 5 style for loops.
<p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/collection/MutableCollection.html#asSynchronized()">asSynchronized</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#asSynchronized()">asSynchronized</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a synchronized view of this collection.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collections.html?is-external=true#synchronizedCollection(java.util.Collection)" title="class or interface in java.util" class="externalLink"><code>Collections.synchronizedCollection(Collection)</code></a></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="toImmutable()">toImmutable</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/ImmutableSet.html" title="interface in org.eclipse.collections.api.set">ImmutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">toImmutable</span>()</div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#toImmutable()">toImmutable</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/SetIterable.html#toImmutable()">toImmutable</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#toImmutable()">toImmutable</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="adapt(java.util.Set)">adapt</a></h3>
<div class="memberSignature"><span class="modifiers">public static</span>&nbsp;<span class="typeParameters">&lt;E&gt;</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;E&gt;</span>&nbsp;<span class="memberName">adapt</span>&#8203;(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a>&lt;E&gt;&nbsp;set)</span></div>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="clone()">clone</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;<span class="returnType">boolean</span>&nbsp;<span class="memberName">contains</span>&#8203;(<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>&nbsp;o)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/RichIterable.html#contains(java.lang.Object)">contains</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<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>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#contains(java.lang.Object)">contains</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="containsAll(java.util.Collection)">containsAll</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">boolean</span>&nbsp;<span class="memberName">containsAll</span>&#8203;(<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>&lt;?&gt;&nbsp;collection)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/RichIterable.html#containsAll(java.util.Collection)">RichIterable</a></code></span></div>
<div class="block">Returns true if all elements in source are contained in this collection.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#containsAll(java.util.Collection)" title="class or interface in java.util" class="externalLink">containsAll</a></code>&nbsp;in interface&nbsp;<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>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/RichIterable.html#containsAll(java.util.Collection)">containsAll</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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#containsAll(java.util.Collection)" title="class or interface in java.util" class="externalLink">containsAll</a></code>&nbsp;in interface&nbsp;<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>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#containsAll(java.util.Collection)">containsAll</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true#containsAll(java.util.Collection)" title="class or interface in java.util" class="externalLink"><code>Collection.containsAll(Collection)</code></a></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="equals(java.lang.Object)">equals</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">boolean</span>&nbsp;<span class="memberName">equals</span>&#8203;(<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>&nbsp;obj)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<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>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in class&nbsp;<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>&nbsp;<span class="returnType">int</span>&nbsp;<span class="memberName">hashCode</span>()</div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<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>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<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>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/SetIterable.html#hashCode()">hashCode</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in class&nbsp;<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="with(java.lang.Object)">
<!-- -->
</a><a id="with(T)">with</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="SetAdapter.html" title="class in org.eclipse.collections.impl.set.mutable">SetAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">with</span>&#8203;(<span class="arguments"><a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&nbsp;element)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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&lt;String&gt; 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>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#with(T)">with</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSetIterable.html#with(T)">with</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;<span class="returnType"><a href="SetAdapter.html" title="class in org.eclipse.collections.impl.set.mutable">SetAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">with</span>&#8203;(<span class="arguments"><a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&nbsp;element1,
<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&nbsp;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>&nbsp;<span class="returnType"><a href="SetAdapter.html" title="class in org.eclipse.collections.impl.set.mutable">SetAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">with</span>&#8203;(<span class="arguments"><a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&nbsp;element1,
<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&nbsp;element2,
<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&nbsp;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>&nbsp;<span class="returnType"><a href="SetAdapter.html" title="class in org.eclipse.collections.impl.set.mutable">SetAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">with</span>&#8203;(<span class="arguments"><a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>...&nbsp;elements)</span></div>
</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>&nbsp;<span class="returnType"><a href="SetAdapter.html" title="class in org.eclipse.collections.impl.set.mutable">SetAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">without</span>&#8203;(<span class="arguments"><a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&nbsp;element)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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&lt;String&gt; 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>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#without(T)">without</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSetIterable.html#without(T)">without</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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="withAll(java.lang.Iterable)">withAll</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="SetAdapter.html" title="class in org.eclipse.collections.impl.set.mutable">SetAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">withAll</span>&#8203;(<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>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;elements)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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&lt;String&gt; 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>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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="withoutAll(java.lang.Iterable)">withoutAll</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="SetAdapter.html" title="class in org.eclipse.collections.impl.set.mutable">SetAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">withoutAll</span>&#8203;(<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>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;elements)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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&lt;String&gt; 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>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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="newEmpty()">newEmpty</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">newEmpty</span>()</div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">use <a href="UnifiedSet.html#newSet()"><code>UnifiedSet.newSet()</code></a> instead (inlineable)</div>
</div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#newEmpty()">newEmpty</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">tap</span>&#8203;(<span class="arguments"><a href="../../../api/block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;procedure)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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&lt;Person&gt; tapped =
people.<b>tap</b>(person -&gt; LOGGER.info(person.getName()));
</pre>
<p>
Example using an anonymous inner class:
<pre>
RichIterable&lt;Person&gt; tapped =
people.<b>tap</b>(new Procedure&lt;Person&gt;()
{
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>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../api/RichIterable.html#each(org.eclipse.collections.api.block.procedure.Procedure)"><code>RichIterable.each(Procedure)</code></a>,
<a href="../../../api/RichIterable.html#forEach(org.eclipse.collections.api.block.procedure.Procedure)"><code>RichIterable.forEach(Procedure)</code></a></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">select</span>&#8203;(<span class="arguments"><a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;predicate)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#select(org.eclipse.collections.api.block.predicate.Predicate)">MutableCollection</a></code></span></div>
<div class="block">Returns a MutableCollection with all elements that evaluate to true for the specified predicate.
<pre>
MutableCollection&lt;Integer&gt; livesInLondon =
people.select(person -&gt; 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>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></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>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">reject</span>&#8203;(<span class="arguments"><a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;predicate)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">MutableCollection</a></code></span></div>
<div class="block">Returns a MutableCollection with all elements that evaluate to false for the specified predicate.
<pre>
MutableCollection&lt;Person&gt; notSmiths =
people.reject(person -&gt; person.person.getLastName().equals("Smith"));
</pre>
Using the <code>Predicates</code> factory:
<pre>
MutableCollection&lt;Person&gt; notSmiths = people.reject(Predicates.attributeEqual("lastName", "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>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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="partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/partition/set/PartitionMutableSet.html" title="interface in org.eclipse.collections.api.partition.set">PartitionMutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">partition</span>&#8203;(<span class="arguments"><a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;predicate)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">MutableCollection</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&lt;Person&gt; newYorkersAndNonNewYorkers =
people.<b>partition</b>(person -&gt; person.getAddress().getState().getName().equals("New York"));
</pre>
<p>
Example using an anonymous inner class:
<pre>
PartitionIterable&lt;Person&gt; newYorkersAndNonNewYorkers =
people.<b>partition</b>(new Predicate&lt;Person&gt;()
{
public boolean accept(Person person)
{
return person.getAddress().getState().getName().equals("New York");
}
});
</pre>
Co-variant example for MutableCollection:
<pre>
PartitionMutableCollection&lt;Person&gt; newYorkersAndNonNewYorkers =
people.partition(person -&gt; 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>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;<span class="typeParameters">&lt;P&gt;</span>&nbsp;<span class="returnType"><a href="../../../api/partition/set/PartitionMutableSet.html" title="interface in org.eclipse.collections.api.partition.set">PartitionMutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">partitionWith</span>&#8203;(<span class="arguments"><a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;? super P&gt;&nbsp;predicate,
P&nbsp;parameter)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">MutableCollection</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&lt;Person&gt; newYorkersAndNonNewYorkers =
people.<b>partitionWith</b>((Person person, String state) -&gt; person.getAddress().getState().getName().equals(state), "New York");
</pre>
<p>
Example using an anonymous inner class:
<pre>
PartitionIterable&lt;Person&gt; newYorkersAndNonNewYorkers =
people.<b>partitionWith</b>(new Predicate2&lt;Person, String&gt;()
{
public boolean accept(Person person, String state)
{
return person.getAddress().getState().getName().equals(state);
}
}, "New York");
</pre>
Co-variant example for MutableCollection:
<pre>
PartitionMutableCollection&lt;Person&gt; newYorkersAndNonNewYorkers =
people.partitionWith((Person person, String state) -&gt; 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>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;<span class="typeParameters">&lt;S&gt;</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;S&gt;</span>&nbsp;<span class="memberName">selectInstancesOf</span>&#8203;(<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>&lt;S&gt;&nbsp;clazz)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#selectInstancesOf(java.lang.Class)">MutableCollection</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&lt;Integer&gt; integers =
List.mutable.with(new Integer(0), new Long(0L), new Double(0.0)).selectInstancesOf(Integer.class);
</pre>
Co-variant example for MutableCollection:
<pre>
MutableCollection&lt;Integer&gt; 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>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/RichIterable.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="collect(org.eclipse.collections.api.block.function.Function)">collect</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="typeParameters">&lt;V&gt;</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;V&gt;</span>&nbsp;<span class="memberName">collect</span>&#8203;(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;? extends V&gt;&nbsp;function)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#collect(org.eclipse.collections.api.block.function.Function)">MutableCollection</a></code></span></div>
<div class="block">Returns a new MutableCollection with the results of applying the specified function to each element of the source
collection.
<pre>
MutableCollection&lt;String&gt; names =
people.collect(person -&gt; person.getFirstName() + " " + person.getLastName());
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/collection/MutableCollection.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/primitive/MutableBooleanSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableBooleanSet</a></span>&nbsp;<span class="memberName">collectBoolean</span>&#8203;(<span class="arguments"><a href="../../../api/block/function/primitive/BooleanFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">BooleanFunction</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;booleanFunction)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">MutableCollection</a></code></span></div>
<div class="block">Returns a new primitive <code>boolean</code> iterable with the results of applying the specified function on each element
of the source collection. This method is also commonly called transform or map.
<p>
Example using a Java 8 lambda expression:
<pre>
BooleanIterable licenses =
people.collectBoolean(person -&gt; person.hasDrivingLicense());
</pre>
<p>
Example using an anonymous inner class:
<pre>
BooleanIterable licenses =
people.collectBoolean(new BooleanFunction&lt;Person&gt;()
{
public boolean booleanValueOf(Person person)
{
return person.hasDrivingLicense();
}
});
</pre>
Co-variant example for MutableCollection:
<pre>
MutableBooleanCollection licenses =
people.collectBoolean(person -&gt; person.hasDrivingLicense());
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/collection/MutableCollection.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/RichIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/primitive/MutableByteSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableByteSet</a></span>&nbsp;<span class="memberName">collectByte</span>&#8203;(<span class="arguments"><a href="../../../api/block/function/primitive/ByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteFunction</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;byteFunction)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">MutableCollection</a></code></span></div>
<div class="block">Returns a new primitive <code>byte</code> iterable with the results of applying the specified function on each element
of the source collection. This method is also commonly called transform or map.
<p>
Example using a Java 8 lambda expression:
<pre>
ByteIterable bytes =
people.collectByte(person -&gt; person.getCode());
</pre>
<p>
Example using an anonymous inner class:
<pre>
ByteIterable bytes =
people.collectByte(new ByteFunction&lt;Person&gt;()
{
public byte byteValueOf(Person person)
{
return person.getCode();
}
});
</pre>
Co-variant example for MutableCollection:
<pre>
MutableByteCollection bytes =
people.collectByte(person -&gt; person.getCode());
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/collection/MutableCollection.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/RichIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/primitive/MutableCharSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableCharSet</a></span>&nbsp;<span class="memberName">collectChar</span>&#8203;(<span class="arguments"><a href="../../../api/block/function/primitive/CharFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">CharFunction</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;charFunction)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">MutableCollection</a></code></span></div>
<div class="block">Returns a new primitive <code>char</code> iterable with the results of applying the specified function on each element
of the source collection. This method is also commonly called transform or map.
<p>
Example using a Java 8 lambda expression:
<pre>
CharIterable chars =
people.collectChar(person -&gt; person.getMiddleInitial());
</pre>
<p>
Example using an anonymous inner class:
<pre>
CharIterable chars =
people.collectChar(new CharFunction&lt;Person&gt;()
{
public char charValueOf(Person person)
{
return person.getMiddleInitial();
}
});
</pre>
Co-variant example for MutableCollection:
<pre>
MutableCharCollection chars =
people.collectChar(person -&gt; person.getMiddleInitial());
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/collection/MutableCollection.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/RichIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/primitive/MutableDoubleSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableDoubleSet</a></span>&nbsp;<span class="memberName">collectDouble</span>&#8203;(<span class="arguments"><a href="../../../api/block/function/primitive/DoubleFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">DoubleFunction</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;doubleFunction)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">MutableCollection</a></code></span></div>
<div class="block">Returns a new primitive <code>double</code> iterable with the results of applying the specified function on each element
of the source collection. This method is also commonly called transform or map.
<p>
Example using a Java 8 lambda expression:
<pre>
DoubleIterable doubles =
people.collectDouble(person -&gt; person.getMilesFromNorthPole());
</pre>
<p>
Example using an anonymous inner class:
<pre>
DoubleIterable doubles =
people.collectDouble(new DoubleFunction&lt;Person&gt;()
{
public double doubleValueOf(Person person)
{
return person.getMilesFromNorthPole();
}
});
</pre>
Co-variant example for MutableCollection:
<pre>
MutableDoubleCollection doubles =
people.collectDouble(person -&gt; person.getMilesFromNorthPole());
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/collection/MutableCollection.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/RichIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/primitive/MutableFloatSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableFloatSet</a></span>&nbsp;<span class="memberName">collectFloat</span>&#8203;(<span class="arguments"><a href="../../../api/block/function/primitive/FloatFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">FloatFunction</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;floatFunction)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">MutableCollection</a></code></span></div>
<div class="block">Returns a new primitive <code>float</code> iterable with the results of applying the specified function on each element
of the source collection. This method is also commonly called transform or map.
<p>
Example using a Java 8 lambda expression:
<pre>
FloatIterable floats =
people.collectFloat(person -&gt; person.getHeightInInches());
</pre>
<p>
Example using an anonymous inner class:
<pre>
FloatIterable floats =
people.collectFloat(new FloatFunction&lt;Person&gt;()
{
public float floatValueOf(Person person)
{
return person.getHeightInInches();
}
});
</pre>
Co-variant example for MutableCollection:
<pre>
MutableFloatCollection floats =
people.collectFloat(person -&gt; person.getHeightInInches());
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/collection/MutableCollection.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/RichIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/primitive/MutableIntSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableIntSet</a></span>&nbsp;<span class="memberName">collectInt</span>&#8203;(<span class="arguments"><a href="../../../api/block/function/primitive/IntFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntFunction</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;intFunction)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">MutableCollection</a></code></span></div>
<div class="block">Returns a new primitive <code>int</code> iterable with the results of applying the specified function on each element
of the source collection. This method is also commonly called transform or map.
<p>
Example using a Java 8 lambda expression:
<pre>
IntIterable ints =
people.collectInt(person -&gt; person.getAge());
</pre>
<p>
Example using an anonymous inner class:
<pre>
IntIterable ints =
people.collectInt(new IntFunction&lt;Person&gt;()
{
public int intValueOf(Person person)
{
return person.getAge();
}
});
</pre>
Co-variant example for MutableCollection:
<pre>
MutableIntCollection ints =
people.collectInt(person -&gt; person.getAge());
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/collection/MutableCollection.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/RichIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/primitive/MutableLongSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableLongSet</a></span>&nbsp;<span class="memberName">collectLong</span>&#8203;(<span class="arguments"><a href="../../../api/block/function/primitive/LongFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">LongFunction</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;longFunction)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">MutableCollection</a></code></span></div>
<div class="block">Returns a new primitive <code>long</code> iterable with the results of applying the specified function on each element
of the source collection. This method is also commonly called transform or map.
<p>
Example using a Java 8 lambda expression:
<pre>
LongIterable longs =
people.collectLong(person -&gt; person.getGuid());
</pre>
<p>
Example using an anonymous inner class:
<pre>
LongIterable longs =
people.collectLong(new LongFunction&lt;Person&gt;()
{
public long longValueOf(Person person)
{
return person.getGuid();
}
});
</pre>
Co-variant example for MutableCollection:
<pre>
MutableLongCollection longs =
people.collectLong(person -&gt; person.getGuid());
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/collection/MutableCollection.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/RichIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/primitive/MutableShortSet.html" title="interface in org.eclipse.collections.api.set.primitive">MutableShortSet</a></span>&nbsp;<span class="memberName">collectShort</span>&#8203;(<span class="arguments"><a href="../../../api/block/function/primitive/ShortFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ShortFunction</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;shortFunction)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">MutableCollection</a></code></span></div>
<div class="block">Returns a new primitive <code>short</code> iterable with the results of applying the specified function on each element
of the source collection. This method is also commonly called transform or map.
<p>
Example using a Java 8 lambda expression:
<pre>
ShortIterable shorts =
people.collectShort(person -&gt; person.getNumberOfJunkMailItemsReceivedPerMonth());
</pre>
<p>
Example using an anonymous inner class:
<pre>
ShortIterable shorts =
people.collectShort(new ShortFunction&lt;Person&gt;()
{
public short shortValueOf(Person person)
{
return person.getNumberOfJunkMailItemsReceivedPerMonth();
}
});
</pre>
Co-variant example for MutableCollection:
<pre>
MutableShortCollection shorts =
people.collectShort(person -&gt; person.getNumberOfJunkMailItemsReceivedPerMonth());
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/collection/MutableCollection.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/RichIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="typeParameters">&lt;V&gt;</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;V&gt;</span>&nbsp;<span class="memberName">flatCollect</span>&#8203;(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;? 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>&lt;V&gt;&gt;&nbsp;function)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#flatCollect(org.eclipse.collections.api.block.function.Function)">MutableCollection</a></code></span></div>
<div class="block"><code>flatCollect</code> is a special case of <a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a>. With <code>collect</code>, when the <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> returns
a collection, the result is a collection of collections. <code>flatCollect</code> outputs a single "flattened" collection
instead. This method is commonly called flatMap.
<p>
Consider the following example where we have a <code>Person</code> class, and each <code>Person</code> has a list of <code>Address</code> objects. Take the following <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a>:
<pre>
Function&lt;Person, List&lt;Address&gt;&gt; addressFunction = Person::getAddresses;
RichIterable&lt;Person&gt; people = ...;
</pre>
Using <code>collect</code> returns a collection of collections of addresses.
<pre>
RichIterable&lt;List&lt;Address&gt;&gt; addresses = people.collect(addressFunction);
</pre>
Using <code>flatCollect</code> returns a single flattened list of addresses.
<pre>
RichIterable&lt;Address&gt; addresses = people.flatCollect(addressFunction);
</pre>
Co-variant example for MutableCollection:
<pre>
Function&lt;Person, List&lt;Address&gt;&gt; addressFunction = Person::getAddresses;
MutableCollection&lt;Person&gt; people = ...;
MutableCollection&lt;List&lt;Address&gt;&gt; addresses = people.collect(addressFunction);
MutableCollection&lt;Address&gt; addresses = people.flatCollect(addressFunction);
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/collection/MutableCollection.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>function</code> - The <a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to apply</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new flattened collection produced by applying the given <code>function</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)">collectIf</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="typeParameters">&lt;V&gt;</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;V&gt;</span>&nbsp;<span class="memberName">collectIf</span>&#8203;(<span class="arguments"><a href="../../../api/block/predicate/Predicate.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;predicate,
<a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;? extends V&gt;&nbsp;function)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)">MutableCollection</a></code></span></div>
<div class="block">Returns a new MutableCollection with the results of applying the specified function to each element of the source
collection, but only for elements that evaluate to true for the specified predicate.
<pre>
MutableCollection&lt;String&gt; collected =
Lists.mutable.of().with(1, 2, 3).collectIf(Predicates.notNull(), Functions.getToString())
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/collection/MutableCollection.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)">collectIf</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)">collectIf</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/RichIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)">collectIf</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)">collectIf</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)">collectIf</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;<span class="typeParameters">&lt;V&gt;</span>&nbsp;<span class="returnType"><a href="../../multimap/set/UnifiedSetMultimap.html" title="class in org.eclipse.collections.impl.multimap.set">UnifiedSetMultimap</a>&lt;V,&#8203;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">groupBy</span>&#8203;(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;? extends V&gt;&nbsp;function)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#groupBy(org.eclipse.collections.api.block.function.Function)">MutableCollection</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&lt;String, Person&gt; peopleByLastName =
people.groupBy(Person::getLastName);
</pre>
<p>
Example using an anonymous inner class:
<pre>
Multimap&lt;String, Person&gt; peopleByLastName =
people.groupBy(new Function&lt;Person, String&gt;()
{
public String valueOf(Person person)
{
return person.getLastName();
}
});
</pre>
Co-variant example for MutableCollection:
<pre>
MutableMultimap&lt;String, Person&gt; peopleByLastName =
people.groupBy(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>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;<span class="typeParameters">&lt;V&gt;</span>&nbsp;<span class="returnType"><a href="../../multimap/set/UnifiedSetMultimap.html" title="class in org.eclipse.collections.impl.multimap.set">UnifiedSetMultimap</a>&lt;V,&#8203;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">groupByEach</span>&#8203;(<span class="arguments"><a href="../../../api/block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;? 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>&lt;V&gt;&gt;&nbsp;function)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;<span class="typeParameters">&lt;P&gt;</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">selectWith</span>&#8203;(<span class="arguments"><a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;? super P&gt;&nbsp;predicate,
P&nbsp;parameter)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">MutableCollection</a></code></span></div>
<div class="block">Returns a MutableCollection with all elements that evaluate to true for the specified predicate2 and parameter.
<pre>
MutableCollection&lt;Integer&gt; fives =
integers.selectWith(Predicates2.equal(), Integer.valueOf(5));
</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>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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="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>&nbsp;<span class="typeParameters">&lt;P&gt;</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">rejectWith</span>&#8203;(<span class="arguments"><a href="../../../api/block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;? super P&gt;&nbsp;predicate,
P&nbsp;parameter)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">MutableCollection</a></code></span></div>
<div class="block">Returns a MutableCollection with all elements that evaluate to false for the specified predicate2 and parameter.
<pre>e.g.
MutableCollection&lt;Integer&gt; selected =
integers.rejectWith(Predicates2.equal(), Integer.valueOf(5));
</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>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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="collectWith(org.eclipse.collections.api.block.function.Function2,java.lang.Object)">
<!-- -->
</a><a id="collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="typeParameters">&lt;P,&#8203;
V&gt;</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;V&gt;</span>&nbsp;<span class="memberName">collectWith</span>&#8203;(<span class="arguments"><a href="../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a>&lt;? super <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;? super P,&#8203;? extends V&gt;&nbsp;function,
P&nbsp;parameter)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/collection/MutableCollection.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">MutableCollection</a></code></span></div>
<div class="block">Same as <a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a> with a <code>Function2</code> and specified parameter which is passed to the block.
<p>
Example using a Java 8 lambda expression:
<pre>
RichIterable&lt;Integer&gt; integers =
Lists.mutable.with(1, 2, 3).collectWith((each, parameter) -&gt; each + parameter, Integer.valueOf(1));
</pre>
<p>
Example using an anonymous inner class:
<pre>
Function2&lt;Integer, Integer, Integer&gt; addParameterFunction =
new Function2&lt;Integer, Integer, Integer&gt;()
{
public Integer value(Integer each, Integer parameter)
{
return each + parameter;
}
};
RichIterable&lt;Integer&gt; integers =
Lists.mutable.with(1, 2, 3).collectWith(addParameterFunction, Integer.valueOf(1));
</pre>
Co-variant example for MutableCollection:
<pre>
MutableCollection&lt;Integer&gt; integers =
Lists.mutable.with(1, 2, 3).collectWith((each, parameter) -&gt; each + parameter, Integer.valueOf(1));
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/collection/MutableCollection.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/RichIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>function</code> - A <a href="../../../api/block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function"><code>Function2</code></a> to use as the collect transformation function</dd>
<dd><code>parameter</code> - A parameter to pass in for evaluation of the second argument <code>P</code> in <code>function</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A new <code>RichIterable</code> that contains the transformed elements returned by <a href="../../../api/block/function/Function2.html#value(T1,T2)"><code>Function2.value(Object, Object)</code></a></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../api/RichIterable.html#collect(org.eclipse.collections.api.block.function.Function)"><code>RichIterable.collect(Function)</code></a></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="zip(java.lang.Iterable)">zip</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public</span>&nbsp;<span class="typeParameters">&lt;S&gt;</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;S&gt;&gt;</span>&nbsp;<span class="memberName">zip</span>&#8203;(<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>&lt;S&gt;&nbsp;that)</span></div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">in 6.0. Use <a href="../../../api/ordered/OrderedIterable.html#zip(java.lang.Iterable)"><code>OrderedIterable.zip(Iterable)</code></a> instead.</div>
</div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/RichIterable.html#zip(java.lang.Iterable)">RichIterable</a></code></span></div>
<div class="block">Returns a <code>RichIterable</code> formed from this <code>RichIterable</code> and another <code>RichIterable</code> by
combining corresponding elements in pairs. If one of the two <code>RichIterable</code>s is longer than the other, its
remaining elements are ignored.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/collection/MutableCollection.html#zip(java.lang.Iterable)">zip</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#zip(java.lang.Iterable)">zip</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSetIterable.html#zip(java.lang.Iterable)">zip</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/RichIterable.html#zip(java.lang.Iterable)">zip</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#zip(java.lang.Iterable)">zip</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#zip(java.lang.Iterable)">zip</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="paramLabel">Type Parameters:</span></dt>
<dd><code>S</code> - the type of the second half of the returned pairs</dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>that</code> - The <code>RichIterable</code> providing the second half of each result pair</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A new <code>RichIterable</code> containing pairs consisting of corresponding elements of this <code>
RichIterable</code> and that. The length of the returned <code>RichIterable</code> is the minimum of the lengths of
this <code>RichIterable</code> and that.</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="zipWithIndex()">zipWithIndex</a></h3>
<div class="memberSignature"><span class="annotations"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang" class="externalLink">@Deprecated</a>
</span><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html?is-external=true" title="class or interface in java.lang" class="externalLink">Integer</a>&gt;&gt;</span>&nbsp;<span class="memberName">zipWithIndex</span>()</div>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">in 6.0. Use <a href="../../../api/ordered/OrderedIterable.html#zipWithIndex()"><code>OrderedIterable.zipWithIndex()</code></a> instead.</div>
</div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/RichIterable.html#zipWithIndex()">RichIterable</a></code></span></div>
<div class="block">Zips this <code>RichIterable</code> with its indices.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/collection/MutableCollection.html#zipWithIndex()">zipWithIndex</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#zipWithIndex()">zipWithIndex</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSetIterable.html#zipWithIndex()">zipWithIndex</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/RichIterable.html#zipWithIndex()">zipWithIndex</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/SetIterable.html#zipWithIndex()">zipWithIndex</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#zipWithIndex()">zipWithIndex</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#zipWithIndex()">zipWithIndex</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>A new <code>RichIterable</code> containing pairs consisting of all elements of this <code>RichIterable</code>
paired with their index. Indices start at 0.</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../api/RichIterable.html#zip(java.lang.Iterable)"><code>RichIterable.zip(Iterable)</code></a></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="removeAllIterable(java.lang.Iterable)">removeAllIterable</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">boolean</span>&nbsp;<span class="memberName">removeAllIterable</span>&#8203;(<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>&lt;?&gt;&nbsp;iterable)</span></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/collection/MutableCollection.html#removeAllIterable(java.lang.Iterable)">removeAllIterable</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
<dd><code><a href="../../collection/mutable/AbstractCollectionAdapter.html#removeAllIterable(java.lang.Iterable)">removeAllIterable</a></code>&nbsp;in class&nbsp;<code><a href="../../collection/mutable/AbstractCollectionAdapter.html" title="class in org.eclipse.collections.impl.collection.mutable">AbstractCollectionAdapter</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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="union(org.eclipse.collections.api.set.SetIterable)">union</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">union</span>&#8203;(<span class="arguments"><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;set)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/set/SetIterable.html#union(org.eclipse.collections.api.set.SetIterable)">SetIterable</a></code></span></div>
<div class="block">Returns the set of all objects that are a member of <code>this</code> or <code>set</code> or both. The union of [1, 2, 3]
and [2, 3, 4] is the set [1, 2, 3, 4]. If equal elements appear in both sets, then the output will contain the
copy from <code>this</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#union(org.eclipse.collections.api.set.SetIterable)">union</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/SetIterable.html#union(org.eclipse.collections.api.set.SetIterable)">union</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#union(org.eclipse.collections.api.set.SetIterable)">union</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="unionInto(org.eclipse.collections.api.set.SetIterable,java.util.Set)">
<!-- -->
</a><a id="unionInto(org.eclipse.collections.api.set.SetIterable,R)">unionInto</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="typeParameters">&lt;R extends <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>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&gt;</span>&nbsp;<span class="returnType">R</span>&nbsp;<span class="memberName">unionInto</span>&#8203;(<span class="arguments"><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;set,
R&nbsp;targetSet)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/set/SetIterable.html#unionInto(org.eclipse.collections.api.set.SetIterable,R)">SetIterable</a></code></span></div>
<div class="block">Same as <a href="../../../api/set/SetIterable.html#union(org.eclipse.collections.api.set.SetIterable)"><code>SetIterable.union(SetIterable)</code></a> but adds all the objects to <code>targetSet</code> and returns it.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/SetIterable.html#unionInto(org.eclipse.collections.api.set.SetIterable,R)">unionInto</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="intersect(org.eclipse.collections.api.set.SetIterable)">intersect</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">intersect</span>&#8203;(<span class="arguments"><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;set)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/set/SetIterable.html#intersect(org.eclipse.collections.api.set.SetIterable)">SetIterable</a></code></span></div>
<div class="block">Returns the set of all objects that are members of both <code>this</code> and <code>set</code>. The intersection of
[1, 2, 3] and [2, 3, 4] is the set [2, 3]. The output will contain instances from <code>this</code>, not <code>set</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#intersect(org.eclipse.collections.api.set.SetIterable)">intersect</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/SetIterable.html#intersect(org.eclipse.collections.api.set.SetIterable)">intersect</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#intersect(org.eclipse.collections.api.set.SetIterable)">intersect</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="intersectInto(org.eclipse.collections.api.set.SetIterable,java.util.Set)">
<!-- -->
</a><a id="intersectInto(org.eclipse.collections.api.set.SetIterable,R)">intersectInto</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="typeParameters">&lt;R extends <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>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&gt;</span>&nbsp;<span class="returnType">R</span>&nbsp;<span class="memberName">intersectInto</span>&#8203;(<span class="arguments"><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;set,
R&nbsp;targetSet)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/set/SetIterable.html#intersectInto(org.eclipse.collections.api.set.SetIterable,R)">SetIterable</a></code></span></div>
<div class="block">Same as <a href="../../../api/set/SetIterable.html#intersect(org.eclipse.collections.api.set.SetIterable)"><code>SetIterable.intersect(SetIterable)</code></a> but adds all the objects to <code>targetSet</code> and returns it.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/SetIterable.html#intersectInto(org.eclipse.collections.api.set.SetIterable,R)">intersectInto</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="difference(org.eclipse.collections.api.set.SetIterable)">difference</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">difference</span>&#8203;(<span class="arguments"><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;subtrahendSet)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/set/SetIterable.html#difference(org.eclipse.collections.api.set.SetIterable)">SetIterable</a></code></span></div>
<div class="block">Returns the set of all members of <code>this</code> that are not members of <code>subtrahendSet</code>. The difference of
[1, 2, 3] and [2, 3, 4] is [1].</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#difference(org.eclipse.collections.api.set.SetIterable)">difference</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/SetIterable.html#difference(org.eclipse.collections.api.set.SetIterable)">difference</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#difference(org.eclipse.collections.api.set.SetIterable)">difference</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="differenceInto(org.eclipse.collections.api.set.SetIterable,java.util.Set)">
<!-- -->
</a><a id="differenceInto(org.eclipse.collections.api.set.SetIterable,R)">differenceInto</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="typeParameters">&lt;R extends <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>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&gt;</span>&nbsp;<span class="returnType">R</span>&nbsp;<span class="memberName">differenceInto</span>&#8203;(<span class="arguments"><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;subtrahendSet,
R&nbsp;targetSet)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/set/SetIterable.html#differenceInto(org.eclipse.collections.api.set.SetIterable,R)">SetIterable</a></code></span></div>
<div class="block">Same as <a href="../../../api/set/SetIterable.html#difference(org.eclipse.collections.api.set.SetIterable)"><code>SetIterable.difference(SetIterable)</code></a> but adds all the objects to <code>targetSet</code> and returns it.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/SetIterable.html#differenceInto(org.eclipse.collections.api.set.SetIterable,R)">differenceInto</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="symmetricDifference(org.eclipse.collections.api.set.SetIterable)">symmetricDifference</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">symmetricDifference</span>&#8203;(<span class="arguments"><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;setB)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/set/SetIterable.html#symmetricDifference(org.eclipse.collections.api.set.SetIterable)">SetIterable</a></code></span></div>
<div class="block">Returns the set of all objects that are a member of exactly one of <code>this</code> and <code>setB</code> (elements which
are in one of the sets, but not in both). For instance, for the sets [1, 2, 3] and [2, 3, 4], the symmetric
difference set is [1, 4] . It is the set difference of the union and the intersection.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#symmetricDifference(org.eclipse.collections.api.set.SetIterable)">symmetricDifference</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/SetIterable.html#symmetricDifference(org.eclipse.collections.api.set.SetIterable)">symmetricDifference</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#symmetricDifference(org.eclipse.collections.api.set.SetIterable)">symmetricDifference</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="symmetricDifferenceInto(org.eclipse.collections.api.set.SetIterable,java.util.Set)">
<!-- -->
</a><a id="symmetricDifferenceInto(org.eclipse.collections.api.set.SetIterable,R)">symmetricDifferenceInto</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="typeParameters">&lt;R extends <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>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&gt;</span>&nbsp;<span class="returnType">R</span>&nbsp;<span class="memberName">symmetricDifferenceInto</span>&#8203;(<span class="arguments"><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;set,
R&nbsp;targetSet)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/set/SetIterable.html#symmetricDifferenceInto(org.eclipse.collections.api.set.SetIterable,R)">SetIterable</a></code></span></div>
<div class="block">Same as <a href="../../../api/set/SetIterable.html#symmetricDifference(org.eclipse.collections.api.set.SetIterable)"><code>SetIterable.symmetricDifference(SetIterable)</code></a> but adds all the objects to <code>targetSet</code> and returns it.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/SetIterable.html#symmetricDifferenceInto(org.eclipse.collections.api.set.SetIterable,R)">symmetricDifferenceInto</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="isSubsetOf(org.eclipse.collections.api.set.SetIterable)">isSubsetOf</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">boolean</span>&nbsp;<span class="memberName">isSubsetOf</span>&#8203;(<span class="arguments"><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;candidateSuperset)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/set/SetIterable.html#isSubsetOf(org.eclipse.collections.api.set.SetIterable)">SetIterable</a></code></span></div>
<div class="block">Returns true if all the members of <code>this</code> are also members of <code>candidateSuperset</code>.
For example, [1, 2] is a subset of [1, 2, 3], but [1, 4] is not.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/SetIterable.html#isSubsetOf(org.eclipse.collections.api.set.SetIterable)">isSubsetOf</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="isProperSubsetOf(org.eclipse.collections.api.set.SetIterable)">isProperSubsetOf</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType">boolean</span>&nbsp;<span class="memberName">isProperSubsetOf</span>&#8203;(<span class="arguments"><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;? extends <a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&nbsp;candidateSuperset)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/set/SetIterable.html#isProperSubsetOf(org.eclipse.collections.api.set.SetIterable)">SetIterable</a></code></span></div>
<div class="block">Returns true if all the members of <code>this</code> are also members of <code>candidateSuperset</code> and the
two sets are not equal. For example, [1, 2] is a proper subset of [1, 2, 3], but [1, 2, 3] is not.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/SetIterable.html#isProperSubsetOf(org.eclipse.collections.api.set.SetIterable)">isProperSubsetOf</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="powerSet()">powerSet</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="returnType"><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;&gt;</span>&nbsp;<span class="memberName">powerSet</span>()</div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html#powerSet()">UnsortedSetIterable</a></code></span></div>
<div class="block">Returns the set whose members are all possible subsets of <code>this</code>. For example, the powerset of [1, 2] is
[[], [1], [2], [1, 2]].</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/MutableSet.html#powerSet()">powerSet</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/UnsortedSetIterable.html#powerSet()">powerSet</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="cartesianProduct(org.eclipse.collections.api.set.SetIterable)">cartesianProduct</a></h3>
<div class="memberSignature"><span class="modifiers">public</span>&nbsp;<span class="typeParameters">&lt;B&gt;</span>&nbsp;<span class="returnType"><a href="../../../api/LazyIterable.html" title="interface in org.eclipse.collections.api">LazyIterable</a>&lt;<a href="../../../api/tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>,&#8203;B&gt;&gt;</span>&nbsp;<span class="memberName">cartesianProduct</span>&#8203;(<span class="arguments"><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;B&gt;&nbsp;set)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../../../api/set/SetIterable.html#cartesianProduct(org.eclipse.collections.api.set.SetIterable)">SetIterable</a></code></span></div>
<div class="block">Returns the set whose members are all possible ordered pairs (a, b) where a is a member of <code>this</code> and b is a
member of <code>set</code>.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../../../api/set/SetIterable.html#cartesianProduct(org.eclipse.collections.api.set.SetIterable)">cartesianProduct</a></code>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</code></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>&nbsp;<span class="returnType"><a href="../../../api/set/ParallelUnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">ParallelUnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</span>&nbsp;<span class="memberName">asParallel</span>&#8203;(<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>&nbsp;executorService,
int&nbsp;batchSize)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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>&nbsp;in interface&nbsp;<code><a href="../../../api/set/UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="SetAdapter.html" title="type parameter in SetAdapter">T</a>&gt;</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/SetAdapter.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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</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 &#169; 2004&#x2013;2020. All rights reserved.</small></p>
</footer>
</div>
</div>
</body>
</html>