object BSONDecimal
- Alphabetic
- By Inheritance
- BSONDecimal
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
NaN: BSONDecimal
Decimal128 representation of a Not-a-Number (NaN) value
-
val
NegativeInf: BSONDecimal
Decimal128 representation of the negative infinity
-
val
NegativeNaN: BSONDecimal
Decimal128 representation of a negative Not-a-Number (-NaN) value
-
val
NegativeZero: BSONDecimal
Decimal128 representation of a negative zero value
-
val
PositiveInf: BSONDecimal
Decimal128 representation of the positive infinity
-
val
PositiveZero: BSONDecimal
Decimal128 representation of a postive zero value
-
def
apply(high: Long, low: Long): BSONDecimal
Factory alias.
Factory alias.
- high
the high-order 64 bits
- low
the low-order 64 bits
- Annotations
- @inline()
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromBigDecimal(value: BigDecimal): Try[BSONDecimal]
Returns a BSON decimal (Decimal128) corresponding to the given BigDecimal.
Returns a BSON decimal (Decimal128) corresponding to the given BigDecimal.
- value
the BigDecimal representation
- Annotations
- @inline()
-
def
fromBigDecimal(value: BigDecimal): Try[BSONDecimal]
Returns a BSON decimal (Decimal128) corresponding to the given BigDecimal.
Returns a BSON decimal (Decimal128) corresponding to the given BigDecimal.
- value
the BigDecimal representation
- Annotations
- @inline()
-
def
fromLong(high: Long): Try[BSONDecimal]
Returns a Decimal128 value represented the given high 64bits value, using a default for the low one.
Returns a Decimal128 value represented the given high 64bits value, using a default for the low one.
- high
the high-order 64 bits
- Annotations
- @inline()
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
parse(repr: String): Try[BSONDecimal]
Returns the Decimal128 corresponding to the given string representation.
Returns the Decimal128 corresponding to the given string representation.
- repr
the Decimal128 value represented as string
- See also
-
def
pretty(dec: BSONDecimal): String
Returns the string representation for the given BSONDecimal.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toBigDecimal(decimal: BSONDecimal): Try[BigDecimal]
Returns the corresponding BigDecimal.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
unapply(that: Any): Option[(Long, Long)]
Extracts the (high, low) representation if
that
's BSONDecimal. -
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )