Class/Object

org.http4s

QValue

Related Docs: object QValue | package http4s

Permalink

final class QValue extends AnyVal with Ordered[QValue]

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

See also

RFC 2616, Section 3.9

Linear Supertypes
Ordered[QValue], Comparable[QValue], AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. QValue
  2. Ordered
  3. Comparable
  4. AnyVal
  5. Any
  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 <(that: QValue): Boolean

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Ordered → Comparable
  11. def getClass(): Class[_ <: AnyVal]

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

    Permalink
  13. final def isInstanceOf[T0]: Boolean

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

    Permalink
  15. val thousandths: Int

    Permalink

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

  16. def toDouble: Double

    Permalink
  17. def toString(): String

    Permalink
    Definition Classes
    QValue → Any

Inherited from Ordered[QValue]

Inherited from Comparable[QValue]

Inherited from AnyVal

Inherited from Any

Ungrouped