public enum DefectListFormat extends Enum<DefectListFormat>
FormatUnitCDB.formatData
bit is set to one, then the DEFECT LIST FORMAT field specifies the format of
the address descriptors in the defect list.
The DEFECT LIST FORMAT field has a length of 3 bits.
Enum Constant and Description |
---|
BYTES_FROM_INDEX |
LONG_BLOCK |
PHYSICAL_SECTOR |
SHORT_BLOCK |
VENDOR_SPECIFIC |
Modifier and Type | Method and Description |
---|---|
byte |
getValue() |
static DefectListFormat |
valueOf(int value) |
static DefectListFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefectListFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefectListFormat SHORT_BLOCK
public static final DefectListFormat LONG_BLOCK
public static final DefectListFormat BYTES_FROM_INDEX
public static final DefectListFormat PHYSICAL_SECTOR
public static final DefectListFormat VENDOR_SPECIFIC
public static DefectListFormat[] values()
for (DefectListFormat c : DefectListFormat.values()) System.out.println(c);
public static DefectListFormat 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 getValue()
public static DefectListFormat valueOf(int value)
Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.