class TripletD extends AnyRef
The TripletD
class holds a run length encoded triplet, e.g., (1.0, 2, 3)
Triplets are used for storing compressed vectors and matrices.
- Alphabetic
- By Inheritance
- TripletD
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new TripletD(value: Double, count: Int, startPos: Int)
- value
the value itself
- count
the number of times the value is repeated in a run
- startPos
the starting position of the value
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- var count: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(y: Any): Boolean
Override 'equals' to determine whether 'this' triplet equals triplet 'y'.
Override 'equals' to determine whether 'this' triplet equals triplet 'y'.
- y
the triplet to compare with this
- Definition Classes
- TripletD → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
Must also override 'hashCode' for 'this' vector to be compatible with equals.
Must also override 'hashCode' for 'this' vector to be compatible with equals.
- Definition Classes
- TripletD → AnyRef → Any
- 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()
- var startPos: Int
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
Converts 'this' triplet to a string.
Converts 'this' triplet to a string.
- Definition Classes
- TripletD → AnyRef → Any
- def update(x: (Double, Int, Int)): Unit
Update 'this' triplet.
Update 'this' triplet.
- x
the tuple value to which 'this' triplet should be updated
- var value: Double
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated