Class UnorderedCollection<E>

    • Constructor Detail

      • UnorderedCollection

        public UnorderedCollection()
        Default constructor. Reserves capacity for 10 elements.
      • UnorderedCollection

        public UnorderedCollection​(int initialCapacity)
        Constructor. Reserves the specified initial capacity.
        Parameters:
        initialCapacity - the number of elements to reserve capacity for.
      • UnorderedCollection

        public UnorderedCollection​(Collection<? extends E> coll)
        Constructor. Initializes the collection with the contents of the specified collection.
        Parameters:
        coll - the collection.