public enum EntryType extends Enum<EntryType>
| Enum Constant and Description |
|---|
IN
Inbound traffic
|
OUT
Outbound traffic
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equalsName(String otherName) |
String |
toString() |
static EntryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntryType IN
public static final EntryType OUT
public static EntryType[] values()
for (EntryType c : EntryType.values()) System.out.println(c);
public static EntryType 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 boolean equalsName(String otherName)
Copyright © 2019 Alibaba Group. All rights reserved.