Object/Class

debox

Buffer

Related Docs: class Buffer | package debox

Permalink

object Buffer extends LowPriorityBufferImplicits with Serializable

Linear Supertypes
Serializable, Serializable, LowPriorityBufferImplicits, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Buffer
  2. Serializable
  3. Serializable
  4. LowPriorityBufferImplicits
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[A](args: A*)(implicit arg0: ClassTag[A]): Buffer[A]

    Permalink

    Build a Buffer instance from the provided values.

  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def empty[A](implicit arg0: ClassTag[A]): Buffer[A]

    Permalink

    Allocate an empty Buffer.

  8. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. implicit def eqv[A](implicit arg0: Eq[A]): Eq[Buffer[A]]

    Permalink

    Provide an Eq[Buffer[A]] instance.

    Provide an Eq[Buffer[A]] instance.

    This method uses the given Eq[A] to compare each element pairwise. Buffers are required to be the same length.

    Definition Classes
    LowPriorityBufferImplicits
  11. def fill[A](n: Int)(a: A)(implicit arg0: ClassTag[A]): Buffer[A]

    Permalink

    Fill a length-n Buffer with a constant value.

    Fill a length-n Buffer with a constant value.

    If A is a reference type, all the elements in the Buffer will point to the same 'a' instance. If it is known to be a value type (e.g. Int) then all the values will be primitives.

  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def fromArray[A](arr: Array[A])(implicit arg0: ClassTag[A]): Buffer[A]

    Permalink

    Build a Buffer from the provided array.

    Build a Buffer from the provided array.

    Unlike 'unsafe' this method clones the given array, to prevent possible corruption later.

  14. def fromIterable[A](items: Iterable[A])(implicit arg0: ClassTag[A]): Buffer[A]

    Permalink

    Build a Buffer from the provided iterable object.

  15. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  18. implicit def monoid[A](implicit arg0: ClassTag[A]): Monoid[Buffer[A]]

    Permalink

    Provides a Monoid[Buffer[A]] instance.

    Provides a Monoid[Buffer[A]] instance.

    The identity value is an empty buffer, and the ++ operator is used to concatenate two buffers without modifying their contents.

  19. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def ofSize[A](n: Int)(implicit arg0: ClassTag[A]): Buffer[A]

    Permalink

    Allocate an empty Buffer, capable of holding n items without resizing itself.

    Allocate an empty Buffer, capable of holding n items without resizing itself.

    This method is useful if you know you'll be adding a large number of elements in advance and you want to save a few resizes.

  23. implicit def order[A](implicit arg0: Order[A]): Order[Buffer[A]]

    Permalink

    Provide an Order[Buffer[A]] instance.

    Provide an Order[Buffer[A]] instance.

    The empty buffer is considered "less-than" any non-empty buffer, and non-empty buffers are compared lexicographically. Elemens are compared using the given Order[A].

  24. def pairwiseMonoid[A](implicit arg0: ClassTag[A], arg1: Monoid[A]): Monoid[Buffer[A]]

    Permalink

    Alternative Monoid[Buffer[A]] which combines buffers in a pairwise fashion.

  25. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. def unsafe[A](arr: Array[A])(implicit arg0: ClassTag[A]): Buffer[A]

    Permalink

    Wrap an array instance directly in a Buffer.

    Wrap an array instance directly in a Buffer.

    This method is named 'unsafe' because the underlying array could potentially be modified somewhere else, changing or corrupting the Buffer. You should only use this method when you know that the array will not be stored or modified externally.

  28. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped