org.eclipse.core.internal.dtree
Class DataTreeLookup
java.lang.Object
org.eclipse.core.internal.dtree.DataTreeLookup
public class DataTreeLookup
- extends java.lang.Object
The result of doing a lookup() in a data tree. Uses an instance
pool that assumes no more than POOL_SIZE instance will ever be
needed concurrently. Reclaims and reuses instances on an LRU basis.
Method Summary |
static DataTreeLookup |
newLookup(org.eclipse.core.runtime.IPath nodeKey,
boolean isPresent,
java.lang.Object data)
Factory method for creating a new lookup object. |
static DataTreeLookup |
newLookup(org.eclipse.core.runtime.IPath nodeKey,
boolean isPresent,
java.lang.Object data,
boolean foundInFirstDelta)
Factory method for creating a new lookup object. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
key
public org.eclipse.core.runtime.IPath key
isPresent
public boolean isPresent
data
public java.lang.Object data
foundInFirstDelta
public boolean foundInFirstDelta
newLookup
public static DataTreeLookup newLookup(org.eclipse.core.runtime.IPath nodeKey,
boolean isPresent,
java.lang.Object data)
- Factory method for creating a new lookup object.
newLookup
public static DataTreeLookup newLookup(org.eclipse.core.runtime.IPath nodeKey,
boolean isPresent,
java.lang.Object data,
boolean foundInFirstDelta)
- Factory method for creating a new lookup object.