Package

com.github.arturopala

bufferandslice

Permalink

package bufferandslice

Visibility
  1. Public
  2. All

Type Members

  1. final class ArrayBuffer[T] extends ArrayBufferLike[T]

    Permalink

    Growable, mutable array of values.

    Growable, mutable array of values.

    T

    type of the underlying array items

  2. trait ArrayBufferLike[T] extends Buffer[T]

    Permalink

    Common buffer functions impl for array-backend buffers.

  3. final class ArraySlice[T] extends ArraySliceLike[T]

    Permalink

    Lazy, immutable slice of an underlying array.

    Lazy, immutable slice of an underlying array.

    T

    type of the array's items

  4. trait ArraySliceLike[T] extends Slice[T]

    Permalink
  5. trait Buffer[T] extends (Int) ⇒ T

    Permalink

    Mutable indexed buffer abstraction.

    Mutable indexed buffer abstraction. All modifications happens in-place.

  6. final class ByteBuffer extends ArrayBufferLike[Byte]

    Permalink

    Growable, mutable array of bytes.

  7. final class ByteSlice extends ArraySliceLike[Byte]

    Permalink

    Lazy, specialized slice of the array of bytes.

  8. final class IntBuffer extends ArrayBufferLike[Int]

    Permalink

    Growable, mutable array of integers.

  9. final class IntSlice extends ArraySliceLike[Int]

    Permalink

    Lazy, specialized slice of the array of integers.

  10. abstract class MappedArraySlice[T] extends Slice[T]

    Permalink

    Lazy mapped, possibly immutable slice of an underlying array.

    Lazy mapped, possibly immutable slice of an underlying array.

    T

    type of the array's items

  11. trait Slice[T] extends (Int) ⇒ T

    Permalink

    Lazy, possibly immutable slice of a sequence of values.

    Lazy, possibly immutable slice of a sequence of values.

    T

    type of the items of the sequence.

    Note

    As the slice usually wraps over a mutable structure, like an array or a java buffer, and it DOES NOT make a copy, any changes to the underlying source will directly affect the slice output. Keep it in mind.

Value Members

  1. object ArrayOps

    Permalink

    Array modifications helper.

  2. object ArraySlice

    Permalink
  3. object Buffer

    Permalink

    Buffer factory.

  4. object ByteBuffer

    Permalink

    ByteBuffer factory.

  5. object ByteSlice

    Permalink
  6. object IntBuffer

    Permalink

    IntBuffer factory.

  7. object IntSlice

    Permalink
  8. object MappedArraySlice

    Permalink
  9. object Slice

    Permalink

    Slice companion object.

    Slice companion object. Host factory methods.

Ungrouped