org.eclipse.core.internal.dtree
Class DataTreeLookup

java.lang.Object
  extended by 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.


Field Summary
 java.lang.Object data
           
 boolean foundInFirstDelta
           
 boolean isPresent
           
 org.eclipse.core.runtime.IPath key
           
 
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
 

Field Detail

key

public org.eclipse.core.runtime.IPath key

isPresent

public boolean isPresent

data

public java.lang.Object data

foundInFirstDelta

public boolean foundInFirstDelta
Method Detail

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.