org.sonar.duplications.detector.suffixtree
Class Node

java.lang.Object
  extended by org.sonar.duplications.detector.suffixtree.Node

public final class Node
extends Object


Constructor Summary
Node(Node node, Node suffixNode)
           
Node(SuffixTree suffixTree, Node suffixNode)
           
 
Method Summary
 void addEdge(int charIndex, Edge edge)
           
 Edge findEdge(Object ch)
           
 Collection<Edge> getEdges()
           
 Node getSuffixNode()
           
 void removeEdge(int charIndex)
           
 void setSuffixNode(Node suffixNode)
           
 Object symbolAt(int index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Node

public Node(Node node,
            Node suffixNode)

Node

public Node(SuffixTree suffixTree,
            Node suffixNode)
Method Detail

symbolAt

public Object symbolAt(int index)

addEdge

public void addEdge(int charIndex,
                    Edge edge)

removeEdge

public void removeEdge(int charIndex)

findEdge

public Edge findEdge(Object ch)

getSuffixNode

public Node getSuffixNode()

setSuffixNode

public void setSuffixNode(Node suffixNode)

getEdges

public Collection<Edge> getEdges()


Copyright © 2009-2012 SonarSource. All Rights Reserved.