case class MyDbl2(a: Double, b: Double) extends ProdDbl2 with Product with Serializable
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.
- Alphabetic
- By Inheritance
- MyDbl2
- Serializable
- ProdDbl2
- ProdHomo
- SpecialT
- Product2
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def _1: Double
- Definition Classes
- MyDbl2 → Product2
- def _2: Double
- Definition Classes
- MyDbl2 → Product2
- val a: Double
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val b: Double
- def canEqual(that: Any): Boolean
- Definition Classes
- MyDbl2 → Equals
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productArity: Int
- Definition Classes
- Product2 → Product
- def productElement(n: Int): Any
- Definition Classes
- Product2 → Product
- Annotations
- @throws(classOf[java.lang.IndexOutOfBoundsException])
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])