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 Detail

      • getSortedMatches

        java.util.stream.Stream<MatchResult<java.lang.String>> getSortedMatches​(java.lang.String input,
                                                                                int limit)
        Returns a stream of pre-built TextFlows sorted by relevance. The stream will contain at most "limit" elements.