Class DNASearch
- java.lang.Object
-
- DNASearch
-
public class DNASearch extends Object
Search DNA by autocompleting across all suffixes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) static class
DNASearch.SuffixCollection
Generates all (length - 1) suffixes of the given sequence of characters and presents them in a collection.
-
Field Summary
Fields Modifier and Type Field Description private static int
MAX_MATCHES
Maximum number of matches to print.private static String
PATH
Path to the DNA text.
-
Constructor Summary
Constructors Constructor Description DNASearch()
-
-
-
Field Detail
-
MAX_MATCHES
private static final int MAX_MATCHES
Maximum number of matches to print.- See Also:
- Constant Field Values
-
PATH
private static final String PATH
Path to the DNA text.- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(String[] args) throws IOException
- Throws:
IOException
-
-