public enum SparseFormat extends java.lang.Enum<SparseFormat>
| Enum Constant and Description |
|---|
COO |
CSR |
DENSE |
ROW_SPARSE |
| Modifier and Type | Method and Description |
|---|---|
static SparseFormat |
fromValue(int value)
Gets the
SparseFormat from it's integer value. |
java.lang.String |
getType()
Returns the
SparseFormat name. |
int |
getValue()
Returns the integer value of this
SparseFormat. |
static SparseFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SparseFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SparseFormat DENSE
public static final SparseFormat ROW_SPARSE
public static final SparseFormat CSR
public static final SparseFormat COO
public static SparseFormat[] values()
for (SparseFormat c : SparseFormat.values()) System.out.println(c);
public static SparseFormat valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static SparseFormat fromValue(int value)
SparseFormat from it's integer value.value - the integer value of the SparseFormatSparseFormatpublic java.lang.String getType()
SparseFormat name.SparseFormat namepublic int getValue()
SparseFormat.SparseFormat