new Pair(str, pos)
Pair object constructor for pairs in the tree
Parameters:
Name | Type | Description |
---|---|---|
str |
the value of pair | |
pos |
the starting positions in text |
- Source:
Members
length
starting positions in text
- Source:
positions
value of pair
- Source:
Methods
update(letter)
Method to update the position of the pattern of a pair with a new letter
Parameters:
Name | Type | Description |
---|---|---|
letter |
the letter that gets concated to the pattern |
- Source: