
delight.concurrency.factories.CollectionFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of delight-concurrency Show documentation
Show all versions of delight-concurrency Show documentation
An abstract and lightweight definition of concurrency fundamentals.
The newest version!
package delight.concurrency.factories;
import java.util.List;
import java.util.Map;
import java.util.Queue;
import java.util.Set;
public interface CollectionFactory {
public abstract Queue newThreadSafeQueue(
Class itemType);
public abstract Map newThreadSafeMap(
Class keyType, Class valueType);
public abstract List newThreadSafeList(
Class itemType);
public abstract Set newThreadSafeSet(
Class itemType);
public abstract Map newWeakHashMap(Class keyType, Class valueType);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy