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, MyDbl2Arr 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 ValueNElem
trait SpecialT
class Object
trait Matchable
class Any
Show all

Members list

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 dblBufferAppend(buffer: ArrayBuffer[Double]): Unit

Utility method to append this as an element to an ArrayBuffer[Double]. End users should rarely need to use this method.

Utility method to append this as an element to an ArrayBuffer[Double]. End users should rarely need to use this method.

Attributes

Definition Classes
Inherited from:
Dbl2Elem
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
def dblsEqual(that: Dbl2Elem): Boolean

Attributes

Inherited from:
Dbl2Elem

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product