@Persistent abstract class MapProxy<K,V> extends java.lang.Object implements PersistentProxy<java.util.Map<K,V>>
Modifier and Type | Class and Description |
---|---|
(package private) static class |
MapProxy.HashMapProxy<K,V> |
(package private) static class |
MapProxy.LinkedHashMapProxy<K,V> |
(package private) static class |
MapProxy.TreeMapProxy<K,V> |
Modifier | Constructor and Description |
---|---|
protected |
MapProxy() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<K,V> |
convertProxy()
Returns a new proxied class instance to which the state of this proxy
instance has been copied.
|
void |
initializeProxy(java.util.Map<K,V> map)
Copies the state of a given proxied class instance to this proxy
instance.
|
protected abstract java.util.Map<K,V> |
newInstance(int size) |
public final void initializeProxy(java.util.Map<K,V> map)
PersistentProxy
initializeProxy
in interface PersistentProxy<java.util.Map<K,V>>
public final java.util.Map<K,V> convertProxy()
PersistentProxy
convertProxy
in interface PersistentProxy<java.util.Map<K,V>>
Copyright (c) 2004-2012 Oracle. All rights reserved.