RoundingMode
- Source:
- BigDecimal.scala
Type members
Inherited classlikes
A class implementing the scala.Enumeration.Value type.
A class implementing the scala.Enumeration.Value type. This class can be overridden to change the enumeration's naming and integer identification behaviour.
- Inherited from:
- Enumeration
- Source:
- Enumeration.scala
The type of the enumerated values.
The type of the enumerated values.
- Inherited from:
- Enumeration
- Source:
- Enumeration.scala
An ordering by id for values of this set
An ordering by id for values of this set
- Inherited from:
- Enumeration
- Source:
- Enumeration.scala
A class for sets of values.
A class for sets of values. Iterating through this set will yield values in increasing order of their ids.
- Value parameters:
- nnIds
The set of ids of values (adjusted so that the lowest value does not fall below zero), organized as a
BitSet
.
- Inherited from:
- Enumeration
- Source:
- Enumeration.scala
A factory object for value sets
A factory object for value sets
- Inherited from:
- Enumeration
- Source:
- Enumeration.scala
Types
Value members
Inherited methods
Creates a fresh value, part of this enumeration, called name
and identified by the integer i
.
Creates a fresh value, part of this enumeration, called name
and identified by the integer i
.
- Value parameters:
- i
An integer that identifies this value at run-time. It must be unique amongst all values of the enumeration.
- name
A human-readable name for that value.
- Returns:
Fresh value with the provided identifier
i
and namename
.- Inherited from:
- Enumeration
- Source:
- Enumeration.scala
Creates a fresh value, part of this enumeration, called name
.
Creates a fresh value, part of this enumeration, called name
.
- Value parameters:
- name
A human-readable name for that value.
- Returns:
Fresh value called
name
.- Inherited from:
- Enumeration
- Source:
- Enumeration.scala
Creates a fresh value, part of this enumeration, identified by the
integer i
.
Creates a fresh value, part of this enumeration, identified by the
integer i
.
- Value parameters:
- i
An integer that identifies this value at run-time. It must be unique amongst all values of the enumeration.
- Returns:
Fresh value identified by
i
.- Inherited from:
- Enumeration
- Source:
- Enumeration.scala
Creates a fresh value, part of this enumeration.
Creates a fresh value, part of this enumeration.
- Inherited from:
- Enumeration
- Source:
- Enumeration.scala
The value of this enumeration with given id x
The value of this enumeration with given id x
- Inherited from:
- Enumeration
- Source:
- Enumeration.scala
The one higher than the highest integer amongst those used to identify values in this enumeration.
The one higher than the highest integer amongst those used to identify values in this enumeration.
- Inherited from:
- Enumeration
- Source:
- Enumeration.scala
The name of this enumeration.
The name of this enumeration.
- Definition Classes
- Enumeration -> Any
- Inherited from:
- Enumeration
- Source:
- Enumeration.scala
The values of this enumeration as a set.
The values of this enumeration as a set.
- Inherited from:
- Enumeration
- Source:
- Enumeration.scala
Return a Value
from this Enumeration
whose name matches
the argument s
.
Return a Value
from this Enumeration
whose name matches
the argument s
. The names are determined automatically via reflection.
- Value parameters:
- s
an
Enumeration
name
- Returns:
the
Value
of thisEnumeration
if its name matchess
- Throws:
- NoSuchElementException
if no
Value
with a matching name is in thisEnumeration
- Inherited from:
- Enumeration
- Source:
- Enumeration.scala
Concrete fields
Inherited fields
The integer to use to identify the next created value.
The integer to use to identify the next created value.
- Inherited from:
- Enumeration
- Source:
- Enumeration.scala
The string to use to name the next created value.
The string to use to name the next created value.
- Inherited from:
- Enumeration
- Source:
- Enumeration.scala