rafa.math.gen
Enum GeneratorDependency.Property

java.lang.Object
  extended by java.lang.Enum<GeneratorDependency.Property>
      extended by rafa.math.gen.GeneratorDependency.Property
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GeneratorDependency.Property>
Enclosing class:
GeneratorDependency

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

Property keys used to construct a dependency between generators. In case of absolute dependency (DEPENDENT_INDEX = 0, DEPENDENT_LENGTH = infinite, DEPENDENCY_INDEX = 0, DEPENDENCY_LENGTH = infinite), the use of dependency properties can be obviated.

See Also:
rafa.dep.Dependency}

Enum Constant Summary
DEPENDENCY_INDEX
           
DEPENDENCY_LENGTH
           
DEPENDENT_INDEX
           
DEPENDENT_LENGTH
           
DIRECT
           
 
Method Summary
static GeneratorDependency.Property valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GeneratorDependency.Property[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEPENDENT_INDEX

public static final GeneratorDependency.Property DEPENDENT_INDEX

DEPENDENT_LENGTH

public static final GeneratorDependency.Property DEPENDENT_LENGTH

DEPENDENCY_INDEX

public static final GeneratorDependency.Property DEPENDENCY_INDEX

DEPENDENCY_LENGTH

public static final GeneratorDependency.Property DEPENDENCY_LENGTH

DIRECT

public static final GeneratorDependency.Property DIRECT
Method Detail

values

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

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

valueOf

public static GeneratorDependency.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
java.lang.NullPointerException - if the argument is null


Copyright © 2008-2009. All Rights Reserved.