public static enum Types.DataType extends Enum<Types.DataType>
Enum Constant and Description |
---|
FRAME |
LIST |
MATRIX |
SCALAR |
TENSOR |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
boolean |
isFrame() |
boolean |
isList() |
boolean |
isMatrix() |
boolean |
isMatrixOrFrame() |
boolean |
isScalar() |
boolean |
isTensor() |
boolean |
isUnknown() |
static Types.DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Types.DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Types.DataType TENSOR
public static final Types.DataType MATRIX
public static final Types.DataType SCALAR
public static final Types.DataType FRAME
public static final Types.DataType LIST
public static final Types.DataType UNKNOWN
public static Types.DataType[] values()
for (Types.DataType c : Types.DataType.values()) System.out.println(c);
public static Types.DataType 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 isMatrix()
public boolean isTensor()
public boolean isFrame()
public boolean isMatrixOrFrame()
public boolean isScalar()
public boolean isList()
public boolean isUnknown()
Copyright © 2021 The Apache Software Foundation. All rights reserved.