com.unitesk.requality.merge
Class Context
java.lang.Object
com.unitesk.requality.merge.Context
public class Context
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Context
public Context(Node root)
Context
public Context(Node node,
Context parentContext)
getChildContexts
public java.util.List<Context> getChildContexts()
getSiblingContexts
public java.util.List<Context> getSiblingContexts()
contextSimilarity
public int contextSimilarity(Context that)
equals
public boolean equals(Context that)
positionDistance
public int positionDistance(Context that)
getPosition
public int getPosition()
getDepth
public int getDepth()
isWithin
public boolean isWithin(Context context)
getParentContext
public Context getParentContext()
getLabel
public long getLabel()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getIndex
public int getIndex()
getId
public int getId()
getNode
public Node getNode()
isExcluded
public boolean isExcluded()
excludeFromSearch
public void excludeFromSearch(boolean exclude)