org.jnetpcap.packet.annotate
Enum Field.Property

java.lang.Object
  extended by java.lang.Enum<Field.Property>
      extended by org.jnetpcap.packet.annotate.Field.Property
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Field.Property>
Enclosing class:
Field

public static enum Field.Property
extends java.lang.Enum<Field.Property>


Enum Constant Summary
CHECK
           
DESCRIPTION
           
DISPLAY
           
LENGTH
           
MASK
           
OFFSET
           
UNITS
           
VALUE
           
 
Method Summary
static Field.Property valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Field.Property[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CHECK

public static final Field.Property CHECK

OFFSET

public static final Field.Property OFFSET

LENGTH

public static final Field.Property LENGTH

VALUE

public static final Field.Property VALUE

DESCRIPTION

public static final Field.Property DESCRIPTION

DISPLAY

public static final Field.Property DISPLAY

MASK

public static final Field.Property MASK

UNITS

public static final Field.Property UNITS
Method Detail

values

public static final Field.Property[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(Field.Property c : Field.Property.values())
        System.out.println(c);

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

valueOf

public static Field.Property valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name