Package org.apache.lucene.util.fst
Class FSTTester<T>
- java.lang.Object
-
- org.apache.lucene.util.fst.FSTTester<T>
-
public class FSTTester<T> extends Object
Helper class to test FSTs.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFSTTester.InputOutput<T>Holds one input/output pair.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoTest(boolean testPruning)static StringgetRandomString(Random random)[LUCENE-9600] This was made public because a misc module test depends on it.protected booleanoutputsEqual(T a, T b)static IntsReftoIntsRef(String s, int inputMode)
-
-
-
Method Detail
-
getRandomString
public static String getRandomString(Random random)
[LUCENE-9600] This was made public because a misc module test depends on it. It is not recommended for generic usecase; considerRandomStringsto generate random strings.
-
doTest
public void doTest(boolean testPruning) throws IOException- Throws:
IOException
-
-