| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (14.0.2) on Thu Aug 20 21:25:36 CDT 2020 --> |
| <title>MutableIntByteMap (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.map.primitive, interface: MutableIntByteMap"> |
| <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":18,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":18,"i19":6,"i20":6,"i21":6}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default 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/MutableIntByteMap.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <div class="navListSearch"><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </div> |
| </div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <div class="skipNav"><a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| </nav> |
| </header> |
| <div class="flexContent"> |
| <main role="main"> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.eclipse.collections.api.map.primitive</a></div> |
| <h1 title="Interface MutableIntByteMap" class="title">Interface MutableIntByteMap</h1> |
| </div> |
| <div class="contentContainer"> |
| <section class="description"> |
| <dl> |
| <dt>All Superinterfaces:</dt> |
| <dd><code><a href="../../ByteIterable.html" title="interface in org.eclipse.collections.api">ByteIterable</a></code>, <code><a href="ByteValuesMap.html" title="interface in org.eclipse.collections.api.map.primitive">ByteValuesMap</a></code>, <code><a href="IntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">IntByteMap</a></code>, <code><a href="MutableByteValuesMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableByteValuesMap</a></code>, <code><a href="../../PrimitiveIterable.html" title="interface in org.eclipse.collections.api">PrimitiveIterable</a></code></dd> |
| </dl> |
| <dl> |
| <dt>All Known Implementing Classes:</dt> |
| <dd><code><a href="../../../impl/map/mutable/primitive/IntByteHashMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">IntByteHashMap</a></code>, <code><a href="../../../impl/map/mutable/primitive/SynchronizedIntByteMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">SynchronizedIntByteMap</a></code>, <code><a href="../../../impl/map/mutable/primitive/UnmodifiableIntByteMap.html" title="class in org.eclipse.collections.impl.map.mutable.primitive">UnmodifiableIntByteMap</a></code></dd> |
| </dl> |
| <hr> |
| <pre>public interface <span class="typeNameLabel">MutableIntByteMap</span> |
| extends <a href="IntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">IntByteMap</a>, <a href="MutableByteValuesMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableByteValuesMap</a></pre> |
| <div class="block">This file was automatically generated from template file mutablePrimitivePrimitiveMap.stg.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0.</dd> |
| </dl> |
| </section> |
| <section class="summary"> |
| <ul class="blockList"> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <li class="blockList"> |
| <section class="methodSummary"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h2>Method Summary</h2> |
| <div class="memberSummary"> |
| <div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="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><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t5" class="tableTab" onclick="show(16);">Default 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>byte</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#addToValue(int,byte)">addToValue</a></span>​(int key, |
| byte toBeAdded)</code></th> |
| <td class="colLast"> |
| <div class="block">Increments and updates the value associated with the key, if a value exists, or |
| sets the value to be the specified value if one does not.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i1"> |
| <td class="colFirst"><code><a href="MutableIntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableIntByteMap</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asSynchronized()">asSynchronized</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a synchronized view of this map, delegating all operations to this map but |
| ensuring only one caller has access to the map at a time.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i2"> |
| <td class="colFirst"><code><a href="MutableIntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableIntByteMap</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#asUnmodifiable()">asUnmodifiable</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an unmodifiable view of this map, delegating all read-only operations to this |
| map and throwing an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>UnsupportedOperationException</code></a> for all mutating operations.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i3"> |
| <td class="colFirst"><code><a href="MutableByteIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableByteIntMap</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#flipUniqueValues()">flipUniqueValues</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Return the ByteIntMap that is obtained by flipping the direction of this map and making the associations |
| from value to key.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i4"> |
| <td class="colFirst"><code>byte</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIfAbsentPut(int,byte)">getIfAbsentPut</a></span>​(int key, |
| byte value)</code></th> |
| <td class="colLast"> |
| <div class="block">Retrieves the value associated with the key if one exists; if it does not, |
| associates a value with the key.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i5"> |
| <td class="colFirst"><code>byte</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIfAbsentPut(int,org.eclipse.collections.api.block.function.primitive.ByteFunction0)">getIfAbsentPut</a></span>​(int key, |
| <a href="../../block/function/primitive/ByteFunction0.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteFunction0</a> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Retrieves the value associated with the key if one exists; if it does not, |
| invokes the supplier and associates the result with the key.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i6"> |
| <td class="colFirst"><code><P> byte</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIfAbsentPutWith(int,org.eclipse.collections.api.block.function.primitive.ByteFunction,P)">getIfAbsentPutWith</a></span>​(int key, |
| <a href="../../block/function/primitive/ByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteFunction</a><? super P> function, |
| P parameter)</code></th> |
| <td class="colLast"> |
| <div class="block">Retrieves the value associated with the key if one exists; if it does not, |
| invokes the value function with the parameter and associates the result with the key.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i7"> |
| <td class="colFirst"><code>byte</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getIfAbsentPutWithKey(int,org.eclipse.collections.api.block.function.primitive.IntToByteFunction)">getIfAbsentPutWithKey</a></span>​(int key, |
| <a href="../../block/function/primitive/IntToByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToByteFunction</a> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Retrieves the value associated with the key if one exists; if it does not, |
| associates the result of invoking the value function with the key.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i8"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#put(int,byte)">put</a></span>​(int key, |
| byte value)</code></th> |
| <td class="colLast"> |
| <div class="block">Associates a value with the specified key.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i9"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#putAll(org.eclipse.collections.api.map.primitive.IntByteMap)">putAll</a></span>​(<a href="IntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">IntByteMap</a> map)</code></th> |
| <td class="colLast"> |
| <div class="block">Puts all of the key/value mappings from the specified map into this map.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i10"> |
| <td class="colFirst"><code>default void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#putPair(org.eclipse.collections.api.tuple.primitive.IntBytePair)">putPair</a></span>​(<a href="../../tuple/primitive/IntBytePair.html" title="interface in org.eclipse.collections.api.tuple.primitive">IntBytePair</a> keyValuePair)</code></th> |
| <td class="colLast"> |
| <div class="block">This method allows MutableIntByteMap the ability to add an element in the form of IntBytePair.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i11"> |
| <td class="colFirst"><code><a href="MutableIntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableIntByteMap</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#reject(org.eclipse.collections.api.block.predicate.primitive.IntBytePredicate)">reject</a></span>​(<a href="../../block/predicate/primitive/IntBytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntBytePredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Return a copy of this map containing only the key/value pairs that do not match the |
| predicate.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i12"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remove(int)">remove</a></span>​(int key)</code></th> |
| <td class="colLast"> |
| <div class="block">Removes the mapping associated with the key, if one exists, from the map.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i13"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeKey(int)">removeKey</a></span>​(int key)</code></th> |
| <td class="colLast"> |
| <div class="block">Removes the mapping associated with the key, if one exists, from the map.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i14"> |
| <td class="colFirst"><code>byte</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#removeKeyIfAbsent(int,byte)">removeKeyIfAbsent</a></span>​(int key, |
| byte value)</code></th> |
| <td class="colLast"> |
| <div class="block">Removes the mapping associated with the key, if one exists, from the map, |
| returning the previously associated value with the key.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i15"> |
| <td class="colFirst"><code><a href="MutableIntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableIntByteMap</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#select(org.eclipse.collections.api.block.predicate.primitive.IntBytePredicate)">select</a></span>​(<a href="../../block/predicate/primitive/IntBytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntBytePredicate</a> predicate)</code></th> |
| <td class="colLast"> |
| <div class="block">Return a copy of this map containing only the key/value pairs that match the predicate.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i16"> |
| <td class="colFirst"><code>byte</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateValue(int,byte,org.eclipse.collections.api.block.function.primitive.ByteToByteFunction)">updateValue</a></span>​(int key, |
| byte initialValueIfAbsent, |
| <a href="../../block/function/primitive/ByteToByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToByteFunction</a> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Updates or sets the value associated with the key by applying the function to the |
| existing value, if one exists, or to the specified initial value if one does not.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i17"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#updateValues(org.eclipse.collections.api.block.function.primitive.IntByteToByteFunction)">updateValues</a></span>​(<a href="../../block/function/primitive/IntByteToByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntByteToByteFunction</a> function)</code></th> |
| <td class="colLast"> |
| <div class="block">Updates the values in-place.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i18"> |
| <td class="colFirst"><code>default <a href="MutableIntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableIntByteMap</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withAllKeyValues(java.lang.Iterable)">withAllKeyValues</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><<a href="../../tuple/primitive/IntBytePair.html" title="interface in org.eclipse.collections.api.tuple.primitive">IntBytePair</a>> keyValuePairs)</code></th> |
| <td class="colLast"> |
| <div class="block">Puts all of the key/value mappings from the specified pairs into this map.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i19"> |
| <td class="colFirst"><code><a href="MutableIntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableIntByteMap</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withKeyValue(int,byte)">withKeyValue</a></span>​(int key, |
| byte value)</code></th> |
| <td class="colLast"> |
| <div class="block">Associates a value with the specified key.</div> |
| </td> |
| </tr> |
| <tr class="altColor" id="i20"> |
| <td class="colFirst"><code><a href="MutableIntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableIntByteMap</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withoutAllKeys(org.eclipse.collections.api.IntIterable)">withoutAllKeys</a></span>​(<a href="../../IntIterable.html" title="interface in org.eclipse.collections.api">IntIterable</a> keys)</code></th> |
| <td class="colLast"> |
| <div class="block">Removes the mappings associated with all the keys, if they exist, from this map.</div> |
| </td> |
| </tr> |
| <tr class="rowColor" id="i21"> |
| <td class="colFirst"><code><a href="MutableIntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableIntByteMap</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#withoutKey(int)">withoutKey</a></span>​(int key)</code></th> |
| <td class="colLast"> |
| <div class="block">Removes the mapping associated with the key, if one exists, from this map.</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| </div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.<a href="../../ByteIterable.html" title="interface in org.eclipse.collections.api">ByteIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.ByteIterable"> |
| <!-- --> |
| </a><code><a href="../../ByteIterable.html#allSatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate)">allSatisfy</a>, <a href="../../ByteIterable.html#anySatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate)">anySatisfy</a>, <a href="../../ByteIterable.html#asLazy()">asLazy</a>, <a href="../../ByteIterable.html#average()">average</a>, <a href="../../ByteIterable.html#averageIfEmpty(double)">averageIfEmpty</a>, <a href="../../ByteIterable.html#chunk(int)">chunk</a>, <a href="../../ByteIterable.html#collect(org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction,R)">collect</a>, <a href="../../ByteIterable.html#collectBoolean(org.eclipse.collections.api.block.function.primitive.ByteToBooleanFunction,R)">collectBoolean</a>, <a href="../../ByteIterable.html#collectByte(org.eclipse.collections.api.block.function.primitive.ByteToByteFunction,R)">collectByte</a>, <a href="../../ByteIterable.html#collectChar(org.eclipse.collections.api.block.function.primitive.ByteToCharFunction,R)">collectChar</a>, <a href="../../ByteIterable.html#collectDouble(org.eclipse.collections.api.block.function.primitive.ByteToDoubleFunction,R)">collectDouble</a>, <a href="../../ByteIterable.html#collectFloat(org.eclipse.collections.api.block.function.primitive.ByteToFloatFunction,R)">collectFloat</a>, <a href="../../ByteIterable.html#collectInt(org.eclipse.collections.api.block.function.primitive.ByteToIntFunction,R)">collectInt</a>, <a href="../../ByteIterable.html#collectLong(org.eclipse.collections.api.block.function.primitive.ByteToLongFunction,R)">collectLong</a>, <a href="../../ByteIterable.html#collectShort(org.eclipse.collections.api.block.function.primitive.ByteToShortFunction,R)">collectShort</a>, <a href="../../ByteIterable.html#contains(byte)">contains</a>, <a href="../../ByteIterable.html#containsAll(byte...)">containsAll</a>, <a href="../../ByteIterable.html#containsAll(org.eclipse.collections.api.ByteIterable)">containsAll</a>, <a href="../../ByteIterable.html#count(org.eclipse.collections.api.block.predicate.primitive.BytePredicate)">count</a>, <a href="../../ByteIterable.html#detectIfNone(org.eclipse.collections.api.block.predicate.primitive.BytePredicate,byte)">detectIfNone</a>, <a href="../../ByteIterable.html#each(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure)">each</a>, <a href="../../ByteIterable.html#flatCollect(org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction,R)">flatCollect</a>, <a href="../../ByteIterable.html#forEach(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure)">forEach</a>, <a href="../../ByteIterable.html#injectInto(T,org.eclipse.collections.api.block.function.primitive.ObjectByteToObjectFunction)">injectInto</a>, <a href="../../ByteIterable.html#max()">max</a>, <a href="../../ByteIterable.html#maxIfEmpty(byte)">maxIfEmpty</a>, <a href="../../ByteIterable.html#median()">median</a>, <a href="../../ByteIterable.html#medianIfEmpty(double)">medianIfEmpty</a>, <a href="../../ByteIterable.html#min()">min</a>, <a href="../../ByteIterable.html#minIfEmpty(byte)">minIfEmpty</a>, <a href="../../ByteIterable.html#noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate)">noneSatisfy</a>, <a href="../../ByteIterable.html#reduce(org.eclipse.collections.api.block.function.primitive.LongByteToLongFunction)">reduce</a>, <a href="../../ByteIterable.html#reduceIfEmpty(org.eclipse.collections.api.block.function.primitive.LongByteToLongFunction,long)">reduceIfEmpty</a>, <a href="../../ByteIterable.html#reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate,R)">reject</a>, <a href="../../ByteIterable.html#select(org.eclipse.collections.api.block.predicate.primitive.BytePredicate,R)">select</a>, <a href="../../ByteIterable.html#sum()">sum</a>, <a href="../../ByteIterable.html#summaryStatistics()">summaryStatistics</a>, <a href="../../ByteIterable.html#toArray()">toArray</a>, <a href="../../ByteIterable.html#toArray(byte%5B%5D)">toArray</a>, <a href="../../ByteIterable.html#toBag()">toBag</a>, <a href="../../ByteIterable.html#toList()">toList</a>, <a href="../../ByteIterable.html#toSet()">toSet</a>, <a href="../../ByteIterable.html#toSortedArray()">toSortedArray</a>, <a href="../../ByteIterable.html#toSortedList()">toSortedList</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.map.primitive.<a href="ByteValuesMap.html" title="interface in org.eclipse.collections.api.map.primitive">ByteValuesMap</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.map.primitive.ByteValuesMap"> |
| <!-- --> |
| </a><code><a href="ByteValuesMap.html#containsValue(byte)">containsValue</a>, <a href="ByteValuesMap.html#forEachValue(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure)">forEachValue</a>, <a href="ByteValuesMap.html#tap(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure)">tap</a>, <a href="ByteValuesMap.html#values()">values</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.map.primitive.<a href="IntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">IntByteMap</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.map.primitive.IntByteMap"> |
| <!-- --> |
| </a><code><a href="IntByteMap.html#containsKey(int)">containsKey</a>, <a href="IntByteMap.html#equals(java.lang.Object)">equals</a>, <a href="IntByteMap.html#forEachKey(org.eclipse.collections.api.block.procedure.primitive.IntProcedure)">forEachKey</a>, <a href="IntByteMap.html#forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.IntByteProcedure)">forEachKeyValue</a>, <a href="IntByteMap.html#get(int)">get</a>, <a href="IntByteMap.html#getIfAbsent(int,byte)">getIfAbsent</a>, <a href="IntByteMap.html#getOrThrow(int)">getOrThrow</a>, <a href="IntByteMap.html#hashCode()">hashCode</a>, <a href="IntByteMap.html#keySet()">keySet</a>, <a href="IntByteMap.html#keysView()">keysView</a>, <a href="IntByteMap.html#keyValuesView()">keyValuesView</a>, <a href="IntByteMap.html#toImmutable()">toImmutable</a>, <a href="IntByteMap.html#toString()">toString</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.map.primitive.<a href="MutableByteValuesMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableByteValuesMap</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.map.primitive.MutableByteValuesMap"> |
| <!-- --> |
| </a><code><a href="MutableByteValuesMap.html#byteIterator()">byteIterator</a>, <a href="MutableByteValuesMap.html#clear()">clear</a>, <a href="MutableByteValuesMap.html#collect(org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction)">collect</a>, <a href="MutableByteValuesMap.html#reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate)">reject</a>, <a href="MutableByteValuesMap.html#select(org.eclipse.collections.api.block.predicate.primitive.BytePredicate)">select</a></code></div> |
| <div class="inheritedList"> |
| <h3>Methods inherited from interface org.eclipse.collections.api.<a href="../../PrimitiveIterable.html" title="interface in org.eclipse.collections.api">PrimitiveIterable</a></h3> |
| <a id="methods.inherited.from.class.org.eclipse.collections.api.PrimitiveIterable"> |
| <!-- --> |
| </a><code><a href="../../PrimitiveIterable.html#appendString(java.lang.Appendable)">appendString</a>, <a href="../../PrimitiveIterable.html#appendString(java.lang.Appendable,java.lang.String)">appendString</a>, <a href="../../PrimitiveIterable.html#appendString(java.lang.Appendable,java.lang.String,java.lang.String,java.lang.String)">appendString</a>, <a href="../../PrimitiveIterable.html#isEmpty()">isEmpty</a>, <a href="../../PrimitiveIterable.html#makeString()">makeString</a>, <a href="../../PrimitiveIterable.html#makeString(java.lang.String)">makeString</a>, <a href="../../PrimitiveIterable.html#makeString(java.lang.String,java.lang.String,java.lang.String)">makeString</a>, <a href="../../PrimitiveIterable.html#notEmpty()">notEmpty</a>, <a href="../../PrimitiveIterable.html#size()">size</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="put(int,byte)">put</a></h3> |
| <div class="memberSignature"><span class="returnType">void</span> <span class="memberName">put</span>​(<span class="arguments">int key, |
| byte value)</span></div> |
| <div class="block">Associates a value with the specified key. If a value is already associated |
| with the key in this map, it will be replaced with <code>value</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>value</code> - the value to associate with <code>value</code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="putPair(org.eclipse.collections.api.tuple.primitive.IntBytePair)">putPair</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="returnType">void</span> <span class="memberName">putPair</span>​(<span class="arguments"><a href="../../tuple/primitive/IntBytePair.html" title="interface in org.eclipse.collections.api.tuple.primitive">IntBytePair</a> keyValuePair)</span></div> |
| <div class="block">This method allows MutableIntByteMap the ability to add an element in the form of IntBytePair.</div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>9.1.0</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#put(int,byte)"><code>put(int, byte)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="putAll(org.eclipse.collections.api.map.primitive.IntByteMap)">putAll</a></h3> |
| <div class="memberSignature"><span class="returnType">void</span> <span class="memberName">putAll</span>​(<span class="arguments"><a href="IntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">IntByteMap</a> map)</span></div> |
| <div class="block">Puts all of the key/value mappings from the specified map into this map. If this |
| map already has a value associated with one of the keys in the map, it will be |
| replaced with the value in <code>map</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>map</code> - the map to copy into this map</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="updateValues(org.eclipse.collections.api.block.function.primitive.IntByteToByteFunction)">updateValues</a></h3> |
| <div class="memberSignature"><span class="returnType">void</span> <span class="memberName">updateValues</span>​(<span class="arguments"><a href="../../block/function/primitive/IntByteToByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntByteToByteFunction</a> function)</span></div> |
| <div class="block">Updates the values in-place.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>function</code> - that takes a key and its value and that returns a new value for this key</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>10.0</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="removeKey(int)">removeKey</a></h3> |
| <div class="memberSignature"><span class="returnType">void</span> <span class="memberName">removeKey</span>​(<span class="arguments">int key)</span></div> |
| <div class="block">Removes the mapping associated with the key, if one exists, from the map.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the key to remove</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#remove(int)"><code>remove(int)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="remove(int)">remove</a></h3> |
| <div class="memberSignature"><span class="returnType">void</span> <span class="memberName">remove</span>​(<span class="arguments">int key)</span></div> |
| <div class="block">Removes the mapping associated with the key, if one exists, from the map.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the key to remove</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#removeKey(int)"><code>removeKey(int)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="removeKeyIfAbsent(int,byte)">removeKeyIfAbsent</a></h3> |
| <div class="memberSignature"><span class="returnType">byte</span> <span class="memberName">removeKeyIfAbsent</span>​(<span class="arguments">int key, |
| byte value)</span></div> |
| <div class="block">Removes the mapping associated with the key, if one exists, from the map, |
| returning the previously associated value with the key. If no mapping |
| existed for the key, the specified default value is returned.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the key to remove</dd> |
| <dd><code>value</code> - the default value to return if no mapping for the key exists</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value previously associated with the key, if one existed, |
| or <code>value</code> if not</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getIfAbsentPut(int,byte)">getIfAbsentPut</a></h3> |
| <div class="memberSignature"><span class="returnType">byte</span> <span class="memberName">getIfAbsentPut</span>​(<span class="arguments">int key, |
| byte value)</span></div> |
| <div class="block">Retrieves the value associated with the key if one exists; if it does not, |
| associates a value with the key.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>value</code> - the value to associate with <code>key</code> if no such mapping exists</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value associated with key, if one exists, or <code>value</code> if not</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getIfAbsentPut(int,org.eclipse.collections.api.block.function.primitive.ByteFunction0)">getIfAbsentPut</a></h3> |
| <div class="memberSignature"><span class="returnType">byte</span> <span class="memberName">getIfAbsentPut</span>​(<span class="arguments">int key, |
| <a href="../../block/function/primitive/ByteFunction0.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteFunction0</a> function)</span></div> |
| <div class="block">Retrieves the value associated with the key if one exists; if it does not, |
| invokes the supplier and associates the result with the key.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>function</code> - the supplier that provides the value if no mapping exists for <code>key</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value associated with the key, if one exists, or the result of |
| invoking <code>function</code> if not</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getIfAbsentPutWithKey(int,org.eclipse.collections.api.block.function.primitive.IntToByteFunction)">getIfAbsentPutWithKey</a></h3> |
| <div class="memberSignature"><span class="returnType">byte</span> <span class="memberName">getIfAbsentPutWithKey</span>​(<span class="arguments">int key, |
| <a href="../../block/function/primitive/IntToByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">IntToByteFunction</a> function)</span></div> |
| <div class="block">Retrieves the value associated with the key if one exists; if it does not, |
| associates the result of invoking the value function with the key.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>function</code> - the function that provides the value if no mapping exists. |
| The <code>key</code> will be passed as the argument to the function.</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value associated with the key, if one exists, or the result of |
| invoking <code>function</code> with <code>key</code> if not</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="getIfAbsentPutWith(int,org.eclipse.collections.api.block.function.primitive.ByteFunction,java.lang.Object)"> |
| <!-- --> |
| </a><a id="getIfAbsentPutWith(int,org.eclipse.collections.api.block.function.primitive.ByteFunction,P)">getIfAbsentPutWith</a></h3> |
| <div class="memberSignature"><span class="typeParameters"><P></span> <span class="returnType">byte</span> <span class="memberName">getIfAbsentPutWith</span>​(<span class="arguments">int key, |
| <a href="../../block/function/primitive/ByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteFunction</a><? super P> function, |
| P parameter)</span></div> |
| <div class="block">Retrieves the value associated with the key if one exists; if it does not, |
| invokes the value function with the parameter and associates the result with the key.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>P</code> - the type of the value function's <code>parameter</code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>function</code> - the function that provides the value if no mapping exists. |
| The specified <code>parameter</code> will be passed as the argument to the function.</dd> |
| <dd><code>parameter</code> - the parameter to provide to <code>function</code> if no value |
| exists for <code>key</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value associated with the key, if one exists, or the result of |
| invoking <code>function</code> with <code>parameter</code> if not</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="updateValue(int,byte,org.eclipse.collections.api.block.function.primitive.ByteToByteFunction)">updateValue</a></h3> |
| <div class="memberSignature"><span class="returnType">byte</span> <span class="memberName">updateValue</span>​(<span class="arguments">int key, |
| byte initialValueIfAbsent, |
| <a href="../../block/function/primitive/ByteToByteFunction.html" title="interface in org.eclipse.collections.api.block.function.primitive">ByteToByteFunction</a> function)</span></div> |
| <div class="block">Updates or sets the value associated with the key by applying the function to the |
| existing value, if one exists, or to the specified initial value if one does not.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>initialValueIfAbsent</code> - the initial value to supply to the function if no |
| mapping exists for the key</dd> |
| <dd><code>function</code> - the function that returns the updated value based on the current |
| value or the initial value, if no value exists</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the new value associated with the key, either as a result of applying |
| <code>function</code> to the value already associated with the key or as a result of |
| applying it to <code>initialValueIfAbsent</code> and associating the result with <code>key</code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="flipUniqueValues()">flipUniqueValues</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="MutableByteIntMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableByteIntMap</a></span> <span class="memberName">flipUniqueValues</span>()</div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="IntByteMap.html#flipUniqueValues()">IntByteMap</a></code></span></div> |
| <div class="block">Return the ByteIntMap that is obtained by flipping the direction of this map and making the associations |
| from value to key.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IntByteMap.html#flipUniqueValues()">flipUniqueValues</a></code> in interface <code><a href="IntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">IntByteMap</a></code></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="select(org.eclipse.collections.api.block.predicate.primitive.IntBytePredicate)">select</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="MutableIntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableIntByteMap</a></span> <span class="memberName">select</span>​(<span class="arguments"><a href="../../block/predicate/primitive/IntBytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntBytePredicate</a> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="IntByteMap.html#select(org.eclipse.collections.api.block.predicate.primitive.IntBytePredicate)">IntByteMap</a></code></span></div> |
| <div class="block">Return a copy of this map containing only the key/value pairs that match the predicate.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IntByteMap.html#select(org.eclipse.collections.api.block.predicate.primitive.IntBytePredicate)">select</a></code> in interface <code><a href="IntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">IntByteMap</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - the predicate to determine which key/value pairs in this map should be |
| included in the returned map</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a copy of this map with the matching key/value pairs</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="reject(org.eclipse.collections.api.block.predicate.primitive.IntBytePredicate)">reject</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="MutableIntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableIntByteMap</a></span> <span class="memberName">reject</span>​(<span class="arguments"><a href="../../block/predicate/primitive/IntBytePredicate.html" title="interface in org.eclipse.collections.api.block.predicate.primitive">IntBytePredicate</a> predicate)</span></div> |
| <div class="block"><span class="descfrmTypeLabel">Description copied from interface: <code><a href="IntByteMap.html#reject(org.eclipse.collections.api.block.predicate.primitive.IntBytePredicate)">IntByteMap</a></code></span></div> |
| <div class="block">Return a copy of this map containing only the key/value pairs that do not match the |
| predicate.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="IntByteMap.html#reject(org.eclipse.collections.api.block.predicate.primitive.IntBytePredicate)">reject</a></code> in interface <code><a href="IntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">IntByteMap</a></code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>predicate</code> - the predicate to determine which key/value pairs in this map should be |
| excluded from the returned map</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a copy of this map without the matching key/value pairs</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withKeyValue(int,byte)">withKeyValue</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="MutableIntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableIntByteMap</a></span> <span class="memberName">withKeyValue</span>​(<span class="arguments">int key, |
| byte value)</span></div> |
| <div class="block">Associates a value with the specified key. If a value is already associated |
| with the key in this map, it will be replaced with <code>value</code>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>value</code> - the value to associate with <code>value</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this map</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#put(int,byte)"><code>put(int, byte)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withoutKey(int)">withoutKey</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="MutableIntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableIntByteMap</a></span> <span class="memberName">withoutKey</span>​(<span class="arguments">int key)</span></div> |
| <div class="block">Removes the mapping associated with the key, if one exists, from this map.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the key to remove</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this map</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#remove(int)"><code>remove(int)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withoutAllKeys(org.eclipse.collections.api.IntIterable)">withoutAllKeys</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="MutableIntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableIntByteMap</a></span> <span class="memberName">withoutAllKeys</span>​(<span class="arguments"><a href="../../IntIterable.html" title="interface in org.eclipse.collections.api">IntIterable</a> keys)</span></div> |
| <div class="block">Removes the mappings associated with all the keys, if they exist, from this map.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>keys</code> - the keys to remove</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this map</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#remove(int)"><code>remove(int)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="withAllKeyValues(java.lang.Iterable)">withAllKeyValues</a></h3> |
| <div class="memberSignature"><span class="modifiers">default</span> <span class="returnType"><a href="MutableIntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableIntByteMap</a></span> <span class="memberName">withAllKeyValues</span>​(<span class="arguments"><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Iterable.html?is-external=true" title="class or interface in java.lang" class="externalLink">Iterable</a><<a href="../../tuple/primitive/IntBytePair.html" title="interface in org.eclipse.collections.api.tuple.primitive">IntBytePair</a>> keyValuePairs)</span></div> |
| <div class="block">Puts all of the key/value mappings from the specified pairs into this map. If this |
| map already has a value associated with one of the keys in the pairs, it will be |
| replaced with the value in the pair.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>iterable</code> - the pairs to put into this map</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>this map</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="#putPair(org.eclipse.collections.api.tuple.primitive.IntBytePair)"><code>putPair(IntBytePair)</code></a></dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="asUnmodifiable()">asUnmodifiable</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="MutableIntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableIntByteMap</a></span> <span class="memberName">asUnmodifiable</span>()</div> |
| <div class="block">Returns an unmodifiable view of this map, delegating all read-only operations to this |
| map and throwing an <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/UnsupportedOperationException.html?is-external=true" title="class or interface in java.lang" class="externalLink"><code>UnsupportedOperationException</code></a> for all mutating operations. |
| This avoids the overhead of copying the map when calling <a href="IntByteMap.html#toImmutable()"><code>IntByteMap.toImmutable()</code></a> while |
| still providing immutability.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an unmodifiable view of this map</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="asSynchronized()">asSynchronized</a></h3> |
| <div class="memberSignature"><span class="returnType"><a href="MutableIntByteMap.html" title="interface in org.eclipse.collections.api.map.primitive">MutableIntByteMap</a></span> <span class="memberName">asSynchronized</span>()</div> |
| <div class="block">Returns a synchronized view of this map, delegating all operations to this map but |
| ensuring only one caller has access to the map at a time.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a synchronized view of this map</dd> |
| </dl> |
| </section> |
| </li> |
| <li class="blockList"> |
| <section class="detail"> |
| <h3><a id="addToValue(int,byte)">addToValue</a></h3> |
| <div class="memberSignature"><span class="returnType">byte</span> <span class="memberName">addToValue</span>​(<span class="arguments">int key, |
| byte toBeAdded)</span></div> |
| <div class="block">Increments and updates the value associated with the key, if a value exists, or |
| sets the value to be the specified value if one does not.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>key</code> - the key</dd> |
| <dd><code>toBeAdded</code> - the amount to increment the existing value, if one exists, or |
| to use as the initial value if one does not</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value after incrementing <code>toBeAdded</code> to the existing value |
| associated with <code>key</code> or <code>toBeAdded</code> if one does not</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/MutableIntByteMap.html">Use</a></li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| </div> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2004–2020. All rights reserved.</small></p> |
| </footer> |
| </div> |
| </div> |
| </body> |
| </html> |