edu.qut.cs.rcmd.app.service
Enum RecommenderService.RecommenderKey

java.lang.Object
  extended by java.lang.Enum<RecommenderService.RecommenderKey>
      extended by edu.qut.cs.rcmd.app.service.RecommenderService.RecommenderKey
All Implemented Interfaces:
Serializable, Comparable<RecommenderService.RecommenderKey>
Enclosing interface:
RecommenderService

public static enum RecommenderService.RecommenderKey
extends Enum<RecommenderService.RecommenderKey>


Enum Constant Summary
basicTidalTrust
           
jaccard
           
simple
           
simTrust
           
trustPropagation
           
 
Method Summary
static RecommenderService.RecommenderKey valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RecommenderService.RecommenderKey[] 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

simple

public static final RecommenderService.RecommenderKey simple

simTrust

public static final RecommenderService.RecommenderKey simTrust

basicTidalTrust

public static final RecommenderService.RecommenderKey basicTidalTrust

trustPropagation

public static final RecommenderService.RecommenderKey trustPropagation

jaccard

public static final RecommenderService.RecommenderKey jaccard
Method Detail

values

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

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

valueOf

public static RecommenderService.RecommenderKey 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


Copyright © 2012. All Rights Reserved.