public enum BlockAlignedType extends Enum<BlockAlignedType>
Modifier and Type | Method and Description |
---|---|
static BlockAlignedType |
fromByte(byte b) |
byte |
toByte() |
static BlockAlignedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockAlignedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockAlignedType ALIGNED
public static final BlockAlignedType UNALIGNED
public static BlockAlignedType[] values()
for (BlockAlignedType c : BlockAlignedType.values()) System.out.println(c);
public static BlockAlignedType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte toByte()
public static BlockAlignedType fromByte(byte b)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.