Package org.naviqore.utils.search
Class SearchIndex<T>
java.lang.Object
org.naviqore.utils.search.SearchIndex<T>
- Type Parameters:
T- the type of objects to be indexed.
SearchIndex class for indexing strings and their associated objects.
Supports different search strategies on strings, such as STARTS_WITH, ENDS_WITH, CONTAINS, and EXACT.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> SearchIndexBuilder<T> builder()search(String query, SearchIndex.SearchStrategy strategy) Searches for values matching the query and the search strategy.
-
Constructor Details
-
SearchIndex
public SearchIndex()
-
-
Method Details
-
builder
-