| <!DOCTYPE HTML> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <!-- Generated by javadoc (11.0.10) on Mon Dec 05 10:27:04 MSK 2022 --> |
| <title>ConcurrentLinkedHashMap (cayenne-doc: Cayenne Documentation 4.2.RC2 API)</title> |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta name="dc.created" content="2022-12-05"> |
| <link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> |
| <link rel="stylesheet" type="text/css" href="../../../../../jquery/jquery-ui.css" title="Style"> |
| <script type="text/javascript" src="../../../../../script.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip/dist/jszip.min.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script> |
| <!--[if IE]> |
| <script type="text/javascript" src="../../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script> |
| <![endif]--> |
| <script type="text/javascript" src="../../../../../jquery/jquery-3.5.1.js"></script> |
| <script type="text/javascript" src="../../../../../jquery/jquery-ui.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="ConcurrentLinkedHashMap (cayenne-doc: Cayenne Documentation 4.2.RC2 API)"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| var pathtoroot = "../../../../../"; |
| var useModuleDirectories = false; |
| loadScripts(document, 'script');</script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <header role="banner"> |
| <nav role="navigation"> |
| <div class="fixedNav"> |
| <!-- ========= 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/ConcurrentLinkedHashMap.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 class="aboutLanguage"><a href="http://cayenne.apache.org" target="top">Apache Cayenne</a></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <ul class="navListSearch"> |
| <li><label for="search">SEARCH:</label> |
| <input type="text" id="search" value="search" disabled="disabled"> |
| <input type="reset" id="reset" value="reset" disabled="disabled"> |
| </li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </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> |
| <a id="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| </div> |
| <div class="navPadding"> </div> |
| <script type="text/javascript"><!-- |
| $('.navPadding').css('padding-top', $('.fixedNav').css("height")); |
| //--> |
| </script> |
| </nav> |
| </header> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <main role="main"> |
| <div class="header"> |
| <div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">org.apache.cayenne.util.concurrentlinkedhashmap</a></div> |
| <h2 title="Class ConcurrentLinkedHashMap" class="title">Class ConcurrentLinkedHashMap<K,​V></h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">java.lang.Object</a></li> |
| <li> |
| <ul class="inheritance"> |
| <li><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util" class="externalLink">java.util.AbstractMap</a><K,​V></li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.cayenne.util.concurrentlinkedhashmap.ConcurrentLinkedHashMap<K,​V></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>K</code> - the type of keys maintained by this map</dd> |
| <dd><code>V</code> - the type of mapped values</dd> |
| </dl> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">ConcurrentMap</a><K,​V></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><K,​V></code></dd> |
| </dl> |
| <hr> |
| <pre>public class <span class="typeNameLabel">ConcurrentLinkedHashMap<K,​V></span> |
| extends <a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util" class="externalLink">AbstractMap</a><K,​V> |
| implements <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">ConcurrentMap</a><K,​V>, <a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io" class="externalLink">Serializable</a></pre> |
| <div class="block">A hash table supporting full concurrency of retrievals, adjustable expected concurrency |
| for updates, and a maximum capacity to bound the map by. This implementation differs |
| from <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentHashMap.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ConcurrentHashMap</code></a> in that it maintains a page replacement algorithm that |
| is used to evict an entry when the map has exceeded its capacity. Unlike the |
| <tt>Java Collections Framework</tt>, this map does not have a publicly visible |
| constructor and instances are created through a <a href="ConcurrentLinkedHashMap.Builder.html" title="class in org.apache.cayenne.util.concurrentlinkedhashmap"><code>ConcurrentLinkedHashMap.Builder</code></a>. |
| <p> |
| An entry is evicted from the map when the <tt>weighted capacity</tt> exceeds its |
| <tt>maximum weighted capacity</tt> threshold. A <code>Weigher</code> instance determines how |
| many units of capacity that a value consumes. The default weigher assigns each value a |
| weight of <tt>1</tt> to bound the map by the total number of key-value pairs. A map |
| that holds collections may choose to weigh values by the number of elements in the |
| collection and bound the map by the total number of elements that it contains. A change |
| to a value that modifies its weight requires that an update operation is performed on |
| the map. |
| <p> |
| An <code>EvictionListener</code> may be supplied for notification when an entry is evicted |
| from the map. This listener is invoked on a caller's thread and will not block other |
| threads from operating on the map. An implementation should be aware that the caller's |
| thread will not expect long execution times or failures as a side effect of the |
| listener being notified. Execution safety and a fast turn around time can be achieved |
| by performing the operation asynchronously, such as by submitting a task to an |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink"><code>ExecutorService</code></a>. |
| <p> |
| The <tt>concurrency level</tt> determines the number of threads that can concurrently |
| modify the table. Using a significantly higher or lower value than needed can waste |
| space or lead to thread contention, but an estimate within an order of magnitude of the |
| ideal value does not usually have a noticeable impact. Because placement in hash tables |
| is essentially random, the actual concurrency will vary. |
| <p> |
| This class and its views and iterators implement all of the <em>optional</em> methods |
| of the <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Map</code></a> and <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Iterator.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Iterator</code></a> interfaces. |
| <p> |
| Like <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Hashtable.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Hashtable</code></a> but unlike <a href="https://docs.oracle.com/javase/8/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>HashMap</code></a>, this class does |
| <em>not</em> allow <tt>null</tt> to be used as a key or value. Unlike |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/util/LinkedHashMap.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>LinkedHashMap</code></a>, this class does <em>not</em> provide predictable |
| iteration order. A snapshot of the keys and entries may be obtained in ascending and |
| descending order of retention.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../serialized-form.html#org.apache.cayenne.util.concurrentlinkedhashmap.ConcurrentLinkedHashMap">Serialized Form</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colSecond" scope="col">Class</th> |
| <th class="colLast" scope="col">Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="ConcurrentLinkedHashMap.Builder.html" title="class in org.apache.cayenne.util.concurrentlinkedhashmap">ConcurrentLinkedHashMap.Builder</a><<a href="ConcurrentLinkedHashMap.Builder.html" title="type parameter in ConcurrentLinkedHashMap.Builder">K</a>,​<a href="ConcurrentLinkedHashMap.Builder.html" title="type parameter in ConcurrentLinkedHashMap.Builder">V</a>></span></code></th> |
| <td class="colLast"> |
| <div class="block">A builder that creates <a href="ConcurrentLinkedHashMap.html" title="class in org.apache.cayenne.util.concurrentlinkedhashmap"><code>ConcurrentLinkedHashMap</code></a> instances.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.java.util.AbstractMap"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from class java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util" class="externalLink">AbstractMap</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util" class="externalLink">AbstractMap.SimpleEntry</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util" class="externalLink">K</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>,​<a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.SimpleEntry.html?is-external=true" title="class or interface in java.util" class="externalLink">V</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in java.util" class="externalLink">AbstractMap.SimpleImmutableEntry</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in java.util" class="externalLink">K</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>,​<a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.SimpleImmutableEntry.html?is-external=true" title="class or interface in java.util" class="externalLink">V</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="nested.classes.inherited.from.class.java.util.Map"> |
| <!-- --> |
| </a> |
| <h3>Nested classes/interfaces inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util" class="externalLink">Map.Entry</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util" class="externalLink">K</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>,​<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util" class="externalLink">V</a> extends <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a>></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <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> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ascendingKeySet()">ascendingKeySet</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns a unmodifiable snapshot <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Set</code></a> view of the keys contained in this map.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ascendingKeySetWithLimit(int)">ascendingKeySetWithLimit</a></span>​(int limit)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an unmodifiable snapshot <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Set</code></a> view of the keys contained in this |
| map.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ascendingMap()">ascendingMap</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an unmodifiable snapshot <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Map</code></a> view of the mappings contained in this |
| map.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#ascendingMapWithLimit(int)">ascendingMapWithLimit</a></span>​(int limit)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an unmodifiable snapshot <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Map</code></a> view of the mappings contained in this |
| map.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#capacity()">capacity</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Retrieves the maximum weighted capacity of the map.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#clear()">clear</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#containsKey(java.lang.Object)">containsKey</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> key)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#containsValue(java.lang.Object)">containsValue</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#descendingKeySet()">descendingKeySet</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an unmodifiable snapshot <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Set</code></a> view of the keys contained in this |
| map.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#descendingKeySetWithLimit(int)">descendingKeySetWithLimit</a></span>​(int limit)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an unmodifiable snapshot <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Set</code></a> view of the keys contained in this |
| map.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#descendingMap()">descendingMap</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an unmodifiable snapshot <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Map</code></a> view of the mappings contained in this |
| map.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#descendingMapWithLimit(int)">descendingMapWithLimit</a></span>​(int limit)</code></th> |
| <td class="colLast"> |
| <div class="block">Returns an unmodifiable snapshot <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Map</code></a> view of the mappings contained in this |
| map.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util" class="externalLink">Map.Entry</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#entrySet()">entrySet</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#get(java.lang.Object)">get</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> key)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#isEmpty()">isEmpty</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#keySet()">keySet</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#put(K,V)">put</a></span>​(<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a> key, |
| <a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code><a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#putIfAbsent(K,V)">putIfAbsent</a></span>​(<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a> key, |
| <a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code><a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remove(java.lang.Object)">remove</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> key)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remove(java.lang.Object,java.lang.Object)">remove</a></span>​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> key, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code><a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#replace(K,V)">replace</a></span>​(<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a> key, |
| <a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a> value)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#replace(K,V,V)">replace</a></span>​(<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a> key, |
| <a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a> oldValue, |
| <a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a> newValue)</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#setCapacity(int)">setCapacity</a></span>​(int capacity)</code></th> |
| <td class="colLast"> |
| <div class="block">Sets the maximum weighted capacity of the map and eagerly evicts entries until it |
| shrinks to the appropriate size.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#size()">size</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#values()">values</a></span>()</code></th> |
| <td class="colLast"> </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>int</code></td> |
| <th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#weightedSize()">weightedSize</a></span>()</code></th> |
| <td class="colLast"> |
| <div class="block">Returns the weighted size of this map.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.util.AbstractMap"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util" class="externalLink">AbstractMap</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true#clone()" title="class or interface in java.util" class="externalLink">clone</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true#hashCode()" title="class or interface in java.util" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true#putAll(java.util.Map)" title="class or interface in java.util" class="externalLink">putAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true#toString()" title="class or interface in java.util" class="externalLink">toString</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang" class="externalLink">finalize</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang" class="externalLink">getClass</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang" class="externalLink">notify</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang" class="externalLink">notifyAll</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang" class="externalLink">wait</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait(long,int)" title="class or interface in java.lang" class="externalLink">wait</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.util.concurrent.ConcurrentMap"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface java.util.concurrent.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">ConcurrentMap</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true#compute(K,java.util.function.BiFunction)" title="class or interface in java.util.concurrent" class="externalLink">compute</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true#computeIfAbsent(K,java.util.function.Function)" title="class or interface in java.util.concurrent" class="externalLink">computeIfAbsent</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true#computeIfPresent(K,java.util.function.BiFunction)" title="class or interface in java.util.concurrent" class="externalLink">computeIfPresent</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true#forEach(java.util.function.BiConsumer)" title="class or interface in java.util.concurrent" class="externalLink">forEach</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true#getOrDefault(java.lang.Object,V)" title="class or interface in java.util.concurrent" class="externalLink">getOrDefault</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true#merge(K,V,java.util.function.BiFunction)" title="class or interface in java.util.concurrent" class="externalLink">merge</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true#replaceAll(java.util.function.BiFunction)" title="class or interface in java.util.concurrent" class="externalLink">replaceAll</a></code></li> |
| </ul> |
| <ul class="blockList"> |
| <li class="blockList"><a id="methods.inherited.from.class.java.util.Map"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from interface java.util.<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a></h3> |
| <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.util" class="externalLink">equals</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#hashCode()" title="class or interface in java.util" class="externalLink">hashCode</a>, <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#putAll(java.util.Map)" title="class or interface in java.util" class="externalLink">putAll</a></code></li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <section role="region"> |
| <ul class="blockList"> |
| <li class="blockList"><a id="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a id="capacity()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>capacity</h4> |
| <pre class="methodSignature">public int capacity()</pre> |
| <div class="block">Retrieves the maximum weighted capacity of the map.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the maximum weighted capacity</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="setCapacity(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setCapacity</h4> |
| <pre class="methodSignature">public void setCapacity​(int capacity)</pre> |
| <div class="block">Sets the maximum weighted capacity of the map and eagerly evicts entries until it |
| shrinks to the appropriate size.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>capacity</code> - the maximum weighted capacity of the map</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalArgumentException</a></code> - if the capacity is negative</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="isEmpty()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>isEmpty</h4> |
| <pre class="methodSignature">public boolean isEmpty()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#isEmpty()" title="class or interface in java.util" class="externalLink">isEmpty</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true#isEmpty()" title="class or interface in java.util" class="externalLink">isEmpty</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util" class="externalLink">AbstractMap</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="size()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>size</h4> |
| <pre class="methodSignature">public int size()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#size()" title="class or interface in java.util" class="externalLink">size</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true#size()" title="class or interface in java.util" class="externalLink">size</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util" class="externalLink">AbstractMap</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="weightedSize()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>weightedSize</h4> |
| <pre class="methodSignature">public int weightedSize()</pre> |
| <div class="block">Returns the weighted size of this map.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the combined weight of the values in this map</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="clear()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clear</h4> |
| <pre class="methodSignature">public void clear()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#clear()" title="class or interface in java.util" class="externalLink">clear</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true#clear()" title="class or interface in java.util" class="externalLink">clear</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util" class="externalLink">AbstractMap</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="containsKey(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsKey</h4> |
| <pre class="methodSignature">public boolean containsKey​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> key)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#containsKey(java.lang.Object)" title="class or interface in java.util" class="externalLink">containsKey</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true#containsKey(java.lang.Object)" title="class or interface in java.util" class="externalLink">containsKey</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util" class="externalLink">AbstractMap</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="containsValue(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>containsValue</h4> |
| <pre class="methodSignature">public boolean containsValue​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#containsValue(java.lang.Object)" title="class or interface in java.util" class="externalLink">containsValue</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true#containsValue(java.lang.Object)" title="class or interface in java.util" class="externalLink">containsValue</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util" class="externalLink">AbstractMap</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="get(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>get</h4> |
| <pre class="methodSignature">public <a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a> get​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> key)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#get(java.lang.Object)" title="class or interface in java.util" class="externalLink">get</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true#get(java.lang.Object)" title="class or interface in java.util" class="externalLink">get</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util" class="externalLink">AbstractMap</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="put(java.lang.Object,java.lang.Object)"> |
| <!-- --> |
| </a><a id="put(K,V)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>put</h4> |
| <pre class="methodSignature">public <a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a> put​(<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a> key, |
| <a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a> value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#put(K,V)" title="class or interface in java.util" class="externalLink">put</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true#put(K,V)" title="class or interface in java.util" class="externalLink">put</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util" class="externalLink">AbstractMap</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="putIfAbsent(java.lang.Object,java.lang.Object)"> |
| <!-- --> |
| </a><a id="putIfAbsent(K,V)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>putIfAbsent</h4> |
| <pre class="methodSignature">public <a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a> putIfAbsent​(<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a> key, |
| <a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a> value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true#putIfAbsent(K,V)" title="class or interface in java.util.concurrent" class="externalLink">putIfAbsent</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">ConcurrentMap</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#putIfAbsent(K,V)" title="class or interface in java.util" class="externalLink">putIfAbsent</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="remove(java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remove</h4> |
| <pre class="methodSignature">public <a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a> remove​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> key)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util" class="externalLink">remove</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true#remove(java.lang.Object)" title="class or interface in java.util" class="externalLink">remove</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util" class="externalLink">AbstractMap</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="remove(java.lang.Object,java.lang.Object)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remove</h4> |
| <pre class="methodSignature">public boolean remove​(<a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> key, |
| <a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang" class="externalLink">Object</a> value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true#remove(java.lang.Object,java.lang.Object)" title="class or interface in java.util.concurrent" class="externalLink">remove</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">ConcurrentMap</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#remove(java.lang.Object,java.lang.Object)" title="class or interface in java.util" class="externalLink">remove</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="replace(java.lang.Object,java.lang.Object)"> |
| <!-- --> |
| </a><a id="replace(K,V)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>replace</h4> |
| <pre class="methodSignature">public <a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a> replace​(<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a> key, |
| <a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a> value)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true#replace(K,V)" title="class or interface in java.util.concurrent" class="externalLink">replace</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">ConcurrentMap</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#replace(K,V)" title="class or interface in java.util" class="externalLink">replace</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="replace(java.lang.Object,java.lang.Object,java.lang.Object)"> |
| <!-- --> |
| </a><a id="replace(K,V,V)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>replace</h4> |
| <pre class="methodSignature">public boolean replace​(<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a> key, |
| <a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a> oldValue, |
| <a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a> newValue)</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true#replace(K,V,V)" title="class or interface in java.util.concurrent" class="externalLink">replace</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true" title="class or interface in java.util.concurrent" class="externalLink">ConcurrentMap</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#replace(K,V,V)" title="class or interface in java.util" class="externalLink">replace</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="keySet()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>keySet</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>> keySet()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#keySet()" title="class or interface in java.util" class="externalLink">keySet</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true#keySet()" title="class or interface in java.util" class="externalLink">keySet</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util" class="externalLink">AbstractMap</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="ascendingKeySet()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ascendingKeySet</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>> ascendingKeySet()</pre> |
| <div class="block">Returns a unmodifiable snapshot <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Set</code></a> view of the keys contained in this map. |
| The set's iterator returns the keys whose order of iteration is the ascending order |
| in which its entries are considered eligible for retention, from the least-likely |
| to be retained to the most-likely. |
| <p> |
| Beware that, unlike in <a href="#keySet()"><code>keySet()</code></a>, obtaining the set is <em>NOT</em> a |
| constant-time operation. Because of the asynchronous nature of the page replacement |
| policy, determining the retention ordering requires a traversal of the keys.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>an ascending snapshot view of the keys in this map</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="ascendingKeySetWithLimit(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ascendingKeySetWithLimit</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>> ascendingKeySetWithLimit​(int limit)</pre> |
| <div class="block">Returns an unmodifiable snapshot <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Set</code></a> view of the keys contained in this |
| map. The set's iterator returns the keys whose order of iteration is the ascending |
| order in which its entries are considered eligible for retention, from the |
| least-likely to be retained to the most-likely. |
| <p> |
| Beware that, unlike in <a href="#keySet()"><code>keySet()</code></a>, obtaining the set is <em>NOT</em> a |
| constant-time operation. Because of the asynchronous nature of the page replacement |
| policy, determining the retention ordering requires a traversal of the keys.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>limit</code> - the maximum size of the returned set</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ascending snapshot view of the keys in this map</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalArgumentException</a></code> - if the limit is negative</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="descendingKeySet()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>descendingKeySet</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>> descendingKeySet()</pre> |
| <div class="block">Returns an unmodifiable snapshot <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Set</code></a> view of the keys contained in this |
| map. The set's iterator returns the keys whose order of iteration is the descending |
| order in which its entries are considered eligible for retention, from the |
| most-likely to be retained to the least-likely. |
| <p> |
| Beware that, unlike in <a href="#keySet()"><code>keySet()</code></a>, obtaining the set is <em>NOT</em> a |
| constant-time operation. Because of the asynchronous nature of the page replacement |
| policy, determining the retention ordering requires a traversal of the keys.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a descending snapshot view of the keys in this map</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="descendingKeySetWithLimit(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>descendingKeySetWithLimit</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>> descendingKeySetWithLimit​(int limit)</pre> |
| <div class="block">Returns an unmodifiable snapshot <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Set</code></a> view of the keys contained in this |
| map. The set's iterator returns the keys whose order of iteration is the descending |
| order in which its entries are considered eligible for retention, from the |
| most-likely to be retained to the least-likely. |
| <p> |
| Beware that, unlike in <a href="#keySet()"><code>keySet()</code></a>, obtaining the set is <em>NOT</em> a |
| constant-time operation. Because of the asynchronous nature of the page replacement |
| policy, determining the retention ordering requires a traversal of the keys.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>limit</code> - the maximum size of the returned set</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a descending snapshot view of the keys in this map</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalArgumentException</a></code> - if the limit is negative</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="values()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>values</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util" class="externalLink">Collection</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>> values()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#values()" title="class or interface in java.util" class="externalLink">values</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true#values()" title="class or interface in java.util" class="externalLink">values</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util" class="externalLink">AbstractMap</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="entrySet()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>entrySet</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util" class="externalLink">Set</a><<a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.Entry.html?is-external=true" title="class or interface in java.util" class="externalLink">Map.Entry</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>>> entrySet()</pre> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true#entrySet()" title="class or interface in java.util" class="externalLink">entrySet</a></code> in interface <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true#entrySet()" title="class or interface in java.util" class="externalLink">entrySet</a></code> in class <code><a href="https://docs.oracle.com/javase/8/docs/api/java/util/AbstractMap.html?is-external=true" title="class or interface in java.util" class="externalLink">AbstractMap</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>></code></dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="ascendingMap()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ascendingMap</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>> ascendingMap()</pre> |
| <div class="block">Returns an unmodifiable snapshot <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Map</code></a> view of the mappings contained in this |
| map. The map's collections return the mappings whose order of iteration is the |
| ascending order in which its entries are considered eligible for retention, from |
| the least-likely to be retained to the most-likely. |
| <p> |
| Beware that obtaining the mappings is <em>NOT</em> a constant-time operation. |
| Because of the asynchronous nature of the page replacement policy, determining the |
| retention ordering requires a traversal of the entries.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ascending snapshot view of this map</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="ascendingMapWithLimit(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>ascendingMapWithLimit</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>> ascendingMapWithLimit​(int limit)</pre> |
| <div class="block">Returns an unmodifiable snapshot <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Map</code></a> view of the mappings contained in this |
| map. The map's collections return the mappings whose order of iteration is the |
| ascending order in which its entries are considered eligible for retention, from |
| the least-likely to be retained to the most-likely. |
| <p> |
| Beware that obtaining the mappings is <em>NOT</em> a constant-time operation. |
| Because of the asynchronous nature of the page replacement policy, determining the |
| retention ordering requires a traversal of the entries.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>limit</code> - the maximum size of the returned map</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a ascending snapshot view of this map</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalArgumentException</a></code> - if the limit is negative</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="descendingMap()"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>descendingMap</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>> descendingMap()</pre> |
| <div class="block">Returns an unmodifiable snapshot <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Map</code></a> view of the mappings contained in this |
| map. The map's collections return the mappings whose order of iteration is the |
| descending order in which its entries are considered eligible for retention, from |
| the most-likely to be retained to the least-likely. |
| <p> |
| Beware that obtaining the mappings is <em>NOT</em> a constant-time operation. |
| Because of the asynchronous nature of the page replacement policy, determining the |
| retention ordering requires a traversal of the entries.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a descending snapshot view of this map</dd> |
| </dl> |
| </li> |
| </ul> |
| <a id="descendingMapWithLimit(int)"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>descendingMapWithLimit</h4> |
| <pre class="methodSignature">public <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink">Map</a><<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">K</a>,​<a href="ConcurrentLinkedHashMap.html" title="type parameter in ConcurrentLinkedHashMap">V</a>> descendingMapWithLimit​(int limit)</pre> |
| <div class="block">Returns an unmodifiable snapshot <a href="https://docs.oracle.com/javase/8/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util" class="externalLink"><code>Map</code></a> view of the mappings contained in this |
| map. The map's collections return the mappings whose order of iteration is the |
| descending order in which its entries are considered eligible for retention, from |
| the most-likely to be retained to the least-likely. |
| <p> |
| Beware that obtaining the mappings is <em>NOT</em> a constant-time operation. |
| Because of the asynchronous nature of the page replacement policy, determining the |
| retention ordering requires a traversal of the entries.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>limit</code> - the maximum size of the returned map</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a descending snapshot view of this map</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang" class="externalLink">IllegalArgumentException</a></code> - if the limit is negative</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </section> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </main> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <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/ConcurrentLinkedHashMap.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 class="aboutLanguage"><a href="http://cayenne.apache.org" target="top">Apache Cayenne</a></div> |
| </div> |
| <div class="subNav"> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../allclasses.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </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> |
| <a id="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </nav> |
| <p class="legalCopy"><small>Copyright © 2001–2022 <a href="https://cayenne.apache.org/">Apache Cayenne</a>. All rights reserved.</small></p> |
| </footer> |
| </body> |
| </html> |