edu.umd.cloud9.webgraph.data
Enum AnchorTextConstants.Type
java.lang.Object
java.lang.Enum<AnchorTextConstants.Type>
edu.umd.cloud9.webgraph.data.AnchorTextConstants.Type
- All Implemented Interfaces:
- Serializable, Comparable<AnchorTextConstants.Type>
- Enclosing interface:
- AnchorTextConstants
public static enum AnchorTextConstants.Type
- extends Enum<AnchorTextConstants.Type>
INTERNAL_IN_LINK
public static final AnchorTextConstants.Type INTERNAL_IN_LINK
EXTERNAL_IN_LINK
public static final AnchorTextConstants.Type EXTERNAL_IN_LINK
INTERNAL_OUT_LINK
public static final AnchorTextConstants.Type INTERNAL_OUT_LINK
EXTERNAL_OUT_LINK
public static final AnchorTextConstants.Type EXTERNAL_OUT_LINK
URL_FIELD
public static final AnchorTextConstants.Type URL_FIELD
DOCNO_FIELD
public static final AnchorTextConstants.Type DOCNO_FIELD
OUT_DEGREE
public static final AnchorTextConstants.Type OUT_DEGREE
IN_DEGREE
public static final AnchorTextConstants.Type IN_DEGREE
OTHER_TYPES
public static final AnchorTextConstants.Type OTHER_TYPES
WEIGHTED_EXTERNAL_IN_LINK
public static final AnchorTextConstants.Type WEIGHTED_EXTERNAL_IN_LINK
val
public byte val
values
public static AnchorTextConstants.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 (AnchorTextConstants.Type c : AnchorTextConstants.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 AnchorTextConstants.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 name
NullPointerException - if the argument is null