public class

SerEnumMap

extends Object
implements Map<K, V>
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.serialization.objects.SerEnumMap<K extends java.lang.Enum<K>, V>

Class Overview

A serializable version of EnumMap.

Summary

Public Constructors
SerEnumMap()
Reserved.
Public Methods
void clear()
boolean containsKey(Object key)
boolean containsValue(Object value)
Set<Entry<K, V>> entrySet()
boolean equals(Object obj)
V get(Object key)
int hashCode()
boolean isEmpty()
Set<K> keySet()
V put(K key, V value)
void putAll(Map<? extends K, ? extends V> m)
V remove(Object key)
int size()
String toString()
Collection<V> values()
static <K extends Enum<K>, V> SerEnumMap<K, V> wrap(Class<K> c, EnumMap<K, V> map)
EnumMap<K, V> wrapped()
Retrieve the wrapped EnumMap object.
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.util.Map

Public Constructors

public SerEnumMap ()

Reserved. Do not use. Use wrap(Class, EnumMap) instead.

Public Methods

public void clear ()

public boolean containsKey (Object key)

public boolean containsValue (Object value)

public Set<Entry<K, V>> entrySet ()

public boolean equals (Object obj)

public V get (Object key)

public int hashCode ()

public boolean isEmpty ()

public Set<K> keySet ()

public V put (K key, V value)

public void putAll (Map<? extends K, ? extends V> m)

public V remove (Object key)

public int size ()

public String toString ()

public Collection<V> values ()

public static SerEnumMap<K, V> wrap (Class<K> c, EnumMap<K, V> map)

public EnumMap<K, V> wrapped ()

Retrieve the wrapped EnumMap object.