MyDbl2Elem

ostrat.MyDbl2Elem
See theMyDbl2Elem companion object
case class MyDbl2Elem(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.

Attributes

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

Members list

Concise view

Value members

Concrete methods

override def canEqual(that: Any): Boolean

Attributes

Definition Classes
override def dbl1: Double

Attributes

Definition Classes
override def dbl2: Double

Attributes

Definition Classes

Inherited methods

override def dblForeach(f: Double => Unit): Unit

Performs the side effecting function on each Double in this Product element.

Performs the side effecting function on each Double in this Product element.

Attributes

Definition Classes
Inherited from:
Dbl2Elem
def dblsApprox(that: Dbl2Elem, delta: Double): Boolean

Attributes

Inherited from:
Dbl2Elem

Attributes

Inherited from:
Dbl2Elem

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product