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