at.molindo.utils.data
Enum FunctionUtils.ToString

java.lang.Object
  extended by java.lang.Enum<FunctionUtils.ToString>
      extended by 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>


Enum Constant Summary
INSTANCE
           
 
Method Summary
 String apply(Object input)
           
static FunctionUtils.ToString valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FunctionUtils.ToString[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

INSTANCE

public static final FunctionUtils.ToString INSTANCE
Method Detail

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.