Packages

c

ostrat

LongsBuff

final class LongsBuff extends AnyVal with ArrayLike[Long]

Linear Supertypes
ArrayLike[Long], ArrayLikeBase[Long @scala.annotation.unchecked.uncheckedVariance], AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LongsBuff
  2. ArrayLike
  3. ArrayLikeBase
  4. AnyVal
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new LongsBuff(unsafeBuff: ArrayBuffer[Long])

Type Members

  1. abstract type ThisT <: ArrayLike[Long]
    Definition Classes
    ArrayLike

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. def apply(index: Int): Long
    Definition Classes
    LongsBuffArrayLike
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def collect[B, BB <: ArrBase[B]](pf: PartialFunction[Long, B])(implicit ev: ArrBuild[B, BB]): BB

    Collects values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.

    Collects values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.

    Definition Classes
    ArrayLike
  7. def collectList[B](pf: PartialFunction[Long, B]): List[B]

    Collects a List values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.

    Collects a List values of B by applying partial function to only those elements of A, for which the PartialFunction is defined.

    Definition Classes
    ArrayLike
  8. def contains[A1 >: Long](elem: A1): Boolean
    Definition Classes
    ArrayLike
  9. def eMap[B, BB <: ArrBase[B]](f: (Long) => EMon[B])(implicit ev: ArrBuild[B, BB]): EMon[BB]
    Definition Classes
    ArrayLike
  10. def eMapList[B](f: (Long) => EMon[B]): EMon[List[B]]
    Definition Classes
    ArrayLike
  11. def empty: Boolean
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  12. def existsCount(f: (Long) => Boolean): Int

    Counts the number of elements that fulfil the condition A => Boolean

    Counts the number of elements that fulfil the condition A => Boolean

    Definition Classes
    ArrayLike
  13. def fHeadElse[B](noHead: => B)(ifHead: (Long) => B): B
    Definition Classes
    ArrayLike
  14. def fMax[B](f: (Long) => B)(implicit cmp: Ordering[B]): B
    Definition Classes
    ArrayLike
  15. def fMin[B](f: (Long) => B)(implicit cmp: Ordering[B]): B
    Definition Classes
    ArrayLike
  16. def filter[AA <: ArrBase[Long]](f: (Long) => Boolean)(implicit ev: ArrBuild[Long, AA]): AA
    Definition Classes
    ArrayLike
  17. def filterNot[AA <: ArrBase[Long]](f: (Long) => Boolean)(implicit ev: ArrBuild[Long, AA]): AA
    Definition Classes
    ArrayLike
  18. def filterToList(f: (Long) => Boolean): List[Long]
    Definition Classes
    ArrayLike
  19. def flatMap[BB <: ArrBase[_]](f: (Long) => BB)(implicit ev: ArrFlatBuild[BB]): BB

    Specialised flatMap to an immutable Arr.

    Specialised flatMap to an immutable Arr.

    Definition Classes
    ArrayLike
  20. def foldHeadTail[B](initial: B)(fHead: (B, Long) => B)(fTail: (B, Long) => B): B
    Definition Classes
    ArrayLike
  21. def foldLeft[B](initial: B)(f: (B, Long) => B): B
    Definition Classes
    ArrayLike
  22. def foldTailLeft[B](initial: B)(f: (B, Long) => B): B
    Definition Classes
    ArrayLike
  23. def forAll(p: (Long) => Boolean): Boolean
    Definition Classes
    ArrayLike
  24. def foreach[U](f: (Long) => U): Unit

    Performs the effectful function on each member of the collection.

    Performs the effectful function on each member of the collection.

    Definition Classes
    ArrayLikeArrayLikeBase
  25. def foreachInit[U](f: (Long) => U): Unit
    Definition Classes
    ArrayLike
  26. def foreachReverse[U](f: (Long) => U): Unit

    Consider changing this name, as might not be appropriate to all sub classes.

    Consider changing this name, as might not be appropriate to all sub classes.

    Definition Classes
    ArrayLike
  27. def foreachTail[U](f: (Long) => U): Unit
    Definition Classes
    ArrayLike
  28. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  29. def head: Long
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  30. def headToStringElse(ifEmptyString: String): String
    Definition Classes
    ArrayLike
  31. def iFlatMap[BB <: ArrBase[_]](iInit: Int = 0)(f: (Long, Int) => BB)(implicit build: ArrFlatBuild[BB]): BB

    Specialised flatMap with index to an immutable Arr.

    Specialised flatMap with index to an immutable Arr.

    Definition Classes
    ArrayLike
  32. def iFlatMap[BB <: ArrBase[_]](f: (Long, Int) => BB)(implicit build: ArrFlatBuild[BB]): BB

    Specialised flatMap with index to an immutable Arr.

    Specialised flatMap with index to an immutable Arr.

    Definition Classes
    ArrayLike
  33. def iForAll(p: (Long, Int) => Boolean): Boolean
    Definition Classes
    ArrayLike
  34. def iForeach[U](f: (Long, Int) => U, startIndex: Int = 0): Unit

    foreach with index.

    foreach with index. The startIndex parameter is placed 2nd to allow it to have a default value of zero.

    Definition Classes
    ArrayLike
  35. def iForeachReverse[U](f: (Long, Int) => U): Unit
    Definition Classes
    ArrayLike
  36. def iMap[B, BB <: ArrBase[B]](f: (Long, Int) => B)(implicit ev: ArrBuild[B, BB]): BB

    Specialised map with index to an immutable ArrBase of B.

    Specialised map with index to an immutable ArrBase of B. This method should be overridden in sub classes.

    Definition Classes
    ArrayLike
  37. def ifEmpty[B](vEmpty: => B, vNonEmpty: => B): B
    Definition Classes
    ArrayLike
  38. def indexOf(elem: Long): Int
    Definition Classes
    ArrayLike
  39. def indexWhere(f: (Long) => Boolean): Int

    Return the index of the first element where predicate is true, or -1 if predicate not true forall.

    Return the index of the first element where predicate is true, or -1 if predicate not true forall.

    Definition Classes
    ArrayLike
  40. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  41. def iterFlatMap[B, BB <: ArrBase[B]](f: (Long) => Iterable[B])(implicit ev: ArrBuild[B, BB]): BB

    FlatMaps over a function from A to any Iterable.

    FlatMaps over a function from A to any Iterable.

    Definition Classes
    ArrayLike
  42. def last: Long
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  43. def lenStr: String

    Just a handy short cut to give the length of this collection as a string.

    Just a handy short cut to give the length of this collection as a string.

    Definition Classes
    ArrayLikeBase
  44. def length: Int

    The number of elements in the collection.

    The number of elements in the collection. These collections use underlying mutable Arrays and ArrayBuffers. The length of the underlying Array maybe longer by a multiple of this number.

    Definition Classes
    LongsBuffArrayLikeBase
  45. def map[B, BB <: ArrBase[B]](f: (Long) => B)(implicit ev: ArrBuild[B, BB]): BB

    Specialised map to an immutable ArrBase of B.

    Specialised map to an immutable ArrBase of B.

    Definition Classes
    ArrayLike
  46. def map2To1[B, BB <: ArrBase[B]](f: (Long, Long) => B)(implicit ev: ArrBuild[B, BB]): BB

    map 2 elements of A to 1 element of B.

    map 2 elements of A to 1 element of B. Ignores the last element on a collection of odd numbered length.

    Definition Classes
    ArrayLike
  47. def mapCollectGoods[B, BB <: ArrBase[B]](f: (Long) => EMon[B])(implicit ev: ArrBuild[B, BB]): BB

    maps from A to EMon[B], collects the good values.

    maps from A to EMon[B], collects the good values.

    Definition Classes
    ArrayLike
  48. def mapList[B <: AnyRef](f: (Long) => B): List[B]

    maps ValueProduct collection to List

    maps ValueProduct collection to List

    Definition Classes
    ArrayLike
  49. def mapWithAcc[B, BB <: ArrBase[B], C](initC: C)(f: (Long, C) => (B, C))(implicit ev: ArrBuild[B, BB]): BB
    Definition Classes
    ArrayLike
  50. def max[B >: Long](implicit ord: Ordering[B]): Long
    Definition Classes
    ArrayLike
  51. def min[B >: Long](implicit ord: Ordering[B]): Long
    Definition Classes
    ArrayLike
  52. def mkString(seperator: String): String

    Not sure about this method.

    Not sure about this method.

    Definition Classes
    ArrayLike
  53. def nonEmpty: Boolean
    Definition Classes
    ArrayLike
    Annotations
    @inline()
  54. def returnThis: ThisT
    Definition Classes
    ArrayLike
  55. def sumBy(f: (Long) => Int): Int
    Definition Classes
    ArrayLike
  56. def toList: List[Long]
    Definition Classes
    ArrayLike
  57. def toString(): String
    Definition Classes
    Any
  58. def toStrsCommaFold(fToStr: (Long) => String = _.toString): String
    Definition Classes
    ArrayLike
  59. def toStrsCommaNoSpaceFold(fToStr: (Long) => String = _.toString): String
    Definition Classes
    ArrayLike
  60. def toStrsCommaParenth(fToStr: (Long) => String = _.toString): String
    Definition Classes
    ArrayLike
  61. def toStrsFold(seperator: String = "", f: (Long) => String = _.toString): String
    Definition Classes
    ArrayLike
  62. def toStrsSemiFold(fToStr: (Long) => String = _.toString): String
    Definition Classes
    ArrayLike
  63. def toStrsSemiParenth(fToStr: (Long) => String = _.toString): String
    Definition Classes
    ArrayLike
  64. val unsafeBuff: ArrayBuffer[Long]

Inherited from ArrayLike[Long]

Inherited from ArrayLikeBase[Long @scala.annotation.unchecked.uncheckedVariance]

Inherited from AnyVal

Inherited from Any

Ungrouped