org.sonar.duplications.detector.suffixtree
Class Edge
java.lang.Object
org.sonar.duplications.detector.suffixtree.Edge
public final class Edge
- extends Object
Constructor Summary |
Edge(int beginIndex,
int endIndex,
Node startNode)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Edge
public Edge(int beginIndex,
int endIndex,
Node startNode)
splitEdge
public Node splitEdge(Suffix suffix)
insert
public void insert()
remove
public void remove()
getSpan
public int getSpan()
- Returns:
- length of this edge in symbols
getBeginIndex
public int getBeginIndex()
getEndIndex
public int getEndIndex()
getStartNode
public Node getStartNode()
getEndNode
public Node getEndNode()
Copyright © 2009-2012 SonarSource. All Rights Reserved.