java.lang.Object
org.apache.wicket.util.collections.MiniMap<K,V>
- Type Parameters:
K
- Key typeV
- Value type
- All Implemented Interfaces:
Serializable
,Map<K,
V>
A fixed size map implementation. Holds an array of keys and array of values which correspond by
index. Null key entries are available for use. This means that null is not a valid key.
- Author:
- Jonathan Locke
- See Also:
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
MiniMap
Constructor- Parameters:
maxEntries
- The maximum number of entries this map can hold
-
MiniMap
Constructor- Parameters:
map
- The mapmaxEntries
- The maximum number of entries this map can hold
-
-
Method Details
-
isFull
- Returns:
- True if this MiniMap is full
-
size
-
isEmpty
-
containsKey
- Specified by:
containsKey
in interfaceMap<K,
V> - See Also:
-
containsValue
- Specified by:
containsValue
in interfaceMap<K,
V> - See Also:
-
get
-
put
-
remove
-
putAll
-
clear
-
keySet
-
values
-
entrySet
-