public enum ChecksumType extends java.lang.Enum<ChecksumType>
| Modifier and Type | Method and Description |
|---|---|
abstract java.util.zip.Checksum |
newInstance() |
abstract void |
update(java.util.zip.Checksum checksum,
java.nio.ByteBuffer buf) |
static ChecksumType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChecksumType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChecksumType Adler32
public static final ChecksumType CRC32
public static ChecksumType[] values()
for (ChecksumType c : ChecksumType.values()) System.out.println(c);
public static ChecksumType 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 abstract java.util.zip.Checksum newInstance()
public abstract void update(java.util.zip.Checksum checksum,
java.nio.ByteBuffer buf)
Copyright © 2016 The Apache Software Foundation