Class ListUtil


  • public class ListUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      ListUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T getLast​(java.util.List<T> list)  
      static int lastIndex​(int size)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ListUtil

        public ListUtil()
    • Method Detail

      • lastIndex

        public static int lastIndex​(int size)
      • getLast

        public static <T> T getLast​(java.util.List<T> list)