Interface CompletionResultSource
-
- All Known Implementing Classes:
XPathCompletionSource
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface CompletionResultSource
Language specific tool to suggest auto-completion results.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Stream<MatchResult<String>>
getSortedMatches(String input, int limit)
Returns a stream of pre-built TextFlows sorted by relevance.
-
-
-
Method Detail
-
getSortedMatches
Stream<MatchResult<String>> getSortedMatches(String input, int limit)
Returns a stream of pre-built TextFlows sorted by relevance. The stream will contain at most "limit" elements.
-
-