@@ -0,0 +1,1518 @@
+/**********************************************************************%0ACopyright (c) 2009-2010 Alexander Kerner. All rights reserved.%0ALicensed under the Apache License, Version 2.0 (the %22License%22);%0Ayou may not use this file except in compliance with the License.%0AYou may obtain a copy of the License at%0A%0A    http://www.apache.org/licenses/LICENSE-2.0%0A%0AUnless required by applicable law or agreed to in writing, software%0Adistributed under the License is distributed on an %22AS IS%22 BASIS,%0AWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0ASee the License for the specific language governing permissions and%0Alimitations under the License.%0A ***********************************************************************/%0A%0Apackage net.sf.kerner.utils.collections.list;%0A%0Aimport java.util.Collection;%0Aimport java.util.List;%0A%0Aimport net.sf.kerner.utils.collections.CollectionFactory;%0A%0A/**%0A * %0A * %0A * A %7B@code ListFactory%7D extends a %7B@link CollectionFactory%7D by limiting the%0A * created %7B@code Collection%7D to be a %7B@link java.util.List List%7D.%0A * %0A * %0A * @author %3Ca href=%22mailto:alex.kerner.24@googlemail.com%22%3EAlexander Kerner%3C/a%3E%0A * @version 2010-11-02%0A * %0A * @param %3CE%3E type of elements contained by the %7B@code List%7D%0A */%0Apublic interface ListFactory%3CE%3E extends CollectionFactory%3CE%3E %7B%0A%0A%09/**%0A%09 * Create a new %7B@link java.util.List List%7D.%0A%09 */%0A%09List%3CE%3E create();%0A%0A%09/**%0A%09 * Create a new %7B@link java.util.List List%7D containing all given elements.%0A%09 */%0A%09List%3CE%3E createCollection(Collection%3C? extends E%3E elements);%0A%0A%7D%0A

Introduce ListFactory.