RoundingMode (original) (raw)

An ordering by id for values of this set

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.

Attributes

Inherited from:

Enumeration

Source

Enumeration.scala

Supertypes

A factory object for value sets

The type of the enumerated values.

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.

Attributes

Returns

Fresh value with the provided identifier i and name name.

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.

Attributes

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.

Attributes

Returns

Fresh value identified by i.

Inherited from:

Enumeration

Source

Enumeration.scala

Creates a fresh value, part of this enumeration.

The value of this enumeration with given id x

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.

Attributes

Inherited from:

Enumeration

Source

Enumeration.scala

The name of this enumeration.

The values of this enumeration as a set.

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

Attributes

Returns

the Value of this Enumeration if its name matches s

Throws

Inherited from:

Enumeration

Source

Enumeration.scala

The integer to use to identify the next created value.

The string to use to name the next created value.