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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[A](args: A*)(implicit arg0: ClassTag[A]): Buffer[A]

    Build a Buffer instance from the provided values.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. def empty[A](implicit arg0: ClassTag[A]): Buffer[A]

    Allocate an empty Buffer.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. implicit def eqv[A](implicit arg0: Eq[A]): Eq[Buffer[A]]

    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]

    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
    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]

    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]

    Build a Buffer from the provided iterable object.

  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. implicit def monoid[A](implicit arg0: ClassTag[A]): Monoid[Buffer[A]]

    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
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def ofSize[A](n: Int)(implicit arg0: ClassTag[A]): Buffer[A]

    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]]

    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]]

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

  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. def unsafe[A](arr: Array[A])(implicit arg0: ClassTag[A]): Buffer[A]

    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
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped