public enum SubBlockHeaderType extends Enum<SubBlockHeaderType>
| Enum Constant and Description |
|---|
BEEA_HEAD |
EA_HEAD |
MAC_HEAD |
NTACL_HEAD |
STREAM_HEAD |
UO_HEAD |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(short subblocktype)
Return true if the given value is equal to the enum's value
|
static SubBlockHeaderType |
findSubblockHeaderType(short subType)
find the header type for the given short value
|
short |
getSubblocktype() |
static SubBlockHeaderType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubBlockHeaderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubBlockHeaderType EA_HEAD
public static final SubBlockHeaderType UO_HEAD
public static final SubBlockHeaderType MAC_HEAD
public static final SubBlockHeaderType BEEA_HEAD
public static final SubBlockHeaderType NTACL_HEAD
public static final SubBlockHeaderType STREAM_HEAD
public static SubBlockHeaderType[] values()
for (SubBlockHeaderType c : SubBlockHeaderType.values()) System.out.println(c);
public static SubBlockHeaderType 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 boolean equals(short subblocktype)
subblocktype - public static SubBlockHeaderType findSubblockHeaderType(short subType)
subType - the short valuepublic short getSubblocktype()
Copyright © 2017. All rights reserved.