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

delight.concurrency.factories.CollectionFactory Maven / Gradle / Ivy

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