Class CollectionUtils


  • public class CollectionUtils
    extends Object
    Author:
    snowgoose
    • Constructor Detail

      • CollectionUtils

        public CollectionUtils()
    • Method Detail

      • isEmpty

        public static <T> boolean isEmpty​(Collection<T> aCollection)
      • isNotEmpty

        public static <T> boolean isNotEmpty​(Collection<T> aCollection)
      • indexOf

        public static <T> T indexOf​(List<T> aCollection,
                                    int index)
      • indexOf

        public static <T> T indexOf​(List<T> aCollection,
                                    int index,
                                    T defaultValue)