Class SerEnumMap<K extends Enum<K>,V>
java.lang.Object
com.pnfsoftware.jeb.util.serialization.objects.SerEnumMap<K,V>
- All Implemented Interfaces:
Map<K,
V>
A serializable version of
EnumMap
.-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
boolean
containsKey
(Object key) boolean
containsValue
(Object value) entrySet()
boolean
int
hashCode()
boolean
isEmpty()
keySet()
void
int
size()
toString()
values()
static <K extends Enum<K>,
V>
SerEnumMap<K,V> wrapped()
Retrieve the wrappedEnumMap
object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Constructor Details
-
SerEnumMap
public SerEnumMap()Reserved. Do not use. Usewrap(Class, EnumMap)
instead.
-
-
Method Details
-
wrap
-
wrapped
Retrieve the wrappedEnumMap
object.- Returns:
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
-
containsValue
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
keySet
-
values
-
entrySet
-
hashCode
public int hashCode() -
equals
-
toString
-