java.io.Serializable, java.lang.Comparable<DataChecksum.Type>public static enum DataChecksum.Type extends java.lang.Enum<DataChecksum.Type>
| Modifier and Type | Method | Description |
|---|---|---|
static DataChecksum.Type |
valueOf(int id) |
the type corresponding to the id.
|
static DataChecksum.Type |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static DataChecksum.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataChecksum.Type NULL
public static final DataChecksum.Type CRC32
public static final DataChecksum.Type CRC32C
public static final DataChecksum.Type DEFAULT
public static final DataChecksum.Type MIXED
public static DataChecksum.Type[] values()
for (DataChecksum.Type c : DataChecksum.Type.values()) System.out.println(c);
public static DataChecksum.Type 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 DataChecksum.Type valueOf(int id)
id - id.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.