Trait

com.github.arturopala.bufferandslice

ArraySliceLike

Related Doc: package bufferandslice

Permalink

trait ArraySliceLike[T] extends Slice[T]

Linear Supertypes
Slice[T], (Int) ⇒ T, AnyRef, Any
Known Subclasses
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. ArraySliceLike
  2. Slice
  3. Function1
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def array: Array[T]

    Permalink

    Attributes
    protected
  2. abstract def detached: Boolean

    Permalink

    Attributes
    protected
  3. abstract def fromIndex: Int

    Permalink

    Attributes
    protected
  4. abstract def toBuffer(implicit tag: ClassTag[T]): Buffer[T]

    Permalink

    Returns a buffer with a copy of this Slice.

    Returns a buffer with a copy of this Slice.

    Definition Classes
    Slice
  5. abstract def toIndex: Int

    Permalink

    Attributes
    protected
  6. abstract def wrap(fromIndex: Int, toIndex: Int, array: Array[T], detached: Boolean): ArraySliceLike.this.type

    Permalink

    Wraps an array preserving current Slice type.

    Wraps an array preserving current Slice type.

    Attributes
    protected

Concrete 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: (T) ⇒ A): (Int) ⇒ A

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

    Permalink

    Returns value at the given index withing the range.

    Returns value at the given index withing the range.

    Definition Classes
    ArraySliceLikeSlice → Function1
  6. final def asArray: Array[T]

    Permalink

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

  7. final def asInstanceOf[T0]: T0

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

    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) ⇒ T

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  11. final def copyToArray[T1 >: T](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: (T) ⇒ Boolean): Int

    Permalink

    Counts values fulfilling the predicate.

    Counts values fulfilling the predicate.

    Definition Classes
    ArraySliceLikeSlice
  13. final def detach: ArraySliceLike.this.type

    Permalink

    Detaches a slice creating a trimmed copy of an underlying data, if needed.

    Detaches a slice creating a trimmed copy of an underlying data, if needed. Subsequent detach operations will return the same instance without making new copies.

    Definition Classes
    ArraySliceLikeSlice
    Annotations
    @inline()
  14. final def drop(n: Int): ArraySliceLike.this.type

    Permalink

    Lazily narrows Slice to exclude first N items.

    Lazily narrows Slice to exclude first N items.

    Definition Classes
    ArraySliceLikeSlice
    Annotations
    @inline()
  15. final def dropRight(n: Int): ArraySliceLike.this.type

    Permalink

    Lazily narrows Slice to exclude last N items.

    Lazily narrows Slice to exclude last N items.

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

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

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

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

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

    Permalink
    Definition Classes
    ArraySliceLike → AnyRef → Any
  21. final def head: T

    Permalink

    Returns first value in the Slice.

    Returns first value in the Slice.

    Definition Classes
    ArraySliceLikeSlice
  22. final def headOption: Option[T]

    Permalink

    Returns first value in the Slice.

    Returns first value in the Slice.

    Definition Classes
    ArraySliceLikeSlice
  23. final def init: ArraySliceLike.this.type

    Permalink

    Returns the Slice without last value.

    Returns the Slice without last value.

    Definition Classes
    ArraySliceLikeSlice
    Annotations
    @inline()
  24. 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()
  25. final def isInstanceOf[T0]: Boolean

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

    Permalink

    Returns iterator over slice's values fulfilling the predicate.

    Returns iterator over slice's values fulfilling the predicate.

    Definition Classes
    ArraySliceLikeSlice
  27. final def iterator: Iterator[T]

    Permalink

    Returns iterator over slice's values.

    Returns iterator over slice's values.

    Definition Classes
    ArraySliceLikeSlice
  28. final def last: T

    Permalink

    Returns the last value in the Slice.

    Returns the last value in the Slice.

    Definition Classes
    ArraySliceLikeSlice
  29. final def lastOption: Option[T]

    Permalink

    Returns the last value in the Slice.

    Returns the last value in the Slice.

    Definition Classes
    ArraySliceLikeSlice
  30. final val length: Int

    Permalink

    Sliced range length.

    Sliced range length.

    Definition Classes
    ArraySliceLikeSlice
  31. final def map[K](f: (T) ⇒ 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()
  32. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  33. 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()
  34. final def notify(): Unit

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

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

    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
  37. final def reverseIterator: Iterator[T]

    Permalink

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

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

    Definition Classes
    ArraySliceLikeSlice
  38. final def slice(from: Int, to: Int): ArraySliceLike.this.type

    Permalink

    Lazily narrows Slice to provided range.

    Lazily narrows Slice to provided range.

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

    Permalink
    Definition Classes
    AnyRef
  40. final def tail: ArraySliceLike.this.type

    Permalink

    Returns the Slice without first value.

    Returns the Slice without first value.

    Definition Classes
    ArraySliceLikeSlice
    Annotations
    @inline()
  41. final def take(n: Int): ArraySliceLike.this.type

    Permalink

    Lazily narrows Slice to first N items.

    Lazily narrows Slice to first N items.

    Definition Classes
    ArraySliceLikeSlice
    Annotations
    @inline()
  42. final def takeRight(n: Int): ArraySliceLike.this.type

    Permalink

    Lazily narrows Slice to last N items.

    Lazily narrows Slice to last N items.

    Definition Classes
    ArraySliceLikeSlice
    Annotations
    @inline()
  43. final def toArray[T1 >: T](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
  44. final def toList: List[T]

    Permalink

    Returns new list of Slice values.

    Returns new list of Slice values.

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

    Permalink

    Returns new sequence of Slice values.

    Returns new sequence of Slice values.

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

    Permalink
    Definition Classes
    ArraySliceLike → Function1 → AnyRef → Any
  47. final def update[T1 >: T](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
  48. final def wait(): Unit

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

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

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

Inherited from Slice[T]

Inherited from (Int) ⇒ T

Inherited from AnyRef

Inherited from Any

Properties

Access

Transform

Aggregate

Iterate

Export

Internal

Ungrouped