Package me.saro.kit

Class Lists

java.lang.Object
me.saro.kit.Lists

public class Lists
extends java.lang.Object
list util
Since:
1.0.0
Author:
PARK Yong Seo
  • Constructor Summary

    Constructors 
    Constructor Description
    Lists()  
  • Method Summary

    Modifier and Type Method Description
    static <T> java.util.List<T> asList​(T... args)
    This method, unlike "Arrays.asList", can editable the returned result.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • asList

      @SafeVarargs public static <T> java.util.List<T> asList​(T... args)
      This method, unlike "Arrays.asList", can editable the returned result.
      Type Parameters:
      T - template
      Parameters:
      args - element arguments or array
      Returns:
      editable list (ArrayList)