at.molindo.utils.data
Enum FunctionUtils.ToString
java.lang.Object
java.lang.Enum<FunctionUtils.ToString>
at.molindo.utils.data.FunctionUtils.ToString
- All Implemented Interfaces:
- Function<Object,String>, Function2<Object,String,RuntimeException>, Serializable, Comparable<FunctionUtils.ToString>
- Enclosing class:
- FunctionUtils
public static enum FunctionUtils.ToString
- extends Enum<FunctionUtils.ToString>
- implements Function<Object,String>
INSTANCE
public static final FunctionUtils.ToString INSTANCE
values
public static FunctionUtils.ToString[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (FunctionUtils.ToString c : FunctionUtils.ToString.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FunctionUtils.ToString valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
apply
public String apply(Object input)
- Specified by:
apply in interface Function<Object,String>- Specified by:
apply in interface Function2<Object,String,RuntimeException>
Copyright © 2013 Molindo GmbH. All Rights Reserved.