Class TypeEntry
- java.lang.Object
-
- de.inetsoftware.jwebassembly.binary.SectionEntry
-
- de.inetsoftware.jwebassembly.binary.TypeEntry
-
- Direct Known Subclasses:
ArrayTypeEntry
,FunctionTypeEntry
,StructTypeEntry
abstract class TypeEntry extends SectionEntry
An entry in the type section of the WebAssembly.
-
-
Constructor Summary
Constructors Constructor Description TypeEntry()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract boolean
equals(java.lang.Object obj)
(package private) abstract ValueType
getTypeForm()
Get the form of the type.abstract int
hashCode()
(package private) void
writeSectionEntry(WasmOutputStream stream)
Write this single entry to a section(package private) abstract void
writeSectionEntryDetails(WasmOutputStream stream)
Write this single entry to a section
-
-
-
Method Detail
-
writeSectionEntry
final void writeSectionEntry(WasmOutputStream stream) throws java.io.IOException
Write this single entry to a section- Specified by:
writeSectionEntry
in classSectionEntry
- Parameters:
stream
- the target- Throws:
java.io.IOException
- if any I/O error occur
-
getTypeForm
abstract ValueType getTypeForm()
Get the form of the type.- Returns:
- the form
-
writeSectionEntryDetails
abstract void writeSectionEntryDetails(WasmOutputStream stream) throws java.io.IOException
Write this single entry to a section- Parameters:
stream
- the target- Throws:
java.io.IOException
- if any I/O error occur
-
hashCode
public abstract int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public abstract boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-