Class/Object

com.github.arturopala.bufferandslice

ByteSlice

Related Docs: object ByteSlice | package bufferandslice

Permalink

final class ByteSlice extends ArraySliceLike[Byte]

Lazy, specialized slice of the array of bytes.

Linear Supertypes
ArraySliceLike[Byte], Slice[Byte], (Int) ⇒ Byte, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ByteSlice
  2. ArraySliceLike
  3. Slice
  4. Function1
  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 andThen[A](g: (Byte) ⇒ A): (Int) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. final def apply(index: Int): Byte

    Permalink

    Returns value at the given index withing the range.

    Returns value at the given index withing the range.

    Definition Classes
    ArraySliceLikeSlice → Function1
  6. val array: Array[Byte]

    Permalink

    Attributes
    protected
    Definition Classes
    ByteSliceArraySliceLike
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. final def asIterable: Iterable[Byte]

    Permalink

    Returns new iterable of Slice values.

    Returns new iterable of Slice values.

    Definition Classes
    ArraySliceLikeSlice
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def compose[A](g: (A) ⇒ Int): (A) ⇒ Byte

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  11. final def copyToArray[T1 >: Byte](targetIndex: Int, targetArray: Array[T1]): Array[T1]

    Permalink

    Dumps content to the array, starting from an index.

    Dumps content to the array, starting from an index.

    Definition Classes
    ArraySliceLikeSlice
    Annotations
    @inline()
  12. final def count(pred: (Byte) ⇒ Boolean): Int

    Permalink

    Counts values fulfilling the predicate.

    Counts values fulfilling the predicate.

    Definition Classes
    ArraySliceLikeSlice
  13. def create(fromIndex: Int, toIndex: Int, array: Array[Byte]): ByteSlice

    Permalink

    Attributes
    protected
    Definition Classes
    ByteSliceArraySliceLike
  14. final def detach(implicit tag: ClassTag[Byte]): Slice[Byte]

    Permalink

    Detaches a slice creating a trimmed copy of an underlying data.

    Detaches a slice creating a trimmed copy of an underlying data.

    Definition Classes
    ArraySliceLikeSlice
  15. final def drop(n: Int): Slice[Byte]

    Permalink

    Lazily narrows Slice to exclude first N items.

    Lazily narrows Slice to exclude first N items.

    Definition Classes
    ArraySliceLikeSlice
    Annotations
    @inline()
  16. final def dropRight(n: Int): Slice[Byte]

    Permalink

    Lazily narrows Slice to exclude last N items.

    Lazily narrows Slice to exclude last N items.

    Definition Classes
    ArraySliceLikeSlice
    Annotations
    @inline()
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def equals(obj: Any): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. val fromIndex: Int

    Permalink

    Attributes
    protected
    Definition Classes
    ByteSliceArraySliceLike
  21. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    ArraySliceLike → AnyRef → Any
  23. final def head: Byte

    Permalink

    Returns first value in the Slice.

    Returns first value in the Slice.

    Definition Classes
    ArraySliceLikeSlice
  24. final def headOption: Option[Byte]

    Permalink

    Returns first value in the Slice.

    Returns first value in the Slice.

    Definition Classes
    ArraySliceLikeSlice
  25. final def init: Slice[Byte]

    Permalink

    Returns the Slice without last value.

    Returns the Slice without last value.

    Definition Classes
    ArraySliceLikeSlice
    Annotations
    @inline()
  26. final def isEmpty: Boolean

    Permalink

    Returns true if Slice has values, otherwise false.

    Returns true if Slice has values, otherwise false.

    Definition Classes
    ArraySliceLikeSlice
    Annotations
    @inline()
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. final def iterator(pred: (Byte) ⇒ Boolean): Iterator[Byte]

    Permalink

    Returns iterator over slice's values fulfilling the predicate.

    Returns iterator over slice's values fulfilling the predicate.

    Definition Classes
    ArraySliceLikeSlice
  29. final def iterator: Iterator[Byte]

    Permalink

    Returns iterator over slice's values.

    Returns iterator over slice's values.

    Definition Classes
    ArraySliceLikeSlice
  30. final def last: Byte

    Permalink

    Returns the last value in the Slice.

    Returns the last value in the Slice.

    Definition Classes
    ArraySliceLikeSlice
  31. final def lastOption: Option[Byte]

    Permalink

    Returns the last value in the Slice.

    Returns the last value in the Slice.

    Definition Classes
    ArraySliceLikeSlice
  32. final val length: Int

    Permalink

    Sliced range length.

    Sliced range length.

    Definition Classes
    ArraySliceLikeSlice
  33. final def map[K](f: (Byte) ⇒ K): Slice[K]

    Permalink

    Lazily composes mapping function and returns new MappedArraySlice.

    Lazily composes mapping function and returns new MappedArraySlice. Does not modify nor copy underlying array.

    Definition Classes
    ArraySliceLikeSlice
    Annotations
    @inline()
  34. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  35. final def nonEmpty: Boolean

    Permalink

    Returns true if Slice has values, otherwise false.

    Returns true if Slice has values, otherwise false.

    Definition Classes
    Slice
    Annotations
    @inline()
  36. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  38. final def reverseIterator(pred: (Byte) ⇒ Boolean): Iterator[Byte]

    Permalink

    Returns iterator over slice's values, fulfilling the predicate, in the reverse order.

    Returns iterator over slice's values, fulfilling the predicate, in the reverse order.

    Definition Classes
    ArraySliceLikeSlice
  39. final def reverseIterator: Iterator[Byte]

    Permalink

    Returns iterator over slice's values in the reverse order.

    Returns iterator over slice's values in the reverse order.

    Definition Classes
    ArraySliceLikeSlice
  40. final def slice(from: Int, to: Int): Slice[Byte]

    Permalink

    Lazily narrows Slice to provided range.

    Lazily narrows Slice to provided range.

    Definition Classes
    ArraySliceLikeSlice
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  42. final def tail: Slice[Byte]

    Permalink

    Returns the Slice without first value.

    Returns the Slice without first value.

    Definition Classes
    ArraySliceLikeSlice
    Annotations
    @inline()
  43. final def take(n: Int): Slice[Byte]

    Permalink

    Lazily narrows Slice to first N items.

    Lazily narrows Slice to first N items.

    Definition Classes
    ArraySliceLikeSlice
    Annotations
    @inline()
  44. final def takeRight(n: Int): Slice[Byte]

    Permalink

    Lazily narrows Slice to last N items.

    Lazily narrows Slice to last N items.

    Definition Classes
    ArraySliceLikeSlice
    Annotations
    @inline()
  45. final def toArray[T1 >: Byte](implicit arg0: ClassTag[T1]): Array[T1]

    Permalink

    Returns a minimal copy of an underlying array, trimmed to the actual range.

    Returns a minimal copy of an underlying array, trimmed to the actual range.

    Definition Classes
    ArraySliceLikeSlice
  46. final def toBuffer(implicit tag: ClassTag[Byte]): Buffer[Byte]

    Permalink

    Returns buffer with a copy of this Slice.

    Returns buffer with a copy of this Slice.

    Definition Classes
    ArraySliceLikeSlice
    Annotations
    @inline()
  47. val toIndex: Int

    Permalink

    Attributes
    protected
    Definition Classes
    ByteSliceArraySliceLike
  48. final def toList: List[Byte]

    Permalink

    Returns new list of Slice values.

    Returns new list of Slice values.

    Definition Classes
    ArraySliceLikeSlice
    Annotations
    @inline()
  49. final def toSeq: Seq[Byte]

    Permalink

    Returns new sequence of Slice values.

    Returns new sequence of Slice values.

    Definition Classes
    ArraySliceLikeSlice
    Annotations
    @inline()
  50. final def toString(): String

    Permalink
    Definition Classes
    ArraySliceLike → Function1 → AnyRef → Any
  51. final def update[T1 >: Byte](index: Int, value: T1)(implicit arg0: ClassTag[T1]): Slice[T1]

    Permalink

    Creates a copy of the slice with modified value.

    Creates a copy of the slice with modified value.

    Definition Classes
    ArraySliceLikeSlice
  52. final def wait(): Unit

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

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

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

Inherited from ArraySliceLike[Byte]

Inherited from Slice[Byte]

Inherited from (Int) ⇒ Byte

Inherited from AnyRef

Inherited from Any

Properties

Access

Transform

Aggregate

Read

Internal

Ungrouped