Interface IMemoryFactory
public interface IMemoryFactory
Produces
memory.- Author:
- Erik Zemčík
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptioncreateMemoryWithSize(int size) Creates amemorywith the minimum specifiedsize.
-
Method Details
-
createMemoryWithSize
Creates amemorywith the minimum specifiedsize.- Parameters:
size- minimum size of the memory- Returns:
- memory
- Throws:
IllegalArgumentException- if size is not a positive non-zero integer
-