edu.umd.cloud9.webgraph.data
Enum AnchorTextConstants.Type

java.lang.Object
  extended by java.lang.Enum<AnchorTextConstants.Type>
      extended by 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>


Enum Constant Summary
DOCNO_FIELD
           
EXTERNAL_IN_LINK
           
EXTERNAL_OUT_LINK
           
IN_DEGREE
           
INTERNAL_IN_LINK
           
INTERNAL_OUT_LINK
           
OTHER_TYPES
           
OUT_DEGREE
           
URL_FIELD
           
WEIGHTED_EXTERNAL_IN_LINK
           
 
Field Summary
 byte val
           
 
Method Summary
static AnchorTextConstants.Type valueOf(String name)
          Returns the enum constant of this type with the specified name.
static AnchorTextConstants.Type[] 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

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
Field Detail

val

public byte val
Method Detail

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