public enum QueryCloseables extends Enum<QueryCloseables> implements QueryCloseable
Enum Constant and Description |
---|
NEVER_CLOSED |
Modifier and Type | Method and Description |
---|---|
static QueryCloseables |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryCloseables[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
isClosed, isClosing, throwExceptionIfClosed
public static final QueryCloseables NEVER_CLOSED
public static QueryCloseables[] values()
for (QueryCloseables c : QueryCloseables.values()) System.out.println(c);
public static QueryCloseables 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 © 2020. All rights reserved.