Packages

final class IntSlice extends Slice[Int]

Lazy, specialized slice of the array of integers.

Linear Supertypes
Slice[Int], (Int) ⇒ Int, AnyRef, Any
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. IntSlice
  2. Slice
  3. Function1
  4. AnyRef
  5. 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 andThen[A](g: (Int) ⇒ A): (Int) ⇒ A
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  5. def apply(index: Int): Int

    Returns value at the given index withing the range.

    Returns value at the given index withing the range.

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

    Returns new iterable of Slice values.

    Returns new iterable of Slice values.

    Definition Classes
    IntSliceSlice
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def compose[A](g: (A) ⇒ Int): (A) ⇒ Int
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  10. def count(pred: (Int) ⇒ Boolean): Int

    Counts values fulfilling the predicate.

    Counts values fulfilling the predicate.

    Definition Classes
    IntSliceSlice
  11. def drop(n: Int): IntSlice

    Lazily narrows Slice to exclude first N items.

    Lazily narrows Slice to exclude first N items.

    Definition Classes
    IntSliceSlice
  12. def dropRight(n: Int): IntSlice

    Lazily narrows Slice to exclude last N items.

    Lazily narrows Slice to exclude last N items.

    Definition Classes
    IntSliceSlice
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(obj: Any): Boolean
    Definition Classes
    IntSlice → AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    IntSlice → AnyRef → Any
  18. def head: Int

    Returns first value in the Slice.

    Returns first value in the Slice.

    Definition Classes
    IntSliceSlice
  19. def headOption: Option[Int]

    Returns first value in the Slice.

    Returns first value in the Slice.

    Definition Classes
    IntSliceSlice
  20. def init: IntSlice

    Returns the Slice without last value.

    Returns the Slice without last value.

    Definition Classes
    IntSliceSlice
  21. def isEmpty: Boolean

    Returns true if Slice has values, otherwise false.

    Returns true if Slice has values, otherwise false.

    Definition Classes
    IntSliceSlice
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def iterator: Iterator[Int]

    Returns iterator over Slice values.

    Returns iterator over Slice values.

    Definition Classes
    IntSliceSlice
  24. def last: Int

    Returns the last value in the Slice.

    Returns the last value in the Slice.

    Definition Classes
    IntSliceSlice
  25. def lastOption: Option[Int]

    Returns the last value in the Slice.

    Returns the last value in the Slice.

    Definition Classes
    IntSliceSlice
  26. val length: Int

    Sliced range length.

    Sliced range length.

    Definition Classes
    IntSliceSlice
  27. def map[B](f: (Int) ⇒ B): Slice[B]

    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
    IntSliceSlice
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. 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()
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. def reverseIterator(pred: (Int) ⇒ Boolean): Iterator[Int]

    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
    IntSliceSlice
  33. def reverseIterator: Iterator[Int]

    Returns iterator over Slice values in the reverse order.

    Returns iterator over Slice values in the reverse order.

    Definition Classes
    IntSliceSlice
  34. def sameElements(iterator1: Iterator[Int], iterator2: Iterator[Int]): Boolean

    Checks if two iterators would return same elements.

  35. def slice(from: Int, to: Int): IntSlice

    Lazily narrows Slice to provided range.

    Lazily narrows Slice to provided range.

    Definition Classes
    IntSliceSlice
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. def tail: IntSlice

    Returns the Slice without first value.

    Returns the Slice without first value.

    Definition Classes
    IntSliceSlice
  38. def take(n: Int): IntSlice

    Lazily narrows Slice to first N items.

    Lazily narrows Slice to first N items.

    Definition Classes
    IntSliceSlice
  39. def takeRight(n: Int): IntSlice

    Lazily narrows Slice to last N items.

    Lazily narrows Slice to last N items.

    Definition Classes
    IntSliceSlice
  40. def toArray(implicit tag: ClassTag[Int]): Array[Int]

    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
    IntSliceSlice
  41. def toBuffer: IntBuffer

    Returns a copy of the underlying array as a buffer.

  42. def toBuffer(implicit tag: ClassTag[Int]): Buffer[Int]

    Returns buffer with a copy of this Slice.

    Returns buffer with a copy of this Slice.

    Definition Classes
    IntSliceSlice
  43. def toList: List[Int]

    Returns new list of Slice values.

    Returns new list of Slice values.

    Definition Classes
    IntSliceSlice
  44. def toString(): String
    Definition Classes
    IntSlice → Function1 → AnyRef → Any
  45. def update(index: Int, value: Int): IntSlice

    Creates a copy of the slice with modified value.

  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Slice[Int]

Inherited from (Int) ⇒ Int

Inherited from AnyRef

Inherited from Any

Properties

Access

Transform

Aggregate

Read

Ungrouped