mirror of
https://github.com/bspeice/itcs3146-project
synced 2024-12-22 06:38:23 -05:00
Update the baseAlgorithm class
This commit is contained in:
parent
1fd7966e3b
commit
af99b63284
@ -1,18 +1,16 @@
|
||||
public class baseAlgorithm{
|
||||
|
||||
int memoryBlock[];
|
||||
|
||||
void 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(){
|
||||
|
||||
}
|
||||
void createThread(){
|
||||
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user