MyDbl2

case class MyDbl2(a: Double, b: Double) extends Dbl2Elem

An example of a class that is based on the product of 2 Doubles. This class, MyDbl2s and their companion objects show you the boiler plate necessary to create and use custom efficient flat Array based immutable collection classes.

Companion
object
trait Serializable
trait Product
trait Equals
trait Dbl2Elem
trait DblNElem
trait SpecialT
class Object
trait Matchable
class Any

Value members

Concrete methods

override def canEqual(that: Any): Boolean
Definition Classes
Equals
override def dbl1: Double
Definition Classes
override def dbl2: Double
Definition Classes

Inherited methods

def dblsApprox(that: Dbl2Elem, delta: Double): Boolean
Inherited from
Dbl2Elem
def dblsEqual(that: Dbl2Elem): Boolean
Inherited from
Dbl2Elem
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product