org.eclipse.emf.edit.command
Class CopyCommand.Helper
java.lang.Object
java.util.AbstractMap
java.util.HashMap
org.eclipse.emf.edit.command.CopyCommand.Helper
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- Enclosing class:
- CopyCommand
- public static class CopyCommand.Helper
- extends java.util.HashMap
This helper class is used to keep track of copied objects and their associated copies.
- See Also:
- Serialized Form
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
initializationList
protected java.util.ArrayList initializationList
deferredInitializationCount
protected int deferredInitializationCount
CopyCommand.Helper
public CopyCommand.Helper()
getCopy
public EObject getCopy(EObject object)
- Return the copy of the specified object if it has one.
getCopyTarget
public EObject getCopyTarget(EObject target,
boolean copyRequired)
- Return the copy of the specified object or the object itself if it has no copy.
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
remove
public java.lang.Object remove(java.lang.Object key)
initializationIterator
public java.util.Iterator initializationIterator()
incrementDeferredInitializationCount
public void incrementDeferredInitializationCount()
decrementDeferredInitializationCount
public int decrementDeferredInitializationCount()