de.dfki.mycbr.core.similarity
Enum FunctionEnum

java.lang.Object
  extended by java.lang.Enum<FunctionEnum>
      extended by de.dfki.mycbr.core.similarity.FunctionEnum
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FunctionEnum>

public enum FunctionEnum
extends java.lang.Enum<FunctionEnum>

Lists the functions types which can be used to calculate the similarity of attributes of the respective description.

Author:
myCBR Team

Enum Constant Summary
AdvancedDouble
           
AdvancedFloat
           
AdvancedInteger
           
Amalgamation
           
Date
           
Double
           
Float
           
Integer
           
Interval
           
OrderedSymbol
           
String
           
Symbol
           
Taxonomy
           
 
Method Summary
static FunctionEnum valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FunctionEnum[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

AdvancedFloat

public static final FunctionEnum AdvancedFloat

AdvancedInteger

public static final FunctionEnum AdvancedInteger

Amalgamation

public static final FunctionEnum Amalgamation

Float

public static final FunctionEnum Float

Integer

public static final FunctionEnum Integer

OrderedSymbol

public static final FunctionEnum OrderedSymbol

String

public static final FunctionEnum String

Symbol

public static final FunctionEnum Symbol

Taxonomy

public static final FunctionEnum Taxonomy

Date

public static final FunctionEnum Date

Interval

public static final FunctionEnum Interval

AdvancedDouble

public static final FunctionEnum AdvancedDouble

Double

public static final FunctionEnum Double
Method Detail

values

public static FunctionEnum[] 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 (FunctionEnum c : FunctionEnum.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static FunctionEnum valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null