Class CollectionTemplateExtensions


  • @Vetoed
    public class CollectionTemplateExtensions
    extends Object
    • Constructor Detail

      • CollectionTemplateExtensions

        public CollectionTemplateExtensions()
    • Method Detail

      • get

        static <T> T get​(List<T> list,
                         int index)
      • getByIndex

        static <T> T getByIndex​(List<T> list,
                                String index)
      • reversed

        static <T> Iterator<T> reversed​(List<T> list)
      • take

        static <T> List<T> take​(List<T> list,
                                int n)
      • takeLast

        static <T> List<T> takeLast​(List<T> list,
                                    int n)
      • first

        static <T> T first​(List<T> list)
      • last

        static <T> T last​(List<T> list)