scala.math.BigDecimal

RoundingMode

object RoundingMode extends Enumeration

Inherits

  1. Enumeration
  2. AnyRef
  3. Any

Type Members

  1. type RoundingMode = Value

  2. class Value extends Ordered[Value]

    The type of the enumerated values

  3. class ValueSet extends Set[Value] with SetLike[Value, ValueSet]

    A class for sets of values Iterating through this set will yield values in increasing order of their ids

Value Members

  1. val CEILING: Value

  2. val DOWN: Value

  3. val FLOOR: Value

  4. val HALF_DOWN: Value

  5. val HALF_EVEN: Value

  6. val HALF_UP: Value

  7. val UNNECESSARY: Value

  8. val UP: Value

  9. object ValueSet extends AnyRef

    A factory object for value sets

  10. def equals(arg0: Any): Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence

  11. def exists(p: (Value) ⇒ Boolean): Boolean

    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

  12. def filter(p: (Value) ⇒ Boolean): Iterator[Value]

    Returns all values of this enumeration that satisfy the predicate p

  13. def flatMap[B](f: (Value) ⇒ Iterator[B]): Iterator[B]

    Applies the given function f to each value of this enumeration, then concatenates the results

  14. def forall(p: (Value) ⇒ Boolean): Boolean

    Apply a predicate p to all values of this enumeration and return true, iff the predicate yields true for all values

  15. def foreach(f: (Value) ⇒ Unit): Unit

    Apply a function f to all values of this enumeration

  16. def hashCode(): Int

    Returns a hash code value for the object

  17. def map[B](f: (Value) ⇒ B): Iterator[B]

    Returns an iterator resulting from applying the given function f to each value of this enumeration

  18. def name: String

    The name of this enumeration

  19. def toString(): String

    The name of this enumeration

  20. def valueOf(s: String): Option[Value]

  21. def values: ValueSet

    The values of this enumeration as a set