We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a7b50a commit ea47d3fCopy full SHA for ea47d3f
com/williamfiset/datastructures/suffixarray/SuffixArray.java
@@ -47,14 +47,14 @@ public int[] getLcpArray() {
47
}
48
49
// Builds the suffix array by calling the construct() method.
50
- private void buildSuffixArray() {
+ protected void buildSuffixArray() {
51
if (constructedSa) return;
52
construct();
53
constructedSa = true;
54
55
56
// Builds the LCP array by first creating the SA and then running the kasai algorithm.
57
- private void buildLcpArray() {
+ protected void buildLcpArray() {
58
if (constructedLcpArray) return;
59
buildSuffixArray();
60
kasai();
0 commit comments