Enum ModuleFactory.Scope
- java.lang.Object
-
- java.lang.Enum<ModuleFactory.Scope>
-
- bio.singa.simulation.model.modules.concentration.ModuleFactory.Scope
-
- All Implemented Interfaces:
Serializable,Comparable<ModuleFactory.Scope>
- Enclosing class:
- ModuleFactory
public static enum ModuleFactory.Scope extends Enum<ModuleFactory.Scope>
The type ofUpdateScope.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NEIGHBOURHOOD_DEPENDENTReferencesDependentUpdate.NEIGHBOURHOOD_INDEPENDENTReferencesIndependentUpdate.SEMI_NEIGHBOURHOOD_DEPENDENTReferencesSemiDependentUpdate.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ModuleFactory.ScopevalueOf(String name)Returns the enum constant of this type with the specified name.static ModuleFactory.Scope[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEIGHBOURHOOD_DEPENDENT
public static final ModuleFactory.Scope NEIGHBOURHOOD_DEPENDENT
ReferencesDependentUpdate.
-
NEIGHBOURHOOD_INDEPENDENT
public static final ModuleFactory.Scope NEIGHBOURHOOD_INDEPENDENT
ReferencesIndependentUpdate.
-
SEMI_NEIGHBOURHOOD_DEPENDENT
public static final ModuleFactory.Scope SEMI_NEIGHBOURHOOD_DEPENDENT
ReferencesSemiDependentUpdate.
-
-
Method Detail
-
values
public static ModuleFactory.Scope[] 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 (ModuleFactory.Scope c : ModuleFactory.Scope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ModuleFactory.Scope 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 nameNullPointerException- if the argument is null
-
-