public static enum TestWithNetworkConnections.ClientType extends Enum<TestWithNetworkConnections.ClientType>
Enum Constant and Description |
---|
BLOCKING_CLIENT |
BLOCKING_CLIENT_MANAGER |
NIO_CLIENT |
NIO_CLIENT_MANAGER |
Modifier and Type | Method and Description |
---|---|
static TestWithNetworkConnections.ClientType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TestWithNetworkConnections.ClientType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TestWithNetworkConnections.ClientType NIO_CLIENT_MANAGER
public static final TestWithNetworkConnections.ClientType BLOCKING_CLIENT_MANAGER
public static final TestWithNetworkConnections.ClientType NIO_CLIENT
public static final TestWithNetworkConnections.ClientType BLOCKING_CLIENT
public static TestWithNetworkConnections.ClientType[] values()
for (TestWithNetworkConnections.ClientType c : TestWithNetworkConnections.ClientType.values()) System.out.println(c);
public static TestWithNetworkConnections.ClientType 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 © 2014. All rights reserved.