public enum NoChecksumStrategy extends Enum<NoChecksumStrategy> implements ChecksumStrategy
| Enum Constant and Description |
|---|
INSTANCE |
CHECKSUM_STORED_BYTES| Modifier and Type | Method and Description |
|---|---|
void |
computeAndStoreChecksum() |
int |
computeChecksum() |
long |
extraEntryBytes() |
boolean |
innerCheckSum() |
int |
storedChecksum() |
static NoChecksumStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NoChecksumStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NoChecksumStrategy INSTANCE
public static NoChecksumStrategy[] values()
for (NoChecksumStrategy c : NoChecksumStrategy.values()) System.out.println(c);
public static NoChecksumStrategy 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 void computeAndStoreChecksum()
computeAndStoreChecksum in interface ChecksumStrategypublic boolean innerCheckSum()
innerCheckSum in interface ChecksumStrategypublic int computeChecksum()
computeChecksum in interface ChecksumStrategypublic int storedChecksum()
storedChecksum in interface ChecksumStrategypublic long extraEntryBytes()
extraEntryBytes in interface ChecksumStrategyCopyright © 2024. All rights reserved.