-
- All Implemented Interfaces:
public final class HashEntry extends SubStructure
Describes a hash entry in a ModuleHashes attribute structure.
-
-
Field Summary
Fields Modifier and Type Field Description private IntegermoduleNameIndexprivate IntArrayhashValuesprivate final Integerlength
-
Constructor Summary
Constructors Constructor Description HashEntry()
-
Method Summary
Modifier and Type Method Description final IntegergetModuleNameIndex()The index of the CONSTANT_Module_info structure for which the hash has been computed. final UnitsetModuleNameIndex(Integer moduleNameIndex)The index of the CONSTANT_Module_info structure for which the hash has been computed. final IntArraygetHashValues()Hash values final UnitsetHashValues(IntArray hashValues)Hash values IntegergetLength()The length of the structure in bytes. -
-
Method Detail
-
getModuleNameIndex
final Integer getModuleNameIndex()
The index of the CONSTANT_Module_info structure for which the hash has been computed.
-
setModuleNameIndex
final Unit setModuleNameIndex(Integer moduleNameIndex)
The index of the CONSTANT_Module_info structure for which the hash has been computed.
-
getHashValues
final IntArray getHashValues()
Hash values
-
setHashValues
final Unit setHashValues(IntArray hashValues)
Hash values
-
-
-
-