org.osgl.inject.provider.OsglListProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of genie Show documentation
Show all versions of genie Show documentation
A JSR330 style dependency injection solution
package org.osgl.inject.provider;
import org.osgl.util.C;
import javax.inject.Provider;
import java.util.List;
/**
* Inject {@link List} and {@link org.osgl.util.C.List} using
* {@link org.osgl.util.DelegatingList} implementation.
*/
public class OsglListProvider implements Provider> {
public static final OsglListProvider INSTANCE = new OsglListProvider();
@Override
public C.List> get() {
return C.newList();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy