org.mockserver.collections
Class CircularHashMap<K,V>
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<K,V>
java.util.LinkedHashMap<K,V>
org.mockserver.collections.CircularHashMap<K,V>
- All Implemented Interfaces:
- Serializable, Cloneable, Map<K,V>
public class CircularHashMap<K,V>
- extends LinkedHashMap<K,V>
- Author:
- jamesdbloom
- See Also:
- Serialized Form
| Methods inherited from interface java.util.Map |
containsKey, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
CircularHashMap
public CircularHashMap(int maxSize)
removeEldestEntry
protected boolean removeEldestEntry(Map.Entry<K,V> eldest)
- Overrides:
removeEldestEntry in class LinkedHashMap<K,V>
findKey
public K findKey(V value)
Copyright © 2017. All rights reserved.