Interface AutoPopulatingList.ElementFactory<E>
- Type Parameters:
E- the element type
- Enclosing class:
AutoPopulatingList<E>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@Deprecated(since="7.1",
forRemoval=true)
@FunctionalInterface
public static interface AutoPopulatingList.ElementFactory<E>
Deprecated, for removal: This API element is subject to removal in a future version.
Factory interface for creating elements for an index-based access
data structure such as a
List.- Since:
- 2.0
- Author:
- Rob Harrop, Juergen Hoeller
-
Method Summary
Modifier and TypeMethodDescriptioncreateElement(int index) Deprecated, for removal: This API element is subject to removal in a future version.Create the element for the supplied index.
-
Method Details
-
createElement
Deprecated, for removal: This API element is subject to removal in a future version.Create the element for the supplied index.- Returns:
- the element object
- Throws:
AutoPopulatingList.ElementInstantiationException- if the instantiation process failed (any exception thrown by a target constructor should be propagated as-is)
-
AutoPopulatingList; to be removed in 8.0