Package com.gengoai.graph.scoring
Enum DegreeScorer.DEGREE_TYPE
- java.lang.Object
-
- java.lang.Enum<DegreeScorer.DEGREE_TYPE>
-
- com.gengoai.graph.scoring.DegreeScorer.DEGREE_TYPE
-
- All Implemented Interfaces:
Serializable
,Comparable<DegreeScorer.DEGREE_TYPE>
- Enclosing class:
- DegreeScorer<V>
public static enum DegreeScorer.DEGREE_TYPE extends Enum<DegreeScorer.DEGREE_TYPE>
The degree to calculate
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DegreeScorer.DEGREE_TYPE
valueOf(String name)
Returns the enum constant of this type with the specified name.static DegreeScorer.DEGREE_TYPE[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN
public static final DegreeScorer.DEGREE_TYPE IN
-
OUT
public static final DegreeScorer.DEGREE_TYPE OUT
-
TOTAL
public static final DegreeScorer.DEGREE_TYPE TOTAL
-
-
Method Detail
-
values
public static DegreeScorer.DEGREE_TYPE[] 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 (DegreeScorer.DEGREE_TYPE c : DegreeScorer.DEGREE_TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DegreeScorer.DEGREE_TYPE 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 nameNullPointerException
- if the argument is null
-
-