blob: 7a4b76b636961eceaace26b449b09905bd63bd3a [file] [log] [blame]
package org.eclipse.osee.ote.collections;
public abstract class ObjectPoolConfiguration<T> {
private int maxSize;
private boolean preallocate;
public ObjectPoolConfiguration(int maxSize, boolean preallocate){
this.maxSize = maxSize;
this.preallocate = preallocate;
}
public int getMaxSize(){
return maxSize;
}
public boolean preallocate(){
return preallocate;
}
abstract public T make();
}