public static enum ConnectionUrl.HostsCardinality extends Enum<ConnectionUrl.HostsCardinality>
| Enum Constant and Description |
|---|
MULTIPLE |
ONE_OR_MORE |
SINGLE |
| Modifier and Type | Method and Description |
|---|---|
abstract boolean |
assertSize(int n) |
static ConnectionUrl.HostsCardinality |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionUrl.HostsCardinality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionUrl.HostsCardinality SINGLE
public static final ConnectionUrl.HostsCardinality MULTIPLE
public static final ConnectionUrl.HostsCardinality ONE_OR_MORE
public static ConnectionUrl.HostsCardinality[] values()
for (ConnectionUrl.HostsCardinality c : ConnectionUrl.HostsCardinality.values()) System.out.println(c);
public static ConnectionUrl.HostsCardinality 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 abstract boolean assertSize(int n)