AutoPopulatingList(elementClass: Class<out E>)
Creates a new AutoPopulatingList that is backed by a standard ArrayList and adds new instances of the supplied Class to the backing List on demand.
AutoPopulatingList(backingList: MutableList<E>, elementClass: Class<out E>)
Creates a new AutoPopulatingList that is backed by the supplied List and adds new instances of the supplied Class to the backing List on demand.
AutoPopulatingList(elementFactory: ElementFactory)
Creates a new AutoPopulatingList that is backed by a standard ArrayList and creates new elements on demand using the supplied ElementFactory.
AutoPopulatingList(backingList: MutableList<E>, elementFactory: ElementFactory)
Creates a new AutoPopulatingList that is backed by the supplied List and creates new elements on demand using the supplied ElementFactory.