Interface IMemoryFactory


public interface IMemoryFactory
Produces memory.
Author:
Erik Zemčík
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a memory with the minimum specified size.
  • Method Details

    • createMemoryWithSize

      IMemory createMemoryWithSize(int size)
      Creates a memory with the minimum specified size.
      Parameters:
      size - minimum size of the memory
      Returns:
      memory
      Throws:
      IllegalArgumentException - if size is not a positive non-zero integer