public static enum HashID.Size extends Enum<HashID.Size>
| Modifier and Type | Method and Description |
|---|---|
int |
bits()
Get this Hash size in bits.
|
int |
byteSize()
Get this Hash size in bytes.
|
String |
toString() |
static HashID.Size |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HashID.Size[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HashID.Size BITS_32
public static final HashID.Size BITS_64
public static final HashID.Size BITS_128
public static HashID.Size[] values()
for (HashID.Size c : HashID.Size.values()) System.out.println(c);
public static HashID.Size 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 int byteSize()
public int bits()
public String toString()
toString in class Enum<HashID.Size>Copyright © 2024 The Apache Software Foundation. All rights reserved.