@throws nullpointerexception if list or factory is null
@param list the list to decorate, must not be null
@param factory the factory to use for creation, must not be null
file : https_github_com_apache_commons-collections_git/src/main/java/org/apache/commons/collections4/list/LazyList.java