public static enum HashTable.PutStatus extends Enum<HashTable.PutStatus>
Enum Constant and Description |
---|
KEY_ADDED |
KEY_ADDED_LAST |
KEY_PRESENT |
NEW_BATCH_ADDED |
PUT_FAILED |
Modifier and Type | Method and Description |
---|---|
static HashTable.PutStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HashTable.PutStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HashTable.PutStatus KEY_PRESENT
public static final HashTable.PutStatus KEY_ADDED
public static final HashTable.PutStatus NEW_BATCH_ADDED
public static final HashTable.PutStatus KEY_ADDED_LAST
public static final HashTable.PutStatus PUT_FAILED
public static HashTable.PutStatus[] values()
for (HashTable.PutStatus c : HashTable.PutStatus.values()) System.out.println(c);
public static HashTable.PutStatus 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 nullCopyright © 1970 The Apache Software Foundation. All rights reserved.