Packages

o

scala.math.BigDecimal

RoundingMode

object RoundingMode extends Enumeration

Source
BigDecimal.scala
Linear Supertypes
Enumeration, Serializable, java.io.Serializable, AnyRef, Any
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RoundingMode
  2. Enumeration
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract class Value extends Ordered[Value] with Serializable

    The type of the enumerated values.

    The type of the enumerated values.

    Definition Classes
    Enumeration
    Annotations
    @SerialVersionUID()
  2. class ValueSet extends AbstractSet[Value] with SortedSet[Value] with SortedSetLike[Value, ValueSet] with Serializable

    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.

    Definition Classes
    Enumeration
  3. type RoundingMode = Value

Value Members

  1. object ValueOrdering extends Ordering[Value]

    An ordering by id for values of this set

    An ordering by id for values of this set

    Definition Classes
    Enumeration
  2. object ValueSet extends Serializable

    A factory object for value sets

    A factory object for value sets

    Definition Classes
    Enumeration
  3. val CEILING: Value
  4. val DOWN: Value
  5. val FLOOR: Value
  6. val HALF_DOWN: Value
  7. val HALF_EVEN: Value
  8. val HALF_UP: Value
  9. val UNNECESSARY: Value
  10. val UP: Value
  11. final def apply(x: Int): Value

    The value of this enumeration with given id x

    The value of this enumeration with given id x

    Definition Classes
    Enumeration
  12. final def maxId: Int

    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.

    Definition Classes
    Enumeration
  13. def toString(): String

    The name of this enumeration.

    The name of this enumeration.

    returns

    a String representation of the object.

    Definition Classes
    Enumeration → AnyRef → Any
  14. def values: ValueSet

    The values of this enumeration as a set.

    The values of this enumeration as a set.

    Definition Classes
    Enumeration
  15. final def withName(s: String): Value

    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.

    s

    an Enumeration name

    returns

    the Value of this Enumeration if its name matches s

    Definition Classes
    Enumeration
    Exceptions thrown

    NoSuchElementException if no Value with a matching name is in this Enumeration