Class ListI<T>

    • Method Detail

      • list

        public static <T> List<T> list()
      • prepareForSizeOf

        public void prepareForSizeOf​(int targetSize)
        Description copied from interface: List
        Allows the list allocate memory in advance in relation to the expected List.size() of this. This method is currently only intended for runtime improvements.
        Specified by:
        prepareForSizeOf in interface List<T>
        Parameters:
        targetSize - The expected future return value of List.size().