Class ArrayTypeEntry
- java.lang.Object
-
- de.inetsoftware.jwebassembly.binary.SectionEntry
-
- de.inetsoftware.jwebassembly.binary.TypeEntry
-
- de.inetsoftware.jwebassembly.binary.ArrayTypeEntry
-
class ArrayTypeEntry extends TypeEntry
An array type entry in the type section of the WebAssembly.
-
-
Field Summary
Fields Modifier and Type Field Description private NamedStorageType
field
-
Constructor Summary
Constructors Constructor Description ArrayTypeEntry(java.util.List<NamedStorageType> fields)
Create a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
(package private) ValueType
getTypeForm()
Get the form of the type.int
hashCode()
(package private) void
writeSectionEntryDetails(WasmOutputStream stream)
Write this single entry to a section-
Methods inherited from class de.inetsoftware.jwebassembly.binary.TypeEntry
writeSectionEntry
-
-
-
-
Field Detail
-
field
private final NamedStorageType field
-
-
Constructor Detail
-
ArrayTypeEntry
ArrayTypeEntry(java.util.List<NamedStorageType> fields)
Create a new instance.- Parameters:
fields
- the fields of the array
-
-
Method Detail
-
getTypeForm
ValueType getTypeForm()
Get the form of the type.- Specified by:
getTypeForm
in classTypeEntry
- Returns:
- the form
-
writeSectionEntryDetails
void writeSectionEntryDetails(WasmOutputStream stream) throws java.io.IOException
Write this single entry to a section- Specified by:
writeSectionEntryDetails
in classTypeEntry
- Parameters:
stream
- the target- Throws:
java.io.IOException
- if any I/O error occur
-
-