org.osgl.inject.provider.DequeProvider 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 javax.inject.Provider;
import java.util.ArrayDeque;
import java.util.Deque;
/**
* Inject {@link Deque} type bean using {@link ArrayDeque}
*/
public class DequeProvider implements Provider> {
public static final DequeProvider INSTANCE = new DequeProvider();
@Override
public Deque> get() {
return new ArrayDeque();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy