public enum TableSizeHint extends Enum<TableSizeHint>
| Enum Constant and Description |
|---|
BIG_TABLE_SIZE |
NORMAL_TABLE_SIZE |
SMALL_TABLE_SIZE |
TINY_TABLE_SIZE |
| Modifier and Type | Method and Description |
|---|---|
static TableSizeHint |
fromInt(int e) |
static int |
toInt(int ordinal) |
static TableSizeHint |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableSizeHint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableSizeHint TINY_TABLE_SIZE
public static final TableSizeHint SMALL_TABLE_SIZE
public static final TableSizeHint NORMAL_TABLE_SIZE
public static final TableSizeHint BIG_TABLE_SIZE
public static TableSizeHint[] values()
for (TableSizeHint c : TableSizeHint.values()) System.out.println(c);
public static TableSizeHint 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 static TableSizeHint fromInt(int e)
public static int toInt(int ordinal)
Copyright © 2021. All rights reserved.