org.sonar.duplications.detector.suffixtree
Class TextSet
java.lang.Object
org.sonar.duplications.detector.suffixtree.AbstractText
org.sonar.duplications.detector.suffixtree.TextSet
- All Implemented Interfaces:
- Text
public final class TextSet
- extends AbstractText
Simplifies construction of generalised suffix-tree.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
builder
public static TextSet.Builder builder()
isInsideOrigin
public boolean isInsideOrigin(int pos)
symbolAt
public Object symbolAt(int index)
- Specified by:
symbolAt
in interface Text
- Overrides:
symbolAt
in class AbstractText
- Returns:
- symbol at the specified index
getBlock
public Block getBlock(int index)
Copyright © 2009-2012 SonarSource. All Rights Reserved.