Uses of Record Class
fr.becpg.repo.helper.SearchWord
Packages that use SearchWord
-
Uses of SearchWord in fr.becpg.repo.helper
Methods in fr.becpg.repo.helper that return SearchWordModifier and TypeMethodDescription(package private) static SearchWordBuilds the search word of a lower-cased, accent-free word.Methods in fr.becpg.repo.helper that return types with arguments of type SearchWordModifier and TypeMethodDescriptionprivate static List<List<SearchWord>> BeCPGQueryHelper.extractSearchExpressions(String query) Splits a query on its blanks into expressions, each expression holding the words its punctuation separates.private static List<SearchWord> BeCPGQueryHelper.extractSearchWords(String text) Splits a text into the words the search compares: lower-cased, without accents nor ligatures, and cut on any character that is neither a letter nor a digit.private static List<SearchWord> BeCPGQueryHelper.splitFoldedWords(String foldedText) Cuts a folded text on any character that is neither a letter nor a digit.Methods in fr.becpg.repo.helper with parameters of type SearchWordModifier and TypeMethodDescription(package private) booleanSearchWord.isSameWordAs(SearchWord word) Tells whether a typed word is this word, as typed or in its common form.(package private) booleanSearchWord.isStartedBy(SearchWord prefix) Tells whether a typed word starts this word, as typed or in its common form.Method parameters in fr.becpg.repo.helper with type arguments of type SearchWordModifier and TypeMethodDescriptionprivate static intBeCPGQueryHelper.countTypedCharacters(List<SearchWord> expression) Counts the characters of the words of an expression, as typed.private static intBeCPGQueryHelper.findExpressionStart(List<SearchWord> expression, List<SearchWord> nameWords, boolean[] takenNameWords) Finds the first run of free name words matching an expression: every word but the last is the same word, the last one is started by the typed word.private static booleanBeCPGQueryHelper.isExpressionAt(List<SearchWord> expression, List<SearchWord> nameWords, boolean[] takenNameWords, int start) Tells whether an expression matches the free name words starting at the given index.private static booleanBeCPGQueryHelper.startsDistinctExpressions(List<List<SearchWord>> queryExpressions, List<SearchWord> nameWords) Checks that each query expression is found on its own name words, so that a word typed twice must be found twice.