Class ListUtil


  • public class ListUtil
    extends Object
    Author:
    Tony Vaagenes
    • Constructor Detail

      • ListUtil

        public ListUtil()
    • Method Detail

      • rest

        public static <T> List<T> rest​(List<T> list)
      • first

        public static <T> T first​(Collection<T> collection)
      • firstInstanceOf

        public static boolean firstInstanceOf​(Collection<?> collection,
                                              Class c)
      • butFirst

        public static <T> List<T> butFirst​(List<T> list)