|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.internal.events.NodeIDMap
public class NodeIDMap
A specialized map that maps Node IDs to their old and new paths. Used for calculating moves during resource change notification.
Constructor Summary | |
---|---|
NodeIDMap()
Creates a new node ID map of default capacity. |
Method Summary | |
---|---|
org.eclipse.core.runtime.IPath |
getNewPath(long nodeID)
Returns the new path location for the given ID, or null if no new path is available. |
org.eclipse.core.runtime.IPath |
getOldPath(long nodeID)
Returns the old path location for the given ID, or null if no old path is available. |
boolean |
isEmpty()
Returns true if there are no elements in the map, and false otherwise. |
void |
putNewPath(long id,
org.eclipse.core.runtime.IPath path)
Adds an entry for a node's old path |
void |
putOldPath(long id,
org.eclipse.core.runtime.IPath path)
Adds an entry for a node's old path |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeIDMap()
Method Detail |
---|
public org.eclipse.core.runtime.IPath getNewPath(long nodeID)
public org.eclipse.core.runtime.IPath getOldPath(long nodeID)
public boolean isEmpty()
public void putOldPath(long id, org.eclipse.core.runtime.IPath path)
public void putNewPath(long id, org.eclipse.core.runtime.IPath path)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |