public interface ConcurrentMap extends Map
Modifier and Type | Method and Description |
---|---|
Iterator |
randomEntryIterator()
Iterate over map entries, beginning at an arbitrary
(not strictly random) entry.
|
Map.Entry |
removeRandom()
Remove an arbitrary(not strictly random) entry from the map.
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Map.Entry removeRandom()
Iterator randomEntryIterator()
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.