@FunctionalInterface
public static interface AutoPopulatingList.ElementFactory<E>
List.| Modifier and Type | Method and Description | 
|---|---|
E | 
createElement(int index)
Create the element for the supplied index. 
 | 
E createElement(int index) throws AutoPopulatingList.ElementInstantiationException
AutoPopulatingList.ElementInstantiationException - if the instantiation process failed
 (any exception thrown by a target constructor should be propagated as-is)