final class KmerTableBuilder2 extends KmerTableBuilder
A KmerTableBuilder where each row is 2 Longs. This subclass optimizes addRow() to avoid a loop.
- Alphabetic
- By Inheritance
- KmerTableBuilder2
- KmerTableBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new KmerTableBuilder2(width: Int, tagWidth: Int, sizeEstimate: Int, k: Int)
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
addLong(x: Long): Unit
Add a single long value.
Add a single long value. Calling this method 'width' times adds a single k-mer to the table.
- Definition Classes
- KmerTableBuilder
-
def
addLongUnsafe(x: Long): Unit
Add a long without checking bounds.
Add a long without checking bounds. Users are responsible for calling beginRow() and finishRow() as needed.
- Definition Classes
- KmerTableBuilder
-
def
addLongsUnsafe(xs: Array[Long]): Unit
Add multiple long values without checking bounds.
Add multiple long values without checking bounds. Users are responsible for calling beginRow() and finishRow() as needed.
- Definition Classes
- KmerTableBuilder
-
def
addRow(xs: Array[Long]): Unit
Add a complete row.
Add a complete row. The array must have the correct number of elements matching the width of this table.
- Definition Classes
- KmerTableBuilder2 → KmerTableBuilder
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
beginRow(): Unit
Start a new row in this table.
Start a new row in this table. The row can be added to using the addLong and addLongs methods. After the row is complete, finishRow should be called. The buffers may grow when this method is called.
- Definition Classes
- KmerTableBuilder
-
val
buffers: Array[Array[Long]]
Resizable Long buffers.
Resizable Long buffers. These will always be of equal length.
- Attributes
- protected
- Definition Classes
- KmerTableBuilder
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
-
def
ensureSize(reqSize: Int): Unit
- Definition Classes
- KmerTableBuilder
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finishRow(): Unit
Complete a row in this table.
Complete a row in this table.
- Definition Classes
- KmerTableBuilder
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
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() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
def
result(sort: Boolean): KmerTable
Construct a k-mer table that contains all the inserted k-mers.
Construct a k-mer table that contains all the inserted k-mers. After calling this method, this builder is invalid and should be discarded.
- sort
Whether the k-mers should be sorted.
- returns
The resulting k-mer table
- Definition Classes
- KmerTableBuilder
-
var
size: Int
Number of items stored in the buffers
Number of items stored in the buffers
- Attributes
- protected
- Definition Classes
- KmerTableBuilder
-
def
skipRow(): Unit
- Definition Classes
- KmerTableBuilder
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated