Enum FillDataType
- All Implemented Interfaces:
Serializable
,Comparable<FillDataType>
public enum FillDataType extends Enum<FillDataType>
The fill unit for a fill of values in memory.
-
Enum Constant Summary
-
Field Summary
Fields Modifier and Type Field Description int
size
The encoding of the fill unit size. -
Method Summary
Modifier and Type Method Description static FillDataType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FillDataType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.void
writeTo(int value, ByteBuffer buffer)
Write a value to the buffer in an appropriate way for this fill unit.
-
Enum Constant Details
-
Field Details
-
size
public final int sizeThe encoding of the fill unit size.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
writeTo
Write a value to the buffer in an appropriate way for this fill unit.- Parameters:
value
- The value to write.buffer
- The buffer to write to.
-