mirror of
https://github.com/bspeice/itcs3146-project
synced 2025-07-05 07:34:44 -04:00
17 lines
297 B
Java
17 lines
297 B
Java
public class baseAlgorithm{
|
|
|
|
int[] memoryBlock;
|
|
|
|
void baseAlgorithm(int memorySize){
|
|
/* Constructor needed for each algorithm */
|
|
memoryBlock = new int[memorySize];
|
|
}
|
|
|
|
void allocate(){
|
|
/* This method to be overloaded by each algorithm */
|
|
}
|
|
void deallocate(){
|
|
|
|
}
|
|
}
|