multivalent.node
public class NodeCharSequence extends Object implements CharSequence
java.util.regex.Pattern regular rexpressions
.
The sequence consists of the text of each leaf (getName, separated by spaces.
The same instance can be used for many searches or other operations.
At its creation, this class takes a snapshot of the tree and ignores subsequent modification to it.Version: $Revision$ $Date$
Constructor Summary | |
---|---|
NodeCharSequence(Node root) | |
NodeCharSequence(Leaf startl, Leaf endl) |
Method Summary | |
---|---|
char | charAt(int index) |
int | length() |
Mark | markAt(int index) |
Leaf | nodeAt(int index) |
CharSequence | subSequence(int start, int end) |
int | textIndexOf(Leaf l) |
String | toString() |