Class Collection


  • public class Collection
    extends java.lang.Object
    Utility functions for working with Collections.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T> T[] create​(T... args)  
      static <T> java.lang.String join​(java.util.List<T> list, java.lang.String separator, java.util.function.Function<T,​java.lang.String> function)  
      static java.lang.String[] tail​(java.lang.String[] args)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • tail

        public static java.lang.String[] tail​(java.lang.String[] args)
      • create

        @SafeVarargs
        public static <T> T[] create​(T... args)
      • join

        public static <T> java.lang.String join​(java.util.List<T> list,
                                                java.lang.String separator,
                                                java.util.function.Function<T,​java.lang.String> function)