Serializable, Comparable<SetType>public enum SetType extends Enum<SetType>
| Modifier and Type | Method | Description |
|---|---|---|
String |
getType() |
|
static SetType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static SetType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SetType IP
public static final SetType PATH
public static final SetType USER
public static final SetType COUNTRY
public static SetType[] values()
for (SetType c : SetType.values()) System.out.println(c);
public static SetType 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 String getType()
Copyright © 2020. All rights reserved.