public enum InterfaceType extends Enum<InterfaceType>
Modifier and Type | Method and Description |
---|---|
static InterfaceType |
fromValue(String type) |
String |
toString() |
String |
value() |
static InterfaceType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InterfaceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InterfaceType PUBLIC
public static final InterfaceType PRIVATE
public static InterfaceType[] values()
for (InterfaceType c : InterfaceType.values()) System.out.println(c);
public static InterfaceType 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 value()
public String toString()
toString
in class Enum<InterfaceType>
public static InterfaceType fromValue(String type)
Copyright © 2009-2018 The Apache Software Foundation. All Rights Reserved.