JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.util

Class CollectionUtils



  • public class CollectionUtils
    extends Object 
    • Constructor Detail

      • CollectionUtils

        public CollectionUtils()
    • Method Detail

      • isNullOrEmpty

        public static <T> boolean isNullOrEmpty(Collection<T> collection)
      • mergeLists

        public static <T> List<T> mergeLists(List<T> list1,
         List<T> list2)
        Returns a new list containing the second list appended to the first list.
      • join

        public static String join(Collection<String> toJoin,
         String separator)
        Joins a collection of strings with the given separator into a single string.
        Parameters:
        toJoin - Collection containing items to join.
        separator - String to join items with.
        Returns:
        Empty string if collection is null or empty. Otherwise joins all strings in the collection with the separator.
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /