object QValue extends QValueInstances with QValueFunctions
- Source
- QValue.scala
- Alphabetic
- By Inheritance
- QValue
- QValueFunctions
- QValueInstances
- 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
- lazy val One: QValue
- lazy val Zero: QValue
-
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 fromDouble(d: Double): ParseResult[QValue]
- def fromString(s: String): ParseResult[QValue]
- def fromThousandths(thousandths: Int): ParseResult[QValue]
-
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()
-
macro
def
q(d: Double): QValue
Supports a literal syntax for validated QValues.
Supports a literal syntax for validated QValues.
Example:
q(0.5).success == QValue.fromDouble(0.5) q(1.1) // does not compile: out of range val d = 0.5 q(d) // does not compile: not a literal
- Definition Classes
- QValueFunctions
-
implicit
val
qValueOrder: Order[QValue]
- Definition Classes
- QValueInstances
-
implicit
val
qValueShow: Show[QValue]
- Definition Classes
- QValueInstances
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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( ... )
-
def
☠(thousandths: Int): QValue
Exists to support compile-time verified literals.
Exists to support compile-time verified literals. Do not call directly.