mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +08:00
chore: fix typos in src/main/java/com/thealgorithms/others/MemoryManagementAlgorithms.java (#7043)
Fix typos in src/main/java/com/thealgorithms/others/MemoryManagementAlgorithms.java Co-authored-by: a <19151554+alxkm@users.noreply.github.com>
This commit is contained in:
@@ -16,7 +16,7 @@ public abstract class MemoryManagementAlgorithms {
|
||||
* blocks available.
|
||||
* @param sizeOfProcesses: an int array that contains the sizes of the
|
||||
* processes we need memory blocks for.
|
||||
* @return the ArrayList filled with Integers repressenting the memory
|
||||
* @return the ArrayList filled with Integers representing the memory
|
||||
* allocation that took place.
|
||||
*/
|
||||
public abstract ArrayList<Integer> fitProcess(int[] sizeOfBlocks, int[] sizeOfProcesses);
|
||||
@@ -91,7 +91,7 @@ class BestFitCPU extends MemoryManagementAlgorithms {
|
||||
* blocks available.
|
||||
* @param sizeOfProcesses: an int array that contains the sizes of the
|
||||
* processes we need memory blocks for.
|
||||
* @return the ArrayList filled with Integers repressenting the memory
|
||||
* @return the ArrayList filled with Integers representing the memory
|
||||
* allocation that took place.
|
||||
*/
|
||||
public ArrayList<Integer> fitProcess(int[] sizeOfBlocks, int[] sizeOfProcesses) {
|
||||
@@ -149,7 +149,7 @@ class WorstFitCPU extends MemoryManagementAlgorithms {
|
||||
* blocks available.
|
||||
* @param sizeOfProcesses: an int array that contains the sizes of the
|
||||
* processes we need memory blocks for.
|
||||
* @return the ArrayList filled with Integers repressenting the memory
|
||||
* @return the ArrayList filled with Integers representing the memory
|
||||
* allocation that took place.
|
||||
*/
|
||||
public ArrayList<Integer> fitProcess(int[] sizeOfBlocks, int[] sizeOfProcesses) {
|
||||
@@ -201,7 +201,7 @@ class FirstFitCPU extends MemoryManagementAlgorithms {
|
||||
* blocks available.
|
||||
* @param sizeOfProcesses: an int array that contains the sizes of the
|
||||
* processes we need memory blocks for.
|
||||
* @return the ArrayList filled with Integers repressenting the memory
|
||||
* @return the ArrayList filled with Integers representing the memory
|
||||
* allocation that took place.
|
||||
*/
|
||||
public ArrayList<Integer> fitProcess(int[] sizeOfBlocks, int[] sizeOfProcesses) {
|
||||
@@ -262,7 +262,7 @@ class NextFit extends MemoryManagementAlgorithms {
|
||||
* blocks available.
|
||||
* @param sizeOfProcesses: an int array that contains the sizes of the
|
||||
* processes we need memory blocks for.
|
||||
* @return the ArrayList filled with Integers repressenting the memory
|
||||
* @return the ArrayList filled with Integers representing the memory
|
||||
* allocation that took place.
|
||||
*/
|
||||
public ArrayList<Integer> fitProcess(int[] sizeOfBlocks, int[] sizeOfProcesses) {
|
||||
|
||||
Reference in New Issue
Block a user