blob: c7fdfa0dc4c023929a86b1c22b86de81a7c9ad4b [file] [log] [blame]
<!DOCTYPE HTML>
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (14.0.2) on Sat Aug 08 22:45:01 CDT 2020 -->
<title>UnsortedBagMultimap (Eclipse Collections - 10.3.0)</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="dc.created" content="2020-08-08">
<meta name="description" content="declaration: package: org.eclipse.collections.api.multimap.bag, interface: UnsortedBagMultimap">
<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,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":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/UnsortedBagMultimap.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.multimap.bag</a></div>
<h1 title="Interface UnsortedBagMultimap" class="title">Interface UnsortedBagMultimap&lt;K,&#8203;V&gt;</h1>
</div>
<div class="contentContainer">
<section class="description">
<dl>
<dt>All Superinterfaces:</dt>
<dd><code><a href="BagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">BagMultimap</a>&lt;K,&#8203;V&gt;</code>, <code><a href="../Multimap.html" title="interface in org.eclipse.collections.api.multimap">Multimap</a>&lt;K,&#8203;V&gt;</code></dd>
</dl>
<dl>
<dt>All Known Subinterfaces:</dt>
<dd><code><a href="ImmutableBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">ImmutableBagMultimap</a>&lt;K,&#8203;V&gt;</code>, <code><a href="MutableBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">MutableBagMultimap</a>&lt;K,&#8203;V&gt;</code></dd>
</dl>
<dl>
<dt>All Known Implementing Classes:</dt>
<dd><code><a href="../../../impl/multimap/bag/AbstractMutableBagMultimap.html" title="class in org.eclipse.collections.impl.multimap.bag">AbstractMutableBagMultimap</a></code>, <code><a href="../../../impl/multimap/bag/HashBagMultimap.html" title="class in org.eclipse.collections.impl.multimap.bag">HashBagMultimap</a></code>, <code><a href="../../../impl/multimap/bag/strategy/HashBagMultimapWithHashingStrategy.html" title="class in org.eclipse.collections.impl.multimap.bag.strategy">HashBagMultimapWithHashingStrategy</a></code>, <code><a href="../../../impl/multimap/bag/ImmutableBagMultimapImpl.html" title="class in org.eclipse.collections.impl.multimap.bag">ImmutableBagMultimapImpl</a></code>, <code><a href="../../../impl/multimap/bag/MultiReaderHashBagMultimap.html" title="class in org.eclipse.collections.impl.multimap.bag">MultiReaderHashBagMultimap</a></code>, <code><a href="../../../impl/multimap/bag/SynchronizedBagMultimap.html" title="class in org.eclipse.collections.impl.multimap.bag">SynchronizedBagMultimap</a></code>, <code><a href="../../../impl/multimap/bag/SynchronizedPutHashBagMultimap.html" title="class in org.eclipse.collections.impl.multimap.bag">SynchronizedPutHashBagMultimap</a></code></dd>
</dl>
<hr>
<pre>public interface <span class="typeNameLabel">UnsortedBagMultimap&lt;K,&#8203;V&gt;</span>
extends <a href="BagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">BagMultimap</a>&lt;K,&#8203;V&gt;</pre>
</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>&lt;K2,&#8203;
V2&gt;&nbsp;<a href="UnsortedBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">UnsortedBagMultimap</a>&lt;K2,&#8203;V2&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectKeyMultiValues(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">collectKeyMultiValues</a></span>&#8203;(<a href="../../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a>&lt;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;? extends K2&gt;&nbsp;keyFunction,
<a href="../../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a>&lt;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>,&#8203;? extends V2&gt;&nbsp;valueFunction)</code></th>
<td class="colLast">
<div class="block">Returns a new multimap with the results of applying the specified keyFunction and valueFunction on each key and corresponding values of the source multimap.</div>
</td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code>&lt;K2,&#8203;
V2&gt;&nbsp;<a href="UnsortedBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">UnsortedBagMultimap</a>&lt;K2,&#8203;V2&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectKeysValues(org.eclipse.collections.api.block.function.Function2)">collectKeysValues</a></span>&#8203;(<a href="../../block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a>&lt;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>,&#8203;<a href="../../tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a>&lt;K2,&#8203;V2&gt;&gt;&nbsp;function)</code></th>
<td class="colLast">
<div class="block">Returns a new multimap with the results of applying the specified function on each key and value of the source
multimap.</div>
</td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code>&lt;V2&gt;&nbsp;<a href="UnsortedBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">UnsortedBagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;V2&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#collectValues(org.eclipse.collections.api.block.function.Function)">collectValues</a></span>&#8203;(<a href="../../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a>&lt;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>,&#8203;? extends V2&gt;&nbsp;function)</code></th>
<td class="colLast">
<div class="block">Returns a new multimap with the results of applying the specified function on each value of the source
multimap.</div>
</td>
</tr>
<tr class="rowColor" id="i3">
<td class="colFirst"><code><a href="../../bag/UnsortedBag.html" title="interface in org.eclipse.collections.api.bag">UnsortedBag</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#get(K)">get</a></span>&#8203;(<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>&nbsp;key)</code></th>
<td class="colLast">
<div class="block">Returns a view of all values associated with the given key.</div>
</td>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><code><a href="UnsortedBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">UnsortedBagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</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">Creates a new instance of the same implementation type, using the default capacity and growth parameters.</div>
</td>
</tr>
<tr class="rowColor" id="i5">
<td class="colFirst"><code><a href="UnsortedBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">UnsortedBagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rejectKeysMultiValues(org.eclipse.collections.api.block.predicate.Predicate2)">rejectKeysMultiValues</a></span>&#8203;(<a href="../../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a>&lt;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;? super <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;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;&gt;&nbsp;predicate)</code></th>
<td class="colLast">
<div class="block">Returns all elements of the source multimap that don't satisfy the predicate.</div>
</td>
</tr>
<tr class="altColor" id="i6">
<td class="colFirst"><code><a href="UnsortedBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">UnsortedBagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#rejectKeysValues(org.eclipse.collections.api.block.predicate.Predicate2)">rejectKeysValues</a></span>&#8203;(<a href="../../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a>&lt;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;&nbsp;predicate)</code></th>
<td class="colLast">
<div class="block">Returns all elements of the source multimap that don't satisfy the predicate.</div>
</td>
</tr>
<tr class="rowColor" id="i7">
<td class="colFirst"><code><a href="UnsortedBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">UnsortedBagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#selectKeysMultiValues(org.eclipse.collections.api.block.predicate.Predicate2)">selectKeysMultiValues</a></span>&#8203;(<a href="../../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a>&lt;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;? super <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;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;&gt;&nbsp;predicate)</code></th>
<td class="colLast">
<div class="block">Returns all elements of the source multimap that satisfies the predicate.</div>
</td>
</tr>
<tr class="altColor" id="i8">
<td class="colFirst"><code><a href="UnsortedBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">UnsortedBagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#selectKeysValues(org.eclipse.collections.api.block.predicate.Predicate2)">selectKeysValues</a></span>&#8203;(<a href="../../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a>&lt;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;&nbsp;predicate)</code></th>
<td class="colLast">
<div class="block">Returns all elements of the source multimap that satisfies the predicate.</div>
</td>
</tr>
<tr class="rowColor" id="i9">
<td class="colFirst"><code><a href="ImmutableBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">ImmutableBagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</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 Multimap <em>if it is not already immutable</em>.</div>
</td>
</tr>
<tr class="altColor" id="i10">
<td class="colFirst"><code><a href="MutableBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">MutableBagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toMutable()">toMutable</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a mutable <em>copy</em> of this Multimap.</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="inheritedList">
<h3>Methods inherited from interface&nbsp;org.eclipse.collections.api.multimap.bag.<a href="BagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">BagMultimap</a></h3>
<a id="methods.inherited.from.class.org.eclipse.collections.api.multimap.bag.BagMultimap">
<!-- -->
</a><code><a href="BagMultimap.html#flip()">flip</a></code></div>
<div class="inheritedList">
<h3>Methods inherited from interface&nbsp;org.eclipse.collections.api.multimap.<a href="../Multimap.html" title="interface in org.eclipse.collections.api.multimap">Multimap</a></h3>
<a id="methods.inherited.from.class.org.eclipse.collections.api.multimap.Multimap">
<!-- -->
</a><code><a href="../Multimap.html#collectKeyMultiValues(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function,R)">collectKeyMultiValues</a>, <a href="../Multimap.html#collectKeysValues(org.eclipse.collections.api.block.function.Function2,R)">collectKeysValues</a>, <a href="../Multimap.html#collectValues(org.eclipse.collections.api.block.function.Function,R)">collectValues</a>, <a href="../Multimap.html#containsKey(java.lang.Object)">containsKey</a>, <a href="../Multimap.html#containsKeyAndValue(java.lang.Object,java.lang.Object)">containsKeyAndValue</a>, <a href="../Multimap.html#containsValue(java.lang.Object)">containsValue</a>, <a href="../Multimap.html#equals(java.lang.Object)">equals</a>, <a href="../Multimap.html#forEachKey(org.eclipse.collections.api.block.procedure.Procedure)">forEachKey</a>, <a href="../Multimap.html#forEachKeyMultiValues(org.eclipse.collections.api.block.procedure.Procedure2)">forEachKeyMultiValues</a>, <a href="../Multimap.html#forEachKeyValue(org.eclipse.collections.api.block.procedure.Procedure2)">forEachKeyValue</a>, <a href="../Multimap.html#forEachValue(org.eclipse.collections.api.block.procedure.Procedure)">forEachValue</a>, <a href="../Multimap.html#hashCode()">hashCode</a>, <a href="../Multimap.html#isEmpty()">isEmpty</a>, <a href="../Multimap.html#keyBag()">keyBag</a>, <a href="../Multimap.html#keyMultiValuePairsView()">keyMultiValuePairsView</a>, <a href="../Multimap.html#keySet()">keySet</a>, <a href="../Multimap.html#keysView()">keysView</a>, <a href="../Multimap.html#keyValuePairsView()">keyValuePairsView</a>, <a href="../Multimap.html#multiValuesView()">multiValuesView</a>, <a href="../Multimap.html#notEmpty()">notEmpty</a>, <a href="../Multimap.html#rejectKeysMultiValues(org.eclipse.collections.api.block.predicate.Predicate2,R)">rejectKeysMultiValues</a>, <a href="../Multimap.html#rejectKeysValues(org.eclipse.collections.api.block.predicate.Predicate2,R)">rejectKeysValues</a>, <a href="../Multimap.html#selectKeysMultiValues(org.eclipse.collections.api.block.predicate.Predicate2,R)">selectKeysMultiValues</a>, <a href="../Multimap.html#selectKeysValues(org.eclipse.collections.api.block.predicate.Predicate2,R)">selectKeysValues</a>, <a href="../Multimap.html#size()">size</a>, <a href="../Multimap.html#sizeDistinct()">sizeDistinct</a>, <a href="../Multimap.html#toMap()">toMap</a>, <a href="../Multimap.html#toMap(org.eclipse.collections.api.block.function.Function0)">toMap</a>, <a href="../Multimap.html#valuesView()">valuesView</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="newEmpty()">newEmpty</a></h3>
<div class="memberSignature"><span class="returnType"><a href="UnsortedBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">UnsortedBagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</span>&nbsp;<span class="memberName">newEmpty</span>()</div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../Multimap.html#newEmpty()">Multimap</a></code></span></div>
<div class="block">Creates a new instance of the same implementation type, using the default capacity and growth parameters.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="BagMultimap.html#newEmpty()">newEmpty</a></code>&nbsp;in interface&nbsp;<code><a href="BagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">BagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../Multimap.html#newEmpty()">newEmpty</a></code>&nbsp;in interface&nbsp;<code><a href="../Multimap.html" title="interface in org.eclipse.collections.api.multimap">Multimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="get(java.lang.Object)">
<!-- -->
</a><a id="get(K)">get</a></h3>
<div class="memberSignature"><span class="returnType"><a href="../../bag/UnsortedBag.html" title="interface in org.eclipse.collections.api.bag">UnsortedBag</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</span>&nbsp;<span class="memberName">get</span>&#8203;(<span class="arguments"><a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>&nbsp;key)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../Multimap.html#get(K)">Multimap</a></code></span></div>
<div class="block">Returns a view of all values associated with the given key.
<p>If the given key does not exist, an empty <a href="../../RichIterable.html" title="interface in org.eclipse.collections.api"><code>RichIterable</code></a> is returned.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="BagMultimap.html#get(K)">get</a></code>&nbsp;in interface&nbsp;<code><a href="BagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">BagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../Multimap.html#get(K)">get</a></code>&nbsp;in interface&nbsp;<code><a href="../Multimap.html" title="interface in org.eclipse.collections.api.multimap">Multimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>key</code> - the key to search for</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="toMutable()">toMutable</a></h3>
<div class="memberSignature"><span class="returnType"><a href="MutableBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">MutableBagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</span>&nbsp;<span class="memberName">toMutable</span>()</div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../Multimap.html#toMutable()">Multimap</a></code></span></div>
<div class="block">Returns a mutable <em>copy</em> of this Multimap.</div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../Multimap.html#toMutable()">toMutable</a></code>&nbsp;in interface&nbsp;<code><a href="../Multimap.html" title="interface in org.eclipse.collections.api.multimap">Multimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="toImmutable()">toImmutable</a></h3>
<div class="memberSignature"><span class="returnType"><a href="ImmutableBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">ImmutableBagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</span>&nbsp;<span class="memberName">toImmutable</span>()</div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../Multimap.html#toImmutable()">Multimap</a></code></span></div>
<div class="block">Returns an immutable copy of this Multimap <em>if it is not already immutable</em>. If the Multimap is immutable,
it will return itself.
<p> The returned Multimap will be <code>Serializable</code> if this Multimap is <code>Serializable</code>.</p></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../Multimap.html#toImmutable()">toImmutable</a></code>&nbsp;in interface&nbsp;<code><a href="../Multimap.html" title="interface in org.eclipse.collections.api.multimap">Multimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="selectKeysValues(org.eclipse.collections.api.block.predicate.Predicate2)">selectKeysValues</a></h3>
<div class="memberSignature"><span class="returnType"><a href="UnsortedBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">UnsortedBagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</span>&nbsp;<span class="memberName">selectKeysValues</span>&#8203;(<span class="arguments"><a href="../../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a>&lt;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;&nbsp;predicate)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../Multimap.html#selectKeysValues(org.eclipse.collections.api.block.predicate.Predicate2)">Multimap</a></code></span></div>
<div class="block">Returns all elements of the source multimap that satisfies the predicate. This method is also
commonly called filter.
<pre>e.g.
return multimap.<b>selectKeysValues</b>(new Predicate2&lt;Integer, Person&gt;()
{
public boolean accept(Integer age, Person person)
{
return (age &gt;= 18)
&amp;&amp; (person.getAddress().getCity().equals("Metuchen"));
}
});
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="BagMultimap.html#selectKeysValues(org.eclipse.collections.api.block.predicate.Predicate2)">selectKeysValues</a></code>&nbsp;in interface&nbsp;<code><a href="BagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">BagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../Multimap.html#selectKeysValues(org.eclipse.collections.api.block.predicate.Predicate2)">selectKeysValues</a></code>&nbsp;in interface&nbsp;<code><a href="../Multimap.html" title="interface in org.eclipse.collections.api.multimap">Multimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>predicate</code> - a <a href="../../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a> to use as the select criteria</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>Multimap</code>, which contains elements as a result of the select criteria</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="rejectKeysValues(org.eclipse.collections.api.block.predicate.Predicate2)">rejectKeysValues</a></h3>
<div class="memberSignature"><span class="returnType"><a href="UnsortedBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">UnsortedBagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</span>&nbsp;<span class="memberName">rejectKeysValues</span>&#8203;(<span class="arguments"><a href="../../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a>&lt;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;&nbsp;predicate)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../Multimap.html#rejectKeysValues(org.eclipse.collections.api.block.predicate.Predicate2)">Multimap</a></code></span></div>
<div class="block">Returns all elements of the source multimap that don't satisfy the predicate.
<pre>e.g.
return multimap.<b>rejectKeysValues</b>(new Predicate2&lt;Integer, Person&gt;()
{
public boolean accept(Integer age, Person person)
{
return (age &gt;= 18)
&amp;&amp; (person.getAddress().getCity().equals("Metuchen"));
}
});
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="BagMultimap.html#rejectKeysValues(org.eclipse.collections.api.block.predicate.Predicate2)">rejectKeysValues</a></code>&nbsp;in interface&nbsp;<code><a href="BagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">BagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../Multimap.html#rejectKeysValues(org.eclipse.collections.api.block.predicate.Predicate2)">rejectKeysValues</a></code>&nbsp;in interface&nbsp;<code><a href="../Multimap.html" title="interface in org.eclipse.collections.api.multimap">Multimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>predicate</code> - a <a href="../../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a> to use as the reject criteria</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>Multimap</code>, which contains elements that don't satisfy the <code>predicate</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="selectKeysMultiValues(org.eclipse.collections.api.block.predicate.Predicate2)">selectKeysMultiValues</a></h3>
<div class="memberSignature"><span class="returnType"><a href="UnsortedBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">UnsortedBagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</span>&nbsp;<span class="memberName">selectKeysMultiValues</span>&#8203;(<span class="arguments"><a href="../../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a>&lt;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;? super <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;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;&gt;&nbsp;predicate)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../Multimap.html#selectKeysMultiValues(org.eclipse.collections.api.block.predicate.Predicate2)">Multimap</a></code></span></div>
<div class="block">Returns all elements of the source multimap that satisfies the predicate. This method is also
commonly called filter.
<pre>e.g.
return multimap.<b>selectKeysMultiValues</b>(new Predicate2&lt;Integer, Iterable&lt;Person&gt;&gt;()
{
public boolean accept(Integer age, Iterable&lt;Person&gt; values)
{
return (age &gt;= 18)
&amp;&amp; ((RichIterable&lt;Person&gt;)values.size() &gt;= 2);
}
});
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="BagMultimap.html#selectKeysMultiValues(org.eclipse.collections.api.block.predicate.Predicate2)">selectKeysMultiValues</a></code>&nbsp;in interface&nbsp;<code><a href="BagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">BagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../Multimap.html#selectKeysMultiValues(org.eclipse.collections.api.block.predicate.Predicate2)">selectKeysMultiValues</a></code>&nbsp;in interface&nbsp;<code><a href="../Multimap.html" title="interface in org.eclipse.collections.api.multimap">Multimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>predicate</code> - a <a href="../../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a> to use as the select criteria</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>Multimap</code>, which contains elements as a result of the select criteria</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="rejectKeysMultiValues(org.eclipse.collections.api.block.predicate.Predicate2)">rejectKeysMultiValues</a></h3>
<div class="memberSignature"><span class="returnType"><a href="UnsortedBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">UnsortedBagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</span>&nbsp;<span class="memberName">rejectKeysMultiValues</span>&#8203;(<span class="arguments"><a href="../../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate">Predicate2</a>&lt;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;? super <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;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;&gt;&nbsp;predicate)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../Multimap.html#rejectKeysMultiValues(org.eclipse.collections.api.block.predicate.Predicate2)">Multimap</a></code></span></div>
<div class="block">Returns all elements of the source multimap that don't satisfy the predicate.
<pre>e.g.
return multimap.<b>rejectKeysMultiValues</b>(new Predicate2&lt;Integer, Iterable&lt;Person&gt;&gt;()
{
public boolean accept(Integer age, Iterable&lt;Person&gt; values)
{
return (age &gt;= 18)
&amp;&amp; ((RichIterable&lt;Person&gt;)values.size() &gt;= 2);
}
});
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="BagMultimap.html#rejectKeysMultiValues(org.eclipse.collections.api.block.predicate.Predicate2)">rejectKeysMultiValues</a></code>&nbsp;in interface&nbsp;<code><a href="BagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">BagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></dd>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../Multimap.html#rejectKeysMultiValues(org.eclipse.collections.api.block.predicate.Predicate2)">rejectKeysMultiValues</a></code>&nbsp;in interface&nbsp;<code><a href="../Multimap.html" title="interface in org.eclipse.collections.api.multimap">Multimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>predicate</code> - a <a href="../../block/predicate/Predicate2.html" title="interface in org.eclipse.collections.api.block.predicate"><code>Predicate2</code></a> to use as the reject criteria</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>Multimap</code>, which contains elements that don't satisfy the <code>predicate</code></dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="collectKeysValues(org.eclipse.collections.api.block.function.Function2)">collectKeysValues</a></h3>
<div class="memberSignature"><span class="typeParameters">&lt;K2,&#8203;
V2&gt;</span>&nbsp;<span class="returnType"><a href="UnsortedBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">UnsortedBagMultimap</a>&lt;K2,&#8203;V2&gt;</span>&nbsp;<span class="memberName">collectKeysValues</span>&#8203;(<span class="arguments"><a href="../../block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function">Function2</a>&lt;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>,&#8203;<a href="../../tuple/Pair.html" title="interface in org.eclipse.collections.api.tuple">Pair</a>&lt;K2,&#8203;V2&gt;&gt;&nbsp;function)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../Multimap.html#collectKeysValues(org.eclipse.collections.api.block.function.Function2)">Multimap</a></code></span></div>
<div class="block">Returns a new multimap with the results of applying the specified function on each key and value of the source
multimap. This method is also commonly called transform or map.
<pre>e.g.
return multimap.collectKeysValues(new Function2&lt;Integer, Person, Pair&lt;String, String&gt;&gt;()
{
public Pair&lt;String, String&gt; valueOf(Integer age, Person person)
{
return Tuples.pair(age.toString(), person.getLastName());
}
});
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../Multimap.html#collectKeysValues(org.eclipse.collections.api.block.function.Function2)">collectKeysValues</a></code>&nbsp;in interface&nbsp;<code><a href="../Multimap.html" title="interface in org.eclipse.collections.api.multimap">Multimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>function</code> - a <a href="../../block/function/Function2.html" title="interface in org.eclipse.collections.api.block.function"><code>Function2</code></a> to use for transformation</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>Multimap</code>, which contains elements as a result of the transformation</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="collectKeyMultiValues(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">collectKeyMultiValues</a></h3>
<div class="memberSignature"><span class="typeParameters">&lt;K2,&#8203;
V2&gt;</span>&nbsp;<span class="returnType"><a href="UnsortedBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">UnsortedBagMultimap</a>&lt;K2,&#8203;V2&gt;</span>&nbsp;<span class="memberName">collectKeyMultiValues</span>&#8203;(<span class="arguments"><a href="../../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a>&lt;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;? extends K2&gt;&nbsp;keyFunction,
<a href="../../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a>&lt;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>,&#8203;? extends V2&gt;&nbsp;valueFunction)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../Multimap.html#collectKeyMultiValues(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">Multimap</a></code></span></div>
<div class="block">Returns a new multimap with the results of applying the specified keyFunction and valueFunction on each key and corresponding values of the source multimap.
This method is also commonly called transform or map.
<pre>e.g.
return multimap.collectKeyMultiValues(each -&gt; each + 1, Person::getLastName);
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../Multimap.html#collectKeyMultiValues(org.eclipse.collections.api.block.function.Function,org.eclipse.collections.api.block.function.Function)">collectKeyMultiValues</a></code>&nbsp;in interface&nbsp;<code><a href="../Multimap.html" title="interface in org.eclipse.collections.api.multimap">Multimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>keyFunction</code> - <a href="../../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to use transformation to get the key</dd>
<dd><code>valueFunction</code> - <a href="../../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to use transformation to get the values</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>a new <code>Multimap</code>, which contains elements as a result of the transformation</dd>
</dl>
</section>
</li>
<li class="blockList">
<section class="detail">
<h3><a id="collectValues(org.eclipse.collections.api.block.function.Function)">collectValues</a></h3>
<div class="memberSignature"><span class="typeParameters">&lt;V2&gt;</span>&nbsp;<span class="returnType"><a href="UnsortedBagMultimap.html" title="interface in org.eclipse.collections.api.multimap.bag">UnsortedBagMultimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;V2&gt;</span>&nbsp;<span class="memberName">collectValues</span>&#8203;(<span class="arguments"><a href="../../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function">Function</a>&lt;? super <a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>,&#8203;? extends V2&gt;&nbsp;function)</span></div>
<div class="block"><span class="descfrmTypeLabel">Description copied from interface:&nbsp;<code><a href="../Multimap.html#collectValues(org.eclipse.collections.api.block.function.Function)">Multimap</a></code></span></div>
<div class="block">Returns a new multimap with the results of applying the specified function on each value of the source
multimap. This method is also commonly called transform or map.
<pre>e.g.
return multimap.collectValues(new Function&lt;Person, String&gt;()
{
public String valueOf(Person person)
{
return person.getLastName();
}
});
</pre></div>
<dl>
<dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
<dd><code><a href="../Multimap.html#collectValues(org.eclipse.collections.api.block.function.Function)">collectValues</a></code>&nbsp;in interface&nbsp;<code><a href="../Multimap.html" title="interface in org.eclipse.collections.api.multimap">Multimap</a>&lt;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">K</a>,&#8203;<a href="UnsortedBagMultimap.html" title="type parameter in UnsortedBagMultimap">V</a>&gt;</code></dd>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>function</code> - a <a href="../../block/function/Function.html" title="interface in org.eclipse.collections.api.block.function"><code>Function</code></a> to use for transformation</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd><code>Multimap</code>, which contains elements as a result of the transformation</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/UnsortedBagMultimap.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>