Trait

xerial.larray

LBuilder

Related Doc: package larray

Permalink

trait LBuilder[Elem, +To] extends WritableByteChannel

Extension of scala.collection.mutable.Builder using Long indexes

Elem

element type

To

LArray type to generate

Source
LArrayBuilder.scala
Linear Supertypes
WritableByteChannel, Channel, Closeable, AutoCloseable, AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LBuilder
  2. WritableByteChannel
  3. Channel
  4. Closeable
  5. AutoCloseable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def +=(elem: Elem): LBuilder.this.type

    Permalink

    Adds a single element to the builder.

    Adds a single element to the builder.

    elem

    the element to be added.

    returns

    the builder itself.

  2. abstract def append(seq: LSeq[Elem]): LBuilder.this.type

    Permalink
  3. abstract def clear(): Unit

    Permalink

    Clears the contents of this builder.

    Clears the contents of this builder. After execution of this method the builder will contain no elements.

  4. abstract def close(): Unit

    Permalink
    Definition Classes
    Channel → Closeable → AutoCloseable
    Annotations
    @throws( classOf[java.io.IOException] )
  5. abstract def elementSize: Long

    Permalink
  6. abstract def isOpen(): Boolean

    Permalink
    Definition Classes
    Channel
  7. abstract def result(): To

    Permalink

    Produces a collection from the added elements.

    Produces a collection from the added elements. The builder's contents are undefined after this operation.

    returns

    a collection containing the elements added to this builder.

  8. abstract def sizeHint(size: Long): Unit

    Permalink

    Gives a hint how many elements are expected to be added when the next result is called.

    Gives a hint how many elements are expected to be added when the next result is called. Some builder classes will optimize their representation based on the hint. However, builder implementations are still required to work correctly even if the hint is wrong, i.e. a different number of elements is added.

    size

    the hint how many elements will be added.

  9. abstract def write(arg0: ByteBuffer): Int

    Permalink
    Definition Classes
    WritableByteChannel
    Annotations
    @throws( classOf[java.io.IOException] )

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++=(xs: LIterator[Elem]): LBuilder.this.type

    Permalink
  4. def ++=(xs: TraversableOnce[Elem]): LBuilder.this.type

    Permalink

    Adds all elements produced by a TraversableOnce to this coll.

    Adds all elements produced by a TraversableOnce to this coll.

    xs

    the TraversableOnce producing the elements to add.

    returns

    the coll itself.

  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def append(elem: Elem): LBuilder.this.type

    Permalink
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from WritableByteChannel

Inherited from Channel

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped