public enum HostnameToKey extends Enum<HostnameToKey> implements com.google.common.base.Function<String,String>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
String |
apply(String hostname) |
static HostnameToKey |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HostnameToKey[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HostnameToKey INSTANCE
public static HostnameToKey[] values()
for (HostnameToKey c : HostnameToKey.values()) System.out.println(c);
public static HostnameToKey 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 nullCopyright © 2004–2014 The Kuali Foundation. All rights reserved.