public enum PoolStatus extends Enum<PoolStatus>
Enum Constant and Description |
---|
DUPLICATE
Duplicate.
|
INVALID
Invalid.
|
VALID
Valid.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isValid()
Is the status valid?
|
String |
toString() |
static PoolStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PoolStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PoolStatus VALID
public static final PoolStatus INVALID
public static final PoolStatus DUPLICATE
public static PoolStatus[] values()
for (PoolStatus c : PoolStatus.values()) System.out.println(c);
public static PoolStatus 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 String toString()
toString
in class Enum<PoolStatus>
public boolean isValid()
Copyright © 2015. All rights reserved.