The type of the enumerated values.
A class for sets of values Iterating through this set will yield values in increasing order of their ids.
A factory object for value sets
The value of this enumeration with given id x
Apply a predicate p to all values of this enumeration and return true, iff there is at least one value for which p yields true.
Returns all values of this enumeration that satisfy the predicate p.
Applies the given function f to each value of this enumeration, then concatenates the results.
Apply a predicate p to all values of this enumeration and return true, iff the predicate yields true for all values.
Apply a function f to all values of this enumeration.
A new iterator over all values of this enumeration.
Returns an iterator resulting from applying the given function f to each value of this enumeration.
The highest integer amongst those used to identify values in this enumeration.
The name of this enumeration.
The name of this enumeration.
The values of this enumeration as a set.
Returns a Value from this Enumeration whose name matches the argument s.
Defines a finite set of values specific to the enumeration. Typically these values enumerate all possible forms something can take and provide a lightweight alternative to case classes.
Each call to a
Value
method adds a new unique value to the enumeration. To be accessible, these values are usually defined asval
members of the evaluation.All values in an enumeration share a common, unique type defined as the
Value
type member of the enumeration (Value
selected on the stable identifier path of the enumeration instance).Example use
version
1.0, 10/02/2004
authors:
Matthias Zenger