Class FuzzyList<T>

java.lang.Object
io.deephaven.lang.completion.results.FuzzyList<T>
All Implemented Interfaces:
Iterable<T>

public class FuzzyList<T> extends Object implements 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.
  • Constructor Details

    • FuzzyList

      public FuzzyList(String key)
  • Method Details