object QValue extends QValuePlatform
- Source
- QValue.scala
- Alphabetic
- By Inheritance
- QValue
- QValuePlatform
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- implicit val catsInstancesForHttp4sQValue: Order[QValue] with Show[QValue] with Hash[QValue] with HttpCodec[QValue] with BoundedEnumerable[QValue]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[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[_ <: AnyRef]
- 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(s: String): ParseResult[QValue]
- implicit val stdLibOrderingInstance: Ordering[QValue]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unapply(qValue: QValue): Option[Int]
- def unsafeFromString(s: String): QValue
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- 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
- QValuePlatform
- Annotations
- @deprecated
- Deprecated
(Since version 0.20) use qValue"" string interpolation instead
- def ☠(thousandths: Int): QValue
Exists to support compile-time verified literals.
Exists to support compile-time verified literals. Do not call directly.
- Annotations
- @deprecated
- Deprecated
(Since version 0.22.2) QValue literal is deprecated. Import
org.http4s.implicits._
and use the qValue"" string context