laser.regularlanguage.fsa.util
Enum RegularOps

java.lang.Object
  extended by java.lang.Enum<RegularOps>
      extended by laser.regularlanguage.fsa.util.RegularOps
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RegularOps>

public enum RegularOps
extends java.lang.Enum<RegularOps>

The RegularOps class enumerates the regular operations for FSAs.

Author:
Heather M. Conboy (laser-software@cs.umass.edu)

Enum Constant Summary
CONCAT
           
EMPTY
           
EPSILON
           
LABEL
           
STAR
           
UNION
           
 
Method Summary
static RegularOps valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RegularOps[] 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

CONCAT

public static final RegularOps CONCAT

EMPTY

public static final RegularOps EMPTY

EPSILON

public static final RegularOps EPSILON

LABEL

public static final RegularOps LABEL

STAR

public static final RegularOps STAR

UNION

public static final RegularOps UNION
Method Detail

values

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

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

valueOf

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