@Persistent abstract class CollectionProxy<E> extends java.lang.Object implements PersistentProxy<java.util.Collection<E>>
Modifier and Type | Class and Description |
---|---|
(package private) static class |
CollectionProxy.ArrayListProxy<E> |
(package private) static class |
CollectionProxy.HashSetProxy<E> |
(package private) static class |
CollectionProxy.LinkedListProxy<E> |
(package private) static class |
CollectionProxy.TreeSetProxy<E> |
Modifier | Constructor and Description |
---|---|
protected |
CollectionProxy() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<E> |
convertProxy()
Returns a new proxied class instance to which the state of this proxy
instance has been copied.
|
(package private) static void |
copyElements(RecordInput input,
Format format,
Format keyFormat,
java.util.Set results) |
(package private) static java.lang.Object[] |
getElements(RawObject collection) |
void |
initializeProxy(java.util.Collection<E> collection)
Copies the state of a given proxied class instance to this proxy
instance.
|
protected abstract java.util.Collection<E> |
newInstance(int size) |
(package private) static void |
setElements(RawObject collection,
java.lang.Object[] elements) |
public final void initializeProxy(java.util.Collection<E> collection)
PersistentProxy
initializeProxy
in interface PersistentProxy<java.util.Collection<E>>
public final java.util.Collection<E> convertProxy()
PersistentProxy
convertProxy
in interface PersistentProxy<java.util.Collection<E>>
protected abstract java.util.Collection<E> newInstance(int size)
static java.lang.Object[] getElements(RawObject collection)
static void setElements(RawObject collection, java.lang.Object[] elements)
static void copyElements(RecordInput input, Format format, Format keyFormat, java.util.Set results) throws RefreshException
RefreshException
Copyright (c) 2004-2012 Oracle. All rights reserved.