Package com.dylibso.chicory.wasm.types
Class MemoryImport
java.lang.Object
com.dylibso.chicory.wasm.types.Import
com.dylibso.chicory.wasm.types.MemoryImport
An imported memory.
-
Constructor Summary
ConstructorsConstructorDescriptionMemoryImport(String moduleName, String name, MemoryLimits limits) Construct a new instance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanequals(MemoryImport other) inthashCode()limits()
-
Constructor Details
-
MemoryImport
Construct a new instance.- Parameters:
moduleName- the module name (must not benull)name- the imported memory name (must not benull)limits- the memory size limits (must not benull)
-
-
Method Details
-
limits
- Returns:
- the memory size limits, in pages
-
importType
- Specified by:
importTypein classImport- Returns:
- the kind of imported definition
-
equals
-
equals
-
hashCode
public int hashCode() -
toString
-