Class FuzzyList<T>
java.lang.Object
io.deephaven.lang.completion.results.FuzzyList<T>
- All Implemented Interfaces:
Iterable<T>
A list-like object that performs fuzzy sorting on the edit distance of strings.
The constructor takes the pattern String (user input), then you can add-by-string-key any number of objects of type
T. The score for each String is used to sort entries which contain source object and string key.
This can allow you to, for example, sort methods based on distance to a user-entered search query.