blob: f02ceea53a282eafce377617c36a555be51af3c2 [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>FixedSizeSet (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.api.set, interface: FixedSizeSet">
<meta name="generator" content="javadoc/ClassWriterImpl">
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../../script-dir/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../../script.js"></script>
<script type="text/javascript" src="../../../../../script-dir/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../../script-dir/jszip-utils/dist/jszip-utils.min.js"></script>
<!--[if IE]>
<script type="text/javascript" src="../../../../../script-dir/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![endif]-->
<script type="text/javascript" src="../../../../../script-dir/jquery-3.4.1.js"></script>
<script type="text/javascript" src="../../../../../script-dir/jquery-ui.js"></script>
</head>
<body class="class-declaration">
<script type="text/javascript">var data = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract 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/FixedSizeSet.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.api.set</a></div>
<h1 title="Interface FixedSizeSet" class="title">Interface FixedSizeSet&lt;T&gt;</h1>
</div>
<div class="contentContainer">
<section class="description">
<dl>
<dt>All Superinterfaces:</dt>
<dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/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/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a>&lt;T&gt;</code>, <code><a href="../collection/FixedSizeCollection.html" title="interface in org.eclipse.collections.api.collection">FixedSizeCollection</a>&lt;T&gt;</code>, <code><a href="../InternalIterable.html" title="interface in org.eclipse.collections.api">InternalIterable</a>&lt;T&gt;</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="../collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;T&gt;</code>, <code><a href="MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;T&gt;</code>, <code><a href="MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;T&gt;</code>, <code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</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="SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;T&gt;</code>, <code><a href="UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;T&gt;</code></dd>
</dl>
<hr>
<pre>public interface <span class="typeNameLabel">FixedSizeSet&lt;T&gt;</span>
extends <a href="MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;T&gt;, <a href="../collection/FixedSizeCollection.html" title="interface in org.eclipse.collections.api.collection">FixedSizeCollection</a>&lt;T&gt;</pre>
<div class="block">A FixedSizeSet is a set that may be mutated, but cannot grow or shrink in size.</div>
</section>
<section class="summary">
<ul class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<li class="blockList">
<section class="methodSummary"><a id="method.summary">
<!-- -->
</a>
<h2>Method Summary</h2>
<div class="memberSummary">
<div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t3" class="tableTab" onclick="show(4);">Abstract Methods</button></div>
<div id="memberSummary_tabpanel" role="tabpanel">
<table aria-labelledby="t0">
<thead>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
</thead>
<tbody>
<tr class="altColor" id="i0">
<td class="colFirst"><code><a href="FixedSizeSet.html" title="interface in org.eclipse.collections.api.set">FixedSizeSet</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">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="../block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a>&lt;? super <a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">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="i1">
<td class="colFirst"><code><a href="MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#with(T)">with</a></span>&#8203;(<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">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="altColor" id="i2">
<td class="colFirst"><code><a href="MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">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="FixedSizeSet.html" title="type parameter in FixedSizeSet">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="i3">
<td class="colFirst"><code><a href="MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#without(T)">without</a></span>&#8203;(<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">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="i4">
<td class="colFirst"><code><a href="MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">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="FixedSizeSet.html" title="type parameter in FixedSizeSet">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>
</tbody>
</table>
</div>
</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.collection.<a href="../collection/FixedSizeCollection.html" title="interface in org.eclipse.collections.api.collection">FixedSizeCollection</a></h3>
<a id="methods.inherited.from.class.org.eclipse.collections.api.collection.FixedSizeCollection">
<!-- -->
</a><code><a href="../collection/FixedSizeCollection.html#add(T)">add</a>, <a href="../collection/FixedSizeCollection.html#addAll(java.util.Collection)">addAll</a>, <a href="../collection/FixedSizeCollection.html#addAllIterable(java.lang.Iterable)">addAllIterable</a>, <a href="../collection/FixedSizeCollection.html#clear()">clear</a>, <a href="../collection/FixedSizeCollection.html#remove(java.lang.Object)">remove</a>, <a href="../collection/FixedSizeCollection.html#removeAll(java.util.Collection)">removeAll</a>, <a href="../collection/FixedSizeCollection.html#removeAllIterable(java.lang.Iterable)">removeAllIterable</a>, <a href="../collection/FixedSizeCollection.html#removeIf(org.eclipse.collections.api.block.predicate.Predicate)">removeIf</a>, <a href="../collection/FixedSizeCollection.html#removeIfWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">removeIfWith</a>, <a href="../collection/FixedSizeCollection.html#retainAll(java.util.Collection)">retainAll</a>, <a href="../collection/FixedSizeCollection.html#retainAllIterable(java.lang.Iterable)">retainAllIterable</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from interface&nbsp;org.eclipse.collections.api.<a href="../InternalIterable.html" title="interface in org.eclipse.collections.api">InternalIterable</a></h3>
<a id="methods.inherited.from.class.org.eclipse.collections.api.InternalIterable">
<!-- -->
</a><code><a href="../InternalIterable.html#forEach(java.util.function.Consumer)">forEach</a>, <a href="../InternalIterable.html#forEachWith(org.eclipse.collections.api.block.procedure.Procedure2,P)">forEachWith</a>, <a href="../InternalIterable.html#forEachWithIndex(org.eclipse.collections.api.block.procedure.primitive.ObjectIntProcedure)">forEachWithIndex</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from interface&nbsp;org.eclipse.collections.api.collection.<a href="../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="../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="../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="../collection/MutableCollection.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a>, <a href="../collection/MutableCollection.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a>, <a href="../collection/MutableCollection.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a>, <a href="../collection/MutableCollection.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a>, <a href="../collection/MutableCollection.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a>, <a href="../collection/MutableCollection.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a>, <a href="../collection/MutableCollection.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)">collectIf</a>, <a href="../collection/MutableCollection.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a>, <a href="../collection/MutableCollection.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a>, <a href="../collection/MutableCollection.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a>, <a href="../collection/MutableCollection.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a>, <a href="../collection/MutableCollection.html#countBy(org.eclipse.collections.api.block.function.Function)">countBy</a>, <a href="../collection/MutableCollection.html#countByEach(org.eclipse.collections.api.block.function.Function)">countByEach</a>, <a href="../collection/MutableCollection.html#countByWith(org.eclipse.collections.api.block.function.Function2,P)">countByWith</a>, <a href="../collection/MutableCollection.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a>, <a href="../collection/MutableCollection.html#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P)">flatCollectWith</a>, <a href="../collection/MutableCollection.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function)">groupByUniqueKey</a>, <a href="../collection/MutableCollection.html#injectIntoWith(IV,org.eclipse.collections.api.block.function.Function3,P)">injectIntoWith</a>, <a href="../collection/MutableCollection.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a>, <a href="../collection/MutableCollection.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a>, <a href="../collection/MutableCollection.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a>, <a href="../collection/MutableCollection.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a>, <a href="../collection/MutableCollection.html#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a>, <a href="../collection/MutableCollection.html#selectAndRejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectAndRejectWith</a>, <a href="../collection/MutableCollection.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a>, <a href="../collection/MutableCollection.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a>, <a href="../collection/MutableCollection.html#sumByDouble(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumByDouble</a>, <a href="../collection/MutableCollection.html#sumByFloat(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumByFloat</a>, <a href="../collection/MutableCollection.html#sumByInt(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.IntFunction)">sumByInt</a>, <a href="../collection/MutableCollection.html#sumByLong(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.primitive.LongFunction)">sumByLong</a>, <a href="../collection/MutableCollection.html#toImmutable()">toImmutable</a>, <a href="../collection/MutableCollection.html#zipWithIndex()">zipWithIndex</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from interface&nbsp;org.eclipse.collections.api.set.<a href="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="MutableSet.html#asSynchronized()">asSynchronized</a>, <a href="MutableSet.html#asUnmodifiable()">asUnmodifiable</a>, <a href="MutableSet.html#clone()">clone</a>, <a href="MutableSet.html#collect(org.eclipse.collections.api.block.function.Function)">collect</a>, <a href="MutableSet.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction)">collectBoolean</a>, <a href="MutableSet.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction)">collectByte</a>, <a href="MutableSet.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction)">collectChar</a>, <a href="MutableSet.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">collectDouble</a>, <a href="MutableSet.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">collectFloat</a>, <a href="MutableSet.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function)">collectIf</a>, <a href="MutableSet.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">collectInt</a>, <a href="MutableSet.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">collectLong</a>, <a href="MutableSet.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction)">collectShort</a>, <a href="MutableSet.html#collectWith(org.eclipse.collections.api.block.function.Function2,P)">collectWith</a>, <a href="MutableSet.html#difference(org.eclipse.collections.api.set.SetIterable)">difference</a>, <a href="MutableSet.html#flatCollect(org.eclipse.collections.api.block.function.Function)">flatCollect</a>, <a href="MutableSet.html#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P)">flatCollectWith</a>, <a href="MutableSet.html#groupBy(org.eclipse.collections.api.block.function.Function)">groupBy</a>, <a href="MutableSet.html#groupByEach(org.eclipse.collections.api.block.function.Function)">groupByEach</a>, <a href="MutableSet.html#intersect(org.eclipse.collections.api.set.SetIterable)">intersect</a>, <a href="MutableSet.html#newEmpty()">newEmpty</a>, <a href="MutableSet.html#partition(org.eclipse.collections.api.block.predicate.Predicate)">partition</a>, <a href="MutableSet.html#partitionWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">partitionWith</a>, <a href="MutableSet.html#powerSet()">powerSet</a>, <a href="MutableSet.html#reject(org.eclipse.collections.api.block.predicate.Predicate)">reject</a>, <a href="MutableSet.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">rejectWith</a>, <a href="MutableSet.html#select(org.eclipse.collections.api.block.predicate.Predicate)">select</a>, <a href="MutableSet.html#selectInstancesOf(java.lang.Class)">selectInstancesOf</a>, <a href="MutableSet.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">selectWith</a>, <a href="MutableSet.html#symmetricDifference(org.eclipse.collections.api.set.SetIterable)">symmetricDifference</a>, <a href="MutableSet.html#toImmutable()">toImmutable</a>, <a href="MutableSet.html#union(org.eclipse.collections.api.set.SetIterable)">union</a>, <a href="MutableSet.html#zip(java.lang.Iterable)">zip</a>, <a href="MutableSet.html#zipWithIndex()">zipWithIndex</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from interface&nbsp;org.eclipse.collections.api.<a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a></h3>
<a id="methods.inherited.from.class.org.eclipse.collections.api.RichIterable">
<!-- -->
</a><code><a href="../RichIterable.html#aggregateBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function0,org.eclipse.collections.api.block.function.Function2,R)">aggregateBy</a>, <a href="../RichIterable.html#allSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">allSatisfy</a>, <a href="../RichIterable.html#allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">allSatisfyWith</a>, <a href="../RichIterable.html#anySatisfy(org.eclipse.collections.api.block.predicate.Predicate)">anySatisfy</a>, <a href="../RichIterable.html#anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">anySatisfyWith</a>, <a href="../RichIterable.html#appendString(java.lang.Appendable)">appendString</a>, <a href="../RichIterable.html#appendString(java.lang.Appendable,java.lang.String)">appendString</a>, <a href="../RichIterable.html#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a>, <a href="../RichIterable.html#asLazy()">asLazy</a>, <a href="../RichIterable.html#chunk(int)">chunk</a>, <a href="../RichIterable.html#collect(org.eclipse.collections.api.block.function.Function,R)">collect</a>, <a href="../RichIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction,R)">collectBoolean</a>, <a href="../RichIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction,R)">collectByte</a>, <a href="../RichIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction,R)">collectChar</a>, <a href="../RichIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction,R)">collectDouble</a>, <a href="../RichIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction,R)">collectFloat</a>, <a href="../RichIterable.html#collectIf(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function,R)">collectIf</a>, <a href="../RichIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction,R)">collectInt</a>, <a href="../RichIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction,R)">collectLong</a>, <a href="../RichIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction,R)">collectShort</a>, <a href="../RichIterable.html#collectWith(org.eclipse.collections.api.block.function.Function2,P,R)">collectWith</a>, <a href="../RichIterable.html#contains(java.lang.Object)">contains</a>, <a href="../RichIterable.html#containsAll(java.util.Collection)">containsAll</a>, <a href="../RichIterable.html#containsAllArguments(java.lang.Object...)">containsAllArguments</a>, <a href="../RichIterable.html#containsAllIterable(java.lang.Iterable)">containsAllIterable</a>, <a href="../RichIterable.html#containsBy(org.eclipse.collections.api.block.function.Function,V)">containsBy</a>, <a href="../RichIterable.html#count(org.eclipse.collections.api.block.predicate.Predicate)">count</a>, <a href="../RichIterable.html#countBy(org.eclipse.collections.api.block.function.Function,R)">countBy</a>, <a href="../RichIterable.html#countByEach(org.eclipse.collections.api.block.function.Function,R)">countByEach</a>, <a href="../RichIterable.html#countByWith(org.eclipse.collections.api.block.function.Function2,P,R)">countByWith</a>, <a href="../RichIterable.html#countWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">countWith</a>, <a href="../RichIterable.html#detect(org.eclipse.collections.api.block.predicate.Predicate)">detect</a>, <a href="../RichIterable.html#detectIfNone(org.eclipse.collections.api.block.predicate.Predicate,org.eclipse.collections.api.block.function.Function0)">detectIfNone</a>, <a href="../RichIterable.html#detectOptional(org.eclipse.collections.api.block.predicate.Predicate)">detectOptional</a>, <a href="../RichIterable.html#detectWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWith</a>, <a href="../RichIterable.html#detectWithIfNone(org.eclipse.collections.api.block.predicate.Predicate2,P,org.eclipse.collections.api.block.function.Function0)">detectWithIfNone</a>, <a href="../RichIterable.html#detectWithOptional(org.eclipse.collections.api.block.predicate.Predicate2,P)">detectWithOptional</a>, <a href="../RichIterable.html#each(org.eclipse.collections.api.block.procedure.Procedure)">each</a>, <a href="../RichIterable.html#flatCollect(org.eclipse.collections.api.block.function.Function,R)">flatCollect</a>, <a href="../RichIterable.html#flatCollectBoolean(org.eclipse.collections.api.block.function.Function,R)">flatCollectBoolean</a>, <a href="../RichIterable.html#flatCollectByte(org.eclipse.collections.api.block.function.Function,R)">flatCollectByte</a>, <a href="../RichIterable.html#flatCollectChar(org.eclipse.collections.api.block.function.Function,R)">flatCollectChar</a>, <a href="../RichIterable.html#flatCollectDouble(org.eclipse.collections.api.block.function.Function,R)">flatCollectDouble</a>, <a href="../RichIterable.html#flatCollectFloat(org.eclipse.collections.api.block.function.Function,R)">flatCollectFloat</a>, <a href="../RichIterable.html#flatCollectInt(org.eclipse.collections.api.block.function.Function,R)">flatCollectInt</a>, <a href="../RichIterable.html#flatCollectLong(org.eclipse.collections.api.block.function.Function,R)">flatCollectLong</a>, <a href="../RichIterable.html#flatCollectShort(org.eclipse.collections.api.block.function.Function,R)">flatCollectShort</a>, <a href="../RichIterable.html#flatCollectWith(org.eclipse.collections.api.block.function.Function2,P,R)">flatCollectWith</a>, <a href="../RichIterable.html#forEach(org.eclipse.collections.api.block.procedure.Procedure)">forEach</a>, <a href="../RichIterable.html#getAny()">getAny</a>, <a href="../RichIterable.html#getFirst()">getFirst</a>, <a href="../RichIterable.html#getLast()">getLast</a>, <a href="../RichIterable.html#getOnly()">getOnly</a>, <a href="../RichIterable.html#groupBy(org.eclipse.collections.api.block.function.Function,R)">groupBy</a>, <a href="../RichIterable.html#groupByAndCollect(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">groupByAndCollect</a>, <a href="../RichIterable.html#groupByEach(org.eclipse.collections.api.block.function.Function,R)">groupByEach</a>, <a href="../RichIterable.html#groupByUniqueKey(org.eclipse.collections.api.block.function.Function,R)">groupByUniqueKey</a>, <a href="../RichIterable.html#injectInto(double,org.eclipse.collections.api.block.function.primitive.DoubleObjectToDoubleFunction)">injectInto</a>, <a href="../RichIterable.html#injectInto(float,org.eclipse.collections.api.block.function.primitive.FloatObjectToFloatFunction)">injectInto</a>, <a href="../RichIterable.html#injectInto(int,org.eclipse.collections.api.block.function.primitive.IntObjectToIntFunction)">injectInto</a>, <a href="../RichIterable.html#injectInto(long,org.eclipse.collections.api.block.function.primitive.LongObjectToLongFunction)">injectInto</a>, <a href="../RichIterable.html#injectInto(IV,org.eclipse.collections.api.block.function.Function2)">injectInto</a>, <a href="../RichIterable.html#into(R)">into</a>, <a href="../RichIterable.html#isEmpty()">isEmpty</a>, <a href="../RichIterable.html#makeString()">makeString</a>, <a href="../RichIterable.html#makeString(java.lang.String)">makeString</a>, <a href="../RichIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)">makeString</a>, <a href="../RichIterable.html#max()">max</a>, <a href="../RichIterable.html#max(java.util.Comparator)">max</a>, <a href="../RichIterable.html#maxBy(org.eclipse.collections.api.block.function.Function)">maxBy</a>, <a href="../RichIterable.html#maxByOptional(org.eclipse.collections.api.block.function.Function)">maxByOptional</a>, <a href="../RichIterable.html#maxOptional()">maxOptional</a>, <a href="../RichIterable.html#maxOptional(java.util.Comparator)">maxOptional</a>, <a href="../RichIterable.html#min()">min</a>, <a href="../RichIterable.html#min(java.util.Comparator)">min</a>, <a href="../RichIterable.html#minBy(org.eclipse.collections.api.block.function.Function)">minBy</a>, <a href="../RichIterable.html#minByOptional(org.eclipse.collections.api.block.function.Function)">minByOptional</a>, <a href="../RichIterable.html#minOptional()">minOptional</a>, <a href="../RichIterable.html#minOptional(java.util.Comparator)">minOptional</a>, <a href="../RichIterable.html#noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate)">noneSatisfy</a>, <a href="../RichIterable.html#noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2,P)">noneSatisfyWith</a>, <a href="../RichIterable.html#notEmpty()">notEmpty</a>, <a href="../RichIterable.html#reduce(java.util.function.BinaryOperator)">reduce</a>, <a href="../RichIterable.html#reduceInPlace(java.util.function.Supplier,java.util.function.BiConsumer)">reduceInPlace</a>, <a href="../RichIterable.html#reduceInPlace(java.util.stream.Collector)">reduceInPlace</a>, <a href="../RichIterable.html#reject(org.eclipse.collections.api.block.predicate.Predicate,R)">reject</a>, <a href="../RichIterable.html#rejectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">rejectWith</a>, <a href="../RichIterable.html#select(org.eclipse.collections.api.block.predicate.Predicate,R)">select</a>, <a href="../RichIterable.html#selectWith(org.eclipse.collections.api.block.predicate.Predicate2,P,R)">selectWith</a>, <a href="../RichIterable.html#size()">size</a>, <a href="../RichIterable.html#summarizeDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">summarizeDouble</a>, <a href="../RichIterable.html#summarizeFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">summarizeFloat</a>, <a href="../RichIterable.html#summarizeInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">summarizeInt</a>, <a href="../RichIterable.html#summarizeLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">summarizeLong</a>, <a href="../RichIterable.html#sumOfDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction)">sumOfDouble</a>, <a href="../RichIterable.html#sumOfFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction)">sumOfFloat</a>, <a href="../RichIterable.html#sumOfInt(org.eclipse.collections.api.block.function.primitive.IntFunction)">sumOfInt</a>, <a href="../RichIterable.html#sumOfLong(org.eclipse.collections.api.block.function.primitive.LongFunction)">sumOfLong</a>, <a href="../RichIterable.html#toArray()">toArray</a>, <a href="../RichIterable.html#toArray(E%5B%5D)">toArray</a>, <a href="../RichIterable.html#toBag()">toBag</a>, <a href="../RichIterable.html#toBiMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toBiMap</a>, <a href="../RichIterable.html#toList()">toList</a>, <a href="../RichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toMap</a>, <a href="../RichIterable.html#toMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">toMap</a>, <a href="../RichIterable.html#toSet()">toSet</a>, <a href="../RichIterable.html#toSortedBag()">toSortedBag</a>, <a href="../RichIterable.html#toSortedBag(java.util.Comparator)">toSortedBag</a>, <a href="../RichIterable.html#toSortedBagBy(org.eclipse.collections.api.block.function.Function)">toSortedBagBy</a>, <a href="../RichIterable.html#toSortedList()">toSortedList</a>, <a href="../RichIterable.html#toSortedList(java.util.Comparator)">toSortedList</a>, <a href="../RichIterable.html#toSortedListBy(org.eclipse.collections.api.block.function.Function)">toSortedListBy</a>, <a href="../RichIterable.html#toSortedMap(java.util.Comparator,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../RichIterable.html#toSortedMap(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMap</a>, <a href="../RichIterable.html#toSortedMapBy(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">toSortedMapBy</a>, <a href="../RichIterable.html#toSortedSet()">toSortedSet</a>, <a href="../RichIterable.html#toSortedSet(java.util.Comparator)">toSortedSet</a>, <a href="../RichIterable.html#toSortedSetBy(org.eclipse.collections.api.block.function.Function)">toSortedSetBy</a>, <a href="../RichIterable.html#toString()">toString</a>, <a href="../RichIterable.html#zip(java.lang.Iterable,R)">zip</a>, <a href="../RichIterable.html#zipWithIndex(R)">zipWithIndex</a></code></div>
<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#contains(java.lang.Object)" title="class or interface in java.util" class="externalLink">contains</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true#containsAll(java.util.Collection)" title="class or interface in java.util" class="externalLink">containsAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true#hashCode()" title="class or interface in java.util" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/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>
<div class="inheritedList">
<h3>Methods inherited from interface&nbsp;org.eclipse.collections.api.set.<a href="SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a></h3>
<a id="methods.inherited.from.class.org.eclipse.collections.api.set.SetIterable">
<!-- -->
</a><code><a href="SetIterable.html#cartesianProduct(org.eclipse.collections.api.set.SetIterable)">cartesianProduct</a>, <a href="SetIterable.html#differenceInto(org.eclipse.collections.api.set.SetIterable,R)">differenceInto</a>, <a href="SetIterable.html#equals(java.lang.Object)">equals</a>, <a href="SetIterable.html#hashCode()">hashCode</a>, <a href="SetIterable.html#intersectInto(org.eclipse.collections.api.set.SetIterable,R)">intersectInto</a>, <a href="SetIterable.html#isProperSubsetOf(org.eclipse.collections.api.set.SetIterable)">isProperSubsetOf</a>, <a href="SetIterable.html#isSubsetOf(org.eclipse.collections.api.set.SetIterable)">isSubsetOf</a>, <a href="SetIterable.html#symmetricDifferenceInto(org.eclipse.collections.api.set.SetIterable,R)">symmetricDifferenceInto</a>, <a href="SetIterable.html#unionInto(org.eclipse.collections.api.set.SetIterable,R)">unionInto</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from interface&nbsp;org.eclipse.collections.api.set.<a href="UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a></h3>
<a id="methods.inherited.from.class.org.eclipse.collections.api.set.UnsortedSetIterable">
<!-- -->
</a><code><a href="UnsortedSetIterable.html#asParallel(java.util.concurrent.ExecutorService,int)">asParallel</a></code></div>
</section>
</li>
</ul>
</section>
<section class="details">
<ul class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<li class="blockList">
<section class="methodDetails"><a id="method.detail">
<!-- -->
</a>
<h2>Method Details</h2>
<ul class="blockList">
<li class="blockList">
<section class="detail">
<h3><a id="with(java.lang.Object)">
<!-- -->
</a><a id="with(T)">with</a></h3>
<div class="memberSignature"><span class="returnType"><a href="MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</span>&nbsp;<span class="memberName">with</span>&#8203;(<span class="arguments"><a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&nbsp;element)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../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="../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="../collection/FixedSizeCollection.html#with(T)">with</a></code>&nbsp;in interface&nbsp;<code><a href="../collection/FixedSizeCollection.html" title="interface in org.eclipse.collections.api.collection">FixedSizeCollection</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../collection/MutableCollection.html#with(T)">with</a></code>&nbsp;in interface&nbsp;<code><a href="../collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MutableSet.html#with(T)">with</a></code>&nbsp;in interface&nbsp;<code><a href="MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MutableSetIterable.html#with(T)">with</a></code>&nbsp;in interface&nbsp;<code><a href="MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">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="without(java.lang.Object)">
<!-- -->
</a><a id="without(T)">without</a></h3>
<div class="memberSignature"><span class="returnType"><a href="MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</span>&nbsp;<span class="memberName">without</span>&#8203;(<span class="arguments"><a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&nbsp;element)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../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="../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="../collection/FixedSizeCollection.html#without(T)">without</a></code>&nbsp;in interface&nbsp;<code><a href="../collection/FixedSizeCollection.html" title="interface in org.eclipse.collections.api.collection">FixedSizeCollection</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../collection/MutableCollection.html#without(T)">without</a></code>&nbsp;in interface&nbsp;<code><a href="../collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MutableSet.html#without(T)">without</a></code>&nbsp;in interface&nbsp;<code><a href="MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MutableSetIterable.html#without(T)">without</a></code>&nbsp;in interface&nbsp;<code><a href="MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">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="returnType"><a href="MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">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="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;&nbsp;elements)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../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="../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="../collection/FixedSizeCollection.html#withAll(java.lang.Iterable)">withAll</a></code>&nbsp;in interface&nbsp;<code><a href="../collection/FixedSizeCollection.html" title="interface in org.eclipse.collections.api.collection">FixedSizeCollection</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../collection/MutableCollection.html#withAll(java.lang.Iterable)">withAll</a></code>&nbsp;in interface&nbsp;<code><a href="../collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MutableSet.html#withAll(java.lang.Iterable)">withAll</a></code>&nbsp;in interface&nbsp;<code><a href="MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MutableSetIterable.html#withAll(java.lang.Iterable)">withAll</a></code>&nbsp;in interface&nbsp;<code><a href="MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">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="returnType"><a href="MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">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="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;&nbsp;elements)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../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="../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="../collection/FixedSizeCollection.html#withoutAll(java.lang.Iterable)">withoutAll</a></code>&nbsp;in interface&nbsp;<code><a href="../collection/FixedSizeCollection.html" title="interface in org.eclipse.collections.api.collection">FixedSizeCollection</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../collection/MutableCollection.html#withoutAll(java.lang.Iterable)">withoutAll</a></code>&nbsp;in interface&nbsp;<code><a href="../collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MutableSet.html#withoutAll(java.lang.Iterable)">withoutAll</a></code>&nbsp;in interface&nbsp;<code><a href="MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MutableSetIterable.html#withoutAll(java.lang.Iterable)">withoutAll</a></code>&nbsp;in interface&nbsp;<code><a href="MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">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="tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></h3>
<div class="memberSignature"><span class="returnType"><a href="FixedSizeSet.html" title="interface in org.eclipse.collections.api.set">FixedSizeSet</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</span>&nbsp;<span class="memberName">tap</span>&#8203;(<span class="arguments"><a href="../block/procedure/Procedure.html" title="interface in org.eclipse.collections.api.block.procedure">Procedure</a>&lt;? super <a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;&nbsp;procedure)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../RichIterable.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">RichIterable</a></code></span></div>
<div class="block">Executes the Procedure for each element in the iterable and returns <code>this</code>.
<p>
Example using a Java 8 lambda expression:
<pre>
RichIterable&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="../collection/FixedSizeCollection.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code>&nbsp;in interface&nbsp;<code><a href="../collection/FixedSizeCollection.html" title="interface in org.eclipse.collections.api.collection">FixedSizeCollection</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../collection/MutableCollection.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code>&nbsp;in interface&nbsp;<code><a href="../collection/MutableCollection.html" title="interface in org.eclipse.collections.api.collection">MutableCollection</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MutableSet.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code>&nbsp;in interface&nbsp;<code><a href="MutableSet.html" title="interface in org.eclipse.collections.api.set">MutableSet</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="MutableSetIterable.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code>&nbsp;in interface&nbsp;<code><a href="MutableSetIterable.html" title="interface in org.eclipse.collections.api.set">MutableSetIterable</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../RichIterable.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code>&nbsp;in interface&nbsp;<code><a href="../RichIterable.html" title="interface in org.eclipse.collections.api">RichIterable</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="SetIterable.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code>&nbsp;in interface&nbsp;<code><a href="SetIterable.html" title="interface in org.eclipse.collections.api.set">SetIterable</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="UnsortedSetIterable.html#tap(org.eclipse.collections.api.block.procedure.Procedure)">tap</a></code>&nbsp;in interface&nbsp;<code><a href="UnsortedSetIterable.html" title="interface in org.eclipse.collections.api.set">UnsortedSetIterable</a>&lt;<a href="FixedSizeSet.html" title="type parameter in FixedSizeSet">T</a>&gt;</code></dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../RichIterable.html#each(org.eclipse.collections.api.block.procedure.Procedure)"><code>RichIterable.each(Procedure)</code></a>,
<a href="../RichIterable.html#forEach(org.eclipse.collections.api.block.procedure.Procedure)"><code>RichIterable.forEach(Procedure)</code></a></dd>
</dl>
</section>
</li>
</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/FixedSizeSet.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>