Class AnyList

    • Constructor Detail

      • AnyList

        AnyList(int capacity)

        Construct a new list with AnyList.length of zero and optional initial capacity. A list can expand in length beyond its initial capacity, but best performance will be obtained if the initial capacity is close to (and not less than) the list's maximum length.

        Parameters:
        capacity - Optional initial capacity.