Package org.apache.sysds.common
Enum Types.BlockType
- java.lang.Object
- 
- java.lang.Enum<Types.BlockType>
- 
- org.apache.sysds.common.Types.BlockType
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<Types.BlockType>
 - Enclosing class:
- Types
 
 public static enum Types.BlockType extends Enum<Types.BlockType> Serialization block types (empty, dense, sparse, ultra-sparse)
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description DENSE_BLOCKEMPTY_BLOCKSPARSE_BLOCKULTRA_SPARSE_BLOCK
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static Types.BlockTypevalueOf(String name)Returns the enum constant of this type with the specified name.static Types.BlockType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
EMPTY_BLOCKpublic static final Types.BlockType EMPTY_BLOCK 
 - 
ULTRA_SPARSE_BLOCKpublic static final Types.BlockType ULTRA_SPARSE_BLOCK 
 - 
SPARSE_BLOCKpublic static final Types.BlockType SPARSE_BLOCK 
 - 
DENSE_BLOCKpublic static final Types.BlockType DENSE_BLOCK 
 
- 
 - 
Method Detail- 
valuespublic static Types.BlockType[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Types.BlockType c : Types.BlockType.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static Types.BlockType valueOf(String name) 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 name
- NullPointerException- if the argument is null
 
 
- 
 
-