Class/Object

com.github.arturopala.bufferandslice

IntSlice

Related Docs: object IntSlice | package bufferandslice

Permalink

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

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

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

    Permalink

    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

    Permalink
    Definition Classes
    Any
  7. def asIterable: Iterable[Int]

    Permalink

    Returns new iterable of Slice values.

    Returns new iterable of Slice values.

    Definition Classes
    IntSliceSlice
  8. def clone(): AnyRef

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

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  10. def count(pred: (Int) ⇒ Boolean): Int

    Permalink

    Counts values fulfilling the predicate.

    Counts values fulfilling the predicate.

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

    Permalink

    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

    Permalink

    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

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

    Permalink
    Definition Classes
    IntSlice → AnyRef → Any
  15. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    IntSlice → AnyRef → Any
  18. def head: Int

    Permalink

    Returns first value in the Slice.

    Returns first value in the Slice.

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

    Permalink

    Returns first value in the Slice.

    Returns first value in the Slice.

    Definition Classes
    IntSliceSlice
  20. def init: IntSlice

    Permalink

    Returns the Slice without last value.

    Returns the Slice without last value.

    Definition Classes
    IntSliceSlice
  21. def isEmpty: Boolean

    Permalink

    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

    Permalink
    Definition Classes
    Any
  23. def iterator: Iterator[Int]

    Permalink

    Returns iterator over Slice values.

    Returns iterator over Slice values.

    Definition Classes
    IntSliceSlice
  24. def last: Int

    Permalink

    Returns the last value in the Slice.

    Returns the last value in the Slice.

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

    Permalink

    Returns the last value in the Slice.

    Returns the last value in the Slice.

    Definition Classes
    IntSliceSlice
  26. val length: Int

    Permalink

    Sliced range length.

    Sliced range length.

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

    Permalink

    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

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

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

    Permalink
    Definition Classes
    AnyRef
  32. def reverseIterator(pred: (Int) ⇒ Boolean): Iterator[Int]

    Permalink

    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]

    Permalink

    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

    Permalink

    Checks if two iterators would return same elements.

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

    Permalink

    Lazily narrows Slice to provided range.

    Lazily narrows Slice to provided range.

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

    Permalink
    Definition Classes
    AnyRef
  37. def tail: IntSlice

    Permalink

    Returns the Slice without first value.

    Returns the Slice without first value.

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

    Permalink

    Lazily narrows Slice to first N items.

    Lazily narrows Slice to first N items.

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

    Permalink

    Lazily narrows Slice to last N items.

    Lazily narrows Slice to last N items.

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

    Permalink

    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

    Permalink

    Returns a copy of the underlying array as a buffer.

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

    Permalink

    Returns buffer with a copy of this Slice.

    Returns buffer with a copy of this Slice.

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

    Permalink

    Returns new list of Slice values.

    Returns new list of Slice values.

    Definition Classes
    IntSliceSlice
  44. def toString(): String

    Permalink
    Definition Classes
    IntSlice → Function1 → AnyRef → Any
  45. def update(index: Int, value: Int): IntSlice

    Permalink

    Creates a copy of the slice with modified value.

  46. final def wait(): Unit

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

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

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

Inherited from Slice[Int]

Inherited from (Int) ⇒ Int

Inherited from AnyRef

Inherited from Any

Properties

Access

Transform

Aggregate

Read

Ungrouped