public class BlockPermalockMask
extends java.lang.Object
| Constructor and Description |
|---|
BlockPermalockMask() |
| Modifier and Type | Method and Description |
|---|---|
static BlockPermalockMask |
fromBlockNumber(short block)
Creates a block permalock mask from the specified block.
|
static BlockPermalockMask |
fromBlockNumberArray(short[] blocks)
Creates a block permalock mask from an array of block numbers.
|
short[] |
getMask() |
java.lang.String |
toHexWordString()
Converts the block permalock mask into a hexadecimal string.
|
public static BlockPermalockMask fromBlockNumber(short block)
block - numberpublic static BlockPermalockMask fromBlockNumberArray(short[] blocks)
blocks - an array of block numberspublic short[] getMask()
public java.lang.String toHexWordString()