Class/Object

org.http4s

QValue

Related Docs: object QValue | package http4s

Permalink

final class QValue extends AnyVal with Ordered[QValue] with Renderable

A Quality Value. Represented as thousandths for an exact representation rounded to three decimal places.

Source
QValue.scala
See also

RFC 2616, Section 3.9

Linear Supertypes
Renderable, Ordered[QValue], Comparable[QValue], AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QValue
  2. Renderable
  3. Ordered
  4. Comparable
  5. AnyVal
  6. Any
Implicitly
  1. by orderingToOrdered
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from QValue to any2stringadd[QValue] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (QValue, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from QValue to ArrowAssoc[QValue] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. def <(that: QValue): Boolean

    Permalink
    Definition Classes
    Ordered
  6. def <=(that: QValue): Boolean

    Permalink
    Definition Classes
    Ordered
  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  8. def >(that: QValue): Boolean

    Permalink
    Definition Classes
    Ordered
  9. def >=(that: QValue): Boolean

    Permalink
    Definition Classes
    Ordered
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def compare(that: QValue): Int

    Permalink
    Definition Classes
    QValue → Ordered
  12. def compareTo(that: QValue): Int

    Permalink
    Definition Classes
    Ordered → Comparable
  13. def ensuring(cond: (QValue) ⇒ Boolean, msg: ⇒ Any): QValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from QValue to Ensuring[QValue] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: (QValue) ⇒ Boolean): QValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from QValue to Ensuring[QValue] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: Boolean, msg: ⇒ Any): QValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from QValue to Ensuring[QValue] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean): QValue

    Permalink
    Implicit information
    This member is added by an implicit conversion from QValue to Ensuring[QValue] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from QValue to StringFormat[QValue] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. def getClass(): Class[_ <: AnyVal]

    Permalink
    Definition Classes
    AnyVal → Any
  19. def isAcceptable: Boolean

    Permalink
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def render(writer: Writer): writer.type

    Permalink

    Base method for rendering this object efficiently

    Base method for rendering this object efficiently

    Definition Classes
    QValueRenderable
  22. def renderString: String

    Permalink

    Generates a String rendering of this object

    Generates a String rendering of this object

    Definition Classes
    Renderable
  23. val thousandths: Int

    Permalink

    between 0 (for q=0) and 1000 (for q=1)

  24. def toDouble: Double

    Permalink
  25. def toString(): String

    Permalink
    Definition Classes
    Renderable → Any
  26. def [B](y: B): (QValue, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from QValue to ArrowAssoc[QValue] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. def <(that: QValue): Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from QValue to Ordered[QValue] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (qValue: Ordered[QValue]).<(that)
    Definition Classes
    Ordered
  2. def <=(that: QValue): Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from QValue to Ordered[QValue] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (qValue: Ordered[QValue]).<=(that)
    Definition Classes
    Ordered
  3. def >(that: QValue): Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from QValue to Ordered[QValue] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (qValue: Ordered[QValue]).>(that)
    Definition Classes
    Ordered
  4. def >=(that: QValue): Boolean

    Permalink
    Implicit information
    This member is added by an implicit conversion from QValue to Ordered[QValue] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (qValue: Ordered[QValue]).>=(that)
    Definition Classes
    Ordered
  5. def compare(that: QValue): Int

    Permalink
    Implicit information
    This member is added by an implicit conversion from QValue to Ordered[QValue] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (qValue: Ordered[QValue]).compare(that)
    Definition Classes
    Ordered
  6. def compareTo(that: QValue): Int

    Permalink
    Implicit information
    This member is added by an implicit conversion from QValue to Ordered[QValue] performed by method orderingToOrdered in scala.math.Ordered.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (qValue: Ordered[QValue]).compareTo(that)
    Definition Classes
    Ordered → Comparable

Inherited from Renderable

Inherited from Ordered[QValue]

Inherited from Comparable[QValue]

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion orderingToOrdered from QValue to Ordered[QValue]

Inherited by implicit conversion any2stringadd from QValue to any2stringadd[QValue]

Inherited by implicit conversion StringFormat from QValue to StringFormat[QValue]

Inherited by implicit conversion Ensuring from QValue to Ensuring[QValue]

Inherited by implicit conversion ArrowAssoc from QValue to ArrowAssoc[QValue]

Ungrouped