Packages

abstract class LazyMapArraySlice[T] extends Slice[T]

Lazily mapped slice of an underlying array.

T

type of the array's items

Note

Truly immutable only if an underlying array kept private, or if detached.

Linear Supertypes
Slice[T], (Int) => T, AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. LazyMapArraySlice
  2. Slice
  3. Function1
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. abstract type A

    Type of the underlying array items.

Abstract Value Members

  1. abstract val array: Array[A]

    Underlying array.

  2. abstract val mapF: (A) => T

    Value mapping function.

Concrete 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 andThen[A](g: (T) => A): (Int) => A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. final def apply(index: Int): T

    Returns value at the given index withing the range.

    Returns value at the given index withing the range.

    Definition Classes
    LazyMapArraySliceSlice → Function1
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. final def asIterable: Iterable[T]

    Returns new iterable of Slice values.

    Returns new iterable of Slice values.

    Definition Classes
    LazyMapArraySliceSlice
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def compose[A](g: (A) => Int): (A) => T
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  10. final def copyToArray[T1 >: T](targetIndex: Int, targetArray: Array[T1]): Array[T1]

    Dumps content to the array, starting from an index.

    Dumps content to the array, starting from an index.

    Definition Classes
    LazyMapArraySliceSlice
  11. final def count(pred: (T) => Boolean): Int

    Counts values fulfilling the predicate.

    Counts values fulfilling the predicate.

    Definition Classes
    LazyMapArraySliceSlice
  12. final def detach: LazyMapArraySlice.this.type

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

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

    Definition Classes
    LazyMapArraySliceSlice
  13. final def drop(n: Int): LazyMapArraySlice.this.type

    Lazily narrows Slice to exclude first N items.

    Lazily narrows Slice to exclude first N items.

    Definition Classes
    LazyMapArraySliceSlice
    Annotations
    @inline()
  14. final def dropRight(n: Int): LazyMapArraySlice.this.type

    Lazily narrows Slice to exclude last N items.

    Lazily narrows Slice to exclude last N items.

    Definition Classes
    LazyMapArraySliceSlice
    Annotations
    @inline()
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def equals(obj: Any): Boolean
    Definition Classes
    LazyMapArraySlice → AnyRef → Any
  17. final def exists(pred: (T) => Boolean): Boolean

    Returns true if any value fulfills the predicate, or false.

    Returns true if any value fulfills the predicate, or false.

    Definition Classes
    LazyMapArraySliceSlice
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. final def find(pred: (T) => Boolean): Option[T]

    Returns Some of the first value fulfilling the predicate, or None.

    Returns Some of the first value fulfilling the predicate, or None.

    Definition Classes
    LazyMapArraySliceSlice
  20. final def get(index: Int): Option[T]

    Returns Some of the value at the index, or None if index outside of range.

    Returns Some of the value at the index, or None if index outside of range.

    Definition Classes
    LazyMapArraySliceSlice
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. final def hashCode(): Int
    Definition Classes
    LazyMapArraySlice → AnyRef → Any
  23. final def head: T

    Returns first value in the Slice.

    Returns first value in the Slice.

    Definition Classes
    LazyMapArraySliceSlice
  24. final def headOption: Option[T]

    Returns first value in the Slice.

    Returns first value in the Slice.

    Definition Classes
    LazyMapArraySliceSlice
  25. final def init: LazyMapArraySlice.this.type

    Returns the Slice without last value.

    Returns the Slice without last value.

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

    Returns true if Slice has values, otherwise false.

    Returns true if Slice has values, otherwise false.

    Definition Classes
    LazyMapArraySliceSlice
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. final def iterator(pred: (T) => Boolean): Iterator[T]

    Returns iterator over Slice values fulfilling the predicate.

    Returns iterator over Slice values fulfilling the predicate.

    Definition Classes
    LazyMapArraySliceSlice
  29. final def iterator: Iterator[T]

    Returns iterator over Slice values.

    Returns iterator over Slice values.

    Definition Classes
    LazyMapArraySliceSlice
  30. final def last: T

    Returns the last value in the Slice.

    Returns the last value in the Slice.

    Definition Classes
    LazyMapArraySliceSlice
  31. final def lastOption: Option[T]

    Returns the last value in the Slice.

    Returns the last value in the Slice.

    Definition Classes
    LazyMapArraySliceSlice
  32. final val length: Int

    Sliced range length.

    Sliced range length.

    Definition Classes
    LazyMapArraySliceSlice
  33. final def map[K](f: (T) => K): Slice[K]

    Lazily composes mapping function and returns new Slice.

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

    Definition Classes
    LazyMapArraySliceSlice
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def nonEmpty: Boolean

    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
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def reverseIterator(pred: (T) => Boolean): Iterator[T]

    Returns iterator over Slice values fulfilling the predicate, in the reverse order.

    Returns iterator over Slice values fulfilling the predicate, in the reverse order.

    Definition Classes
    LazyMapArraySliceSlice
  39. final def reverseIterator: Iterator[T]

    Returns iterator over Slice values in the reverse order.

    Returns iterator over Slice values in the reverse order.

    Definition Classes
    LazyMapArraySliceSlice
  40. final def sameElements(iterator1: Iterator[T], iterator2: Iterator[T]): Boolean

    Checks if two iterators would return same elements.

  41. final def slice(from: Int, to: Int): LazyMapArraySlice.this.type

    Lazily narrows Slice to provided range.

    Lazily narrows Slice to provided range.

    Definition Classes
    LazyMapArraySliceSlice
  42. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  43. final def tail: LazyMapArraySlice.this.type

    Returns the Slice without first value.

    Returns the Slice without first value.

    Definition Classes
    LazyMapArraySliceSlice
    Annotations
    @inline()
  44. final def take(n: Int): LazyMapArraySlice.this.type

    Lazily narrows Slice to first N items.

    Lazily narrows Slice to first N items.

    Definition Classes
    LazyMapArraySliceSlice
    Annotations
    @inline()
  45. final def takeRight(n: Int): LazyMapArraySlice.this.type

    Lazily narrows Slice to last N items.

    Lazily narrows Slice to last N items.

    Definition Classes
    LazyMapArraySliceSlice
    Annotations
    @inline()
  46. final def toArray[T1 >: T](implicit arg0: ClassTag[T1]): Array[T1]

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

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

    Definition Classes
    LazyMapArraySliceSlice
  47. final def toBuffer(implicit tag: ClassTag[T]): Buffer[T]

    Returns buffer with a copy of this Slice.

    Returns buffer with a copy of this Slice.

    Definition Classes
    LazyMapArraySliceSlice
  48. final def toList: List[T]

    Returns new list of Slice values.

    Returns new list of Slice values.

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

    Returns new sequence of Slice values.

    Returns new sequence of Slice values.

    Definition Classes
    LazyMapArraySliceSlice
    Annotations
    @inline()
  50. final def toString(): String
    Definition Classes
    LazyMapArraySlice → Function1 → AnyRef → Any
  51. final def update[T1 >: T](index: Int, value: T1)(implicit arg0: ClassTag[T1]): Slice[T1]

    Creates a copy of the slice with modified value.

    Creates a copy of the slice with modified value.

    Definition Classes
    LazyMapArraySliceSlice
  52. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  53. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  54. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Slice[T]

Inherited from (Int) => T

Inherited from AnyRef

Inherited from Any

Properties

Access

Transform

Aggregate

Iterate

Export

Ungrouped