Class PaginatorUtils


  • public final class PaginatorUtils
    extends Object
    • Method Detail

      • isOutputTokenAvailable

        public static <T> boolean isOutputTokenAvailable​(T outputToken)
        Checks if the output token is available.
        Type Parameters:
        T - the type of the output token
        Parameters:
        outputToken - the output token to check
        Returns:
        true if the output token is non-null or non-empty if the output token is a String or map or Collection type