Enum Class InvalidHashTableCapacityException.Reason
java.lang.Object
java.lang.Enum<InvalidHashTableCapacityException.Reason>
AEDs3.DataBase.Index.InvalidHashTableCapacityException.Reason
- All Implemented Interfaces:
Serializable,Comparable<InvalidHashTableCapacityException.Reason>,Constable
- Enclosing class:
InvalidHashTableCapacityException
public static enum InvalidHashTableCapacityException.Reason
extends Enum<InvalidHashTableCapacityException.Reason>
Razões pelas quais a capacidade de uma Tabela Hash pode ser considerada
inválida.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA capacidade do Bucket não é positiva.A capacidade do Bucket excede o valor máximo permitido. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionObtém a mensagem descritiva da razão.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOO_LARGE
A capacidade do Bucket excede o valor máximo permitido. A capacidade deve ser menor que 2^{13}. -
NON_POSITIVE
A capacidade do Bucket não é positiva. A capacidade deve ser um valor positivo.
-
-
Field Details
-
message
Mensagem descritiva da razão.
-
-
Constructor Details
-
Reason
Construtor para definir a mensagem associada à razão.- Parameters:
message- A mensagem descritiva da razão.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getMessage
-