public class AMFPersistentCollectionSnapshot extends Object implements PersistentCollectionSnapshot
| Modifier and Type | Field and Description |
|---|---|
protected String |
detachedState |
protected boolean |
dirty |
protected Object[] |
elements |
protected boolean |
initialized |
| Constructor and Description |
|---|
AMFPersistentCollectionSnapshot(boolean sorted,
String detachedState) |
AMFPersistentCollectionSnapshot(boolean initialized,
String detachedState,
boolean dirty,
Collection<?> collection) |
AMFPersistentCollectionSnapshot(boolean initialized,
String detachedState,
boolean dirty,
Map<?,?> collection) |
AMFPersistentCollectionSnapshot(String detachedState) |
| Modifier and Type | Method and Description |
|---|---|
String |
getDetachedState() |
<T> Collection<T> |
getElementsAsCollection() |
<K,V> Map<K,V> |
getElementsAsMap() |
boolean |
isDirty() |
boolean |
isInitialized() |
boolean |
isSorted() |
<T> Comparator<T> |
newComparator(ObjectInput in) |
void |
readCoreData(ObjectInput in) |
void |
readExternal(ObjectInput in) |
void |
readInitializationData(ObjectInput in) |
void |
writeExternal(ObjectOutput out) |
protected boolean initialized
protected String detachedState
protected boolean dirty
public AMFPersistentCollectionSnapshot(String detachedState)
public AMFPersistentCollectionSnapshot(boolean sorted, String detachedState)
public AMFPersistentCollectionSnapshot(boolean initialized, String detachedState, boolean dirty, Collection<?> collection)
public AMFPersistentCollectionSnapshot(boolean initialized, String detachedState, boolean dirty, Map<?,?> collection)
public boolean isInitialized()
isInitialized in interface PersistentCollectionSnapshotpublic String getDetachedState()
getDetachedState in interface PersistentCollectionSnapshotpublic boolean isDirty()
isDirty in interface PersistentCollectionSnapshotpublic boolean isSorted()
isSorted in interface PersistentCollectionSnapshotpublic <T> Comparator<T> newComparator(ObjectInput in)
newComparator in interface PersistentCollectionSnapshotpublic <T> Collection<T> getElementsAsCollection()
getElementsAsCollection in interface PersistentCollectionSnapshotpublic <K,V> Map<K,V> getElementsAsMap()
getElementsAsMap in interface PersistentCollectionSnapshotpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void readInitializationData(ObjectInput in) throws IOException, ClassNotFoundException
readInitializationData in interface PersistentCollectionSnapshotIOExceptionClassNotFoundExceptionpublic void readCoreData(ObjectInput in) throws IOException, ClassNotFoundException
readCoreData in interface PersistentCollectionSnapshotIOExceptionClassNotFoundException