@Namespace(value="dmlc::io") public static enum tvm_runtime.FileType extends Enum<tvm_runtime.FileType>
| Enum Constant and Description |
|---|
kDirectory
\brief the file is directory
|
kFile
\brief the file is file
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
tvm_runtime.FileType |
intern() |
String |
toString() |
static tvm_runtime.FileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static tvm_runtime.FileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final tvm_runtime.FileType kFile
public static final tvm_runtime.FileType kDirectory
public static tvm_runtime.FileType[] values()
for (tvm_runtime.FileType c : tvm_runtime.FileType.values()) System.out.println(c);
public static tvm_runtime.FileType 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 tvm_runtime.FileType intern()
public String toString()
toString in class Enum<tvm_runtime.FileType>Copyright © 2021. All rights reserved.