private static Entry<TokenType, Set<TokenType>> entry(final TokenType tokenType,
                                                          final Set<TokenType> set) {
        return Map.entry(tokenType, set(set));
    }
@return True if tokenTypes are the last contiguous sequence of {@link TokenType}s
seen at the end of tokenTypeSequence.
stroom-query/stroom-query-api/src/main/java/stroom/query/api/token/TokenType.java