Enum Constant and Description |
---|
BI_DIRECTIONAL_BUFFERED20
4.
|
BI_DIRECTIONAL_BUFFERED21_BUFFERED20
5.
|
BI_DIRECTIONAL_NOT_BUFFERED20
3.
|
DIRECTIONAL_BUFFERED21
2.
|
DIRECTIONAL_NOT_BUFFERED21
1.
|
NONE
0.
|
Modifier and Type | Method and Description |
---|---|
static String |
getArrow(PIPType type)
Gets the arrow string representation from the PIP type.
|
static PIPType |
getTypeFromArrow(String arrow)
Gets the PIP type from the arrow string.
|
boolean |
isBidirectional()
Checks if the PIP type is bi-directional
|
static PIPType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PIPType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PIPType NONE
public static final PIPType DIRECTIONAL_NOT_BUFFERED21
public static final PIPType DIRECTIONAL_BUFFERED21
public static final PIPType BI_DIRECTIONAL_NOT_BUFFERED20
public static final PIPType BI_DIRECTIONAL_BUFFERED20
public static final PIPType BI_DIRECTIONAL_BUFFERED21_BUFFERED20
public static final PIPType[] values
public static PIPType[] values()
for (PIPType c : PIPType.values()) System.out.println(c);
public static PIPType 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 static String getArrow(PIPType type)
type
- The type of interest.public static PIPType getTypeFromArrow(String arrow)
PIPType.getArrow(PIPType)
.arrow
- The PIP arrow string of interestpublic boolean isBidirectional()