public static enum ConnectionInfo.Direction extends Enum<ConnectionInfo.Direction>
Modifier and Type | Method and Description |
---|---|
ConnectionInfo.Direction |
getOpposite() |
static ConnectionInfo.Direction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionInfo.Direction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionInfo.Direction Output
public static final ConnectionInfo.Direction Input
public static ConnectionInfo.Direction[] values()
for (ConnectionInfo.Direction c : ConnectionInfo.Direction.values()) System.out.println(c);
public static ConnectionInfo.Direction 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 ConnectionInfo.Direction getOpposite()
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.