Double

object Double extends Double.Custom.Containers[Double]

Companion Object for scala.Double

This object also defines specialized custom containers for Double type, so the following code can run without boxing:


   val s: Double.~    = (1.0 <> 5.0).step_~(1)

   val o: Double.Opt  = s.readRaw_?  // Holds Double.Opt(1.0)

   val l: Double.><   = s.><        // Holds (2.0, 3.0, 4.0)
Source
__.scala
class java.lang.Object
trait scala.Matchable
class Any

Member

trait _methods

Double Extension Methods

Extension methods universaly avaialble for type scala.Double

Source
_methods.scala
object Custom
Source
__.scala
object G

Double Specialized Generic Containers

The generic containers are never used directly, but rather as customized shortcuts for specific types.

For example:

  • Double.G.><[Double] usually called as Double.><
  • Double.G.Idx[Percent] usually called as Percent.Idx
  • Int.G.Pro.Mutable[Day] usually called as Day.Pro.Mutable
  • Long.G.Collection[Time] usually called as Time.Collection
Source
__.scala

Alias

@scala.annotation.targetName("Stream")
type ~ = Double.G.~[A]

Specialized stream

Specialized stream

Already parameterized generic stream

Inherited from
Containers
Source
__.scala
@scala.annotation.targetName("Stream")

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
__.scala
@scala.annotation.targetName("Range")
type <> = Double.G.<>[A]

Specialized range

Specialized range

Already parameterized generic range

Inherited from
Containers
Source
__.scala
@scala.annotation.targetName("Pack")
type >< = Double.G.><[A]

Specialized pack

Specialized pack

Already parameterized generic immutable collection

Inherited from
Containers
Source
__.scala
@scala.annotation.targetName("Pack")

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
__.scala

Specialized buffer

Specialized buffer

Already parameterized generic buffer

Inherited from
Containers
Source
__.scala

Specialized collection

Specialized collection

Already parameterized generic collection

Inherited from
Containers
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
__.scala

Specialized functions

Specialized functions

Already parameterized set of generic functions

Inherited from
Containers
Source
__.scala
type Idx = Double.G.Idx[A]

Specialized indexed collection

Specialized indexed collection

Already parameterized generic indexed collection

Inherited from
Containers
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
__.scala
type Lookup[B] = Lookup[A, B]

Specialized lookup collection

Specialized lookup collection

Already parameterized generic lookup collection

Inherited from
Containers
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
__.scala
type Opt = Double.G.Opt[A]

Specialized option

Specialized option

Already parameterized generic option

Inherited from
Containers
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
__.scala

Parameterized J.Ordering

Parameterized J.Ordering

Already parameterized generic J.Ordering

Inherited from
Containers
Source
__.scala
type Pro = Double.G.Pro[A]

Specialized property

Specialized property

Already parameterized generic property

Inherited from
Containers
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
__.scala
type Promise = Promise[A]

Parameterized Val.Promise

Parameterized Val.Promise

Already parameterized generic Val.Promise

Inherited from
Containers
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
__.scala
type Result = Result[A]

Parameterized Val.Result

Parameterized Val.Result

Already parameterized generic Val.Result

Inherited from
Containers
Source
__.scala

Type companion

Type companion

Holds methods to construct type instances

Inherited from
Containers
Source
__.scala

Type alias

Type alias

Shortcut to Collection.StableSet

Inherited from
Containers
Source
__.scala

Companion alias

Companion alias

Holds methods to construct type instances

Inherited from
Containers
Source
__.scala

Def

inline def emptyArray: Array[Double]

Empty array

Empty array

Returns singleton scala.Array.emptyDoubleArray

Inherited from
Containers
Source
__.scala
inline def math: Double.G.Math[Double]

Math interface

Math interface

Returns type math implementation

Source
__.scala
inline def max: Double

Maximum

Maximum

Returns type maximum value defined in java.lang.Double.MAX_VALUE

Source
__.scala
inline def min: Double

Minimum

Minimum

Returns type minimal value defined in java.lang.Double.MIN_VALUE

Source
__.scala
inline def ordering: Double.G.Math.Ordering[Double]

Ordering

Ordering

Returns type natural ordering

Source
__.scala