arche
Class StorageArray
java.lang.Object
|
+--arche.StorageArray
- public class StorageArray
- extends java.lang.Object
The hardware memory-array that can be divided for the structural elements.
The class is responsible for the initial division of the processor's internal memory.
It should handle exceptions such as overallocation.
| Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait |
max_size
int max_size
number_of_allocated_regs
int number_of_allocated_regs
structural_elements
java.util.Vector structural_elements
StorageArray
public StorageArray(int number_of_regs)
addStorage
public void addStorage(Storage st)
- Structural elements can be added step-by-step.
getStructuralElements
Storage[] getStructuralElements()
- After building-up, it gives back the array of structural elements.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object