LinkedHashMap.RemoveEldestEntry(IMapEntry) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns true
if this map should remove its eldest entry.
[Android.Runtime.Register("removeEldestEntry", "(Ljava/util/Map$Entry;)Z", "GetRemoveEldestEntry_Ljava_util_Map_Entry_Handler")]
protected virtual bool RemoveEldestEntry (Java.Util.IMapEntry? eldest);
[<Android.Runtime.Register("removeEldestEntry", "(Ljava/util/Map$Entry;)Z", "GetRemoveEldestEntry_Ljava_util_Map_Entry_Handler")>]
abstract member RemoveEldestEntry : Java.Util.IMapEntry -> bool
override this.RemoveEldestEntry : Java.Util.IMapEntry -> bool
Parameters
- eldest
- IMapEntry
The least recently inserted entry in the map, or if
this is an access-ordered map, the least recently accessed
entry. This is the entry that will be removed it this
method returns true
. If the map was empty prior
to the put
or putAll
invocation resulting
in this invocation, this will be the entry that was just
inserted; in other words, if the map contains a single
entry, the eldest entry is also the newest.
Returns
true
if the eldest entry should be removed
from the map; false
if it should be retained.
- Attributes
Remarks
Java documentation for java.util.LinkedHashMap.removeEldestEntry(java.util.Entry)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.