public static enum ServerInRegionToNodeMetadata.AddressToStringTransformationFunction extends Enum<ServerInRegionToNodeMetadata.AddressToStringTransformationFunction> implements com.google.common.base.Function<Address,String>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
String |
apply(Address address) |
static ServerInRegionToNodeMetadata.AddressToStringTransformationFunction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerInRegionToNodeMetadata.AddressToStringTransformationFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerInRegionToNodeMetadata.AddressToStringTransformationFunction INSTANCE
public static ServerInRegionToNodeMetadata.AddressToStringTransformationFunction[] values()
for (ServerInRegionToNodeMetadata.AddressToStringTransformationFunction c : ServerInRegionToNodeMetadata.AddressToStringTransformationFunction.values()) System.out.println(c);
public static ServerInRegionToNodeMetadata.AddressToStringTransformationFunction 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 © 2009-2016 The Apache Software Foundation. All Rights Reserved.