All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.osgl.inject.provider.ArrayListProvider Maven / Gradle / Ivy

There is a newer version: 1.13.2
Show newest version
package org.osgl.inject.provider;

import org.osgl.util.C;

import javax.inject.Provider;
import java.util.ArrayList;
import java.util.List;

/**
 * Inject {@link List} and {@link C.List} using
 * {@link org.osgl.util.DelegatingList} implementation.
 */
public class ArrayListProvider implements Provider> {

    public static final ArrayListProvider INSTANCE = new ArrayListProvider();

    @Override
    public ArrayList get() {
        return new ArrayList();
    }

}