public enum ToIdAndScope extends Enum<ToIdAndScope> implements com.google.common.base.Function<Location,String>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
String |
apply(Location input) |
String |
toString() |
static ToIdAndScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ToIdAndScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ToIdAndScope INSTANCE
public static ToIdAndScope[] values()
for (ToIdAndScope c : ToIdAndScope.values()) System.out.println(c);
public static ToIdAndScope 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 toString()
toString
in class Enum<ToIdAndScope>
Copyright © 2009-2013 jclouds. All Rights Reserved.