de.cesr.more.measures.node
Enum MNodeMeasureCategory

java.lang.Object
  extended by java.lang.Enum<MNodeMeasureCategory>
      extended by de.cesr.more.measures.node.MNodeMeasureCategory
All Implemented Interfaces:
MoreMeasureCategory, Serializable, Comparable<MNodeMeasureCategory>

public enum MNodeMeasureCategory
extends Enum<MNodeMeasureCategory>
implements MoreMeasureCategory

MORe

Date:
28.10.2010

Enum Constant Summary
NODE_AUTHORITY
           
NODE_CENTRALITY
           
NODE_CENTRALITY_NORM
           
NODE_CENTRALITY_STD
           
NODE_MISC
           
NODE_PRESTIGE
           
NOT_DEFINED
           
 
Method Summary
 boolean equals(MNodeMeasureCategory category)
          Test for equality by the category's description
 String toString()
          Returns the description of this MeasureCategory
static MNodeMeasureCategory valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MNodeMeasureCategory[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NOT_DEFINED

public static final MNodeMeasureCategory NOT_DEFINED

NODE_CENTRALITY

public static final MNodeMeasureCategory NODE_CENTRALITY

NODE_CENTRALITY_NORM

public static final MNodeMeasureCategory NODE_CENTRALITY_NORM

NODE_CENTRALITY_STD

public static final MNodeMeasureCategory NODE_CENTRALITY_STD

NODE_PRESTIGE

public static final MNodeMeasureCategory NODE_PRESTIGE

NODE_AUTHORITY

public static final MNodeMeasureCategory NODE_AUTHORITY

NODE_MISC

public static final MNodeMeasureCategory NODE_MISC
Method Detail

values

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

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

valueOf

public static MNodeMeasureCategory 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

toString

public String toString()
Returns the description of this MeasureCategory

Overrides:
toString in class Enum<MNodeMeasureCategory>
See Also:
Object.toString()

equals

public boolean equals(MNodeMeasureCategory category)
Test for equality by the category's description

Parameters:
category -
Returns:
true if the categories have the same description
Date:
15.08.2008