| Modifier and Type | Field and Description |
|---|---|
static MiniMap0<?,?> |
instance
A reusable instance.
|
| Constructor and Description |
|---|
MiniMap0()
Construct a
MiniMap0. |
MiniMap0(Map<K,V> map)
Construct a
MiniMap0 from another Map (helps with deserializing). |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(Object key)
Test whether the map contains a key equal to the specified key (always
false). |
boolean |
containsValue(Object value)
Test whether the map contains a value equal to the specified value (always
false). |
Set<Map.Entry<K,V>> |
entrySet()
Get a
Set of the entries in this map. |
boolean |
equals(Object other)
Compares the specified object with this map for equality.
|
V |
get(Object key)
Get the value corresponding to the supplied key.
|
int |
hashCode()
Returns the hash code value for this map.
|
boolean |
isEmpty()
Return
true to indicate that the map is empty. |
Set<K> |
keySet()
Get a
Set of the keys in use in this map. |
int |
size()
Get the number of entries (always zero).
|
String |
toString()
Returns a string representation of this map.
|
Collection<V> |
values()
Get a
Collection of the values in this map. |
clear, entry, map, map, map, of, of, of, of, of, put, putAll, remove, stringOfclone, finalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic static final MiniMap0<?,?> instance
public int size()
public boolean isEmpty()
true to indicate that the map is empty.truepublic boolean containsKey(Object key)
false).key - the keyfalsepublic boolean containsValue(Object value)
false).value - the valuefalsepublic V get(Object key)
null.key - the keynullpublic Collection<V> values()
Collection of the values in this map. Always returns an empty Collection.Collectionpublic boolean equals(Object other)
true if the given object is also a
map, and it is also empty.public int hashCode()
Copyright © 2023. All rights reserved.