scalax.io

LongTraversableLike

trait LongTraversableLike [+A, +Repr <: LongTraversableLike[A, Repr]] extends TraversableLike[A, Repr]

A traversable for use on very large datasets which cannot be indexed with Ints but instead require Longs for indexing.

This trait adds methods for accessing the extra portions of the dataset.

A traversable for use on very large datasets which cannot be indexed with Ints but instead require Longs for indexing.

This trait adds methods for accessing the extra portions of the dataset.

linear super types: TraversableLike[A, Repr], Parallelizable[A, ParIterable[A]], TraversableOnce[A], FilterMonadic[A, Repr], HasNewBuilder[A, Repr], AnyRef, Any
known subclasses: LongTraversable, LongTraversableViewLike, LongTraversableView, TakenWhile, Filtered, Appended, FlatMapped, Mapped, LSliced, Forced, EmptyView, Transformed, DroppedWhile, LineTraversable
self type: LongTraversableLike[A, Repr]
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. LongTraversableLike
  2. TraversableLike
  3. Parallelizable
  4. TraversableOnce
  5. FilterMonadic
  6. HasNewBuilder
  7. AnyRef
  8. Any
Visibility
  1. Public
  2. All
Impl.
  1. Concrete
  2. Abstract

Type Members

  1. type Self = Repr

    attributes: protected
    definition classes: TraversableLike

Value Members

  1. def != ( arg0 : AnyRef ) : Boolean

    attributes: final
    definition classes: AnyRef
  2. def != ( arg0 : Any ) : Boolean

    o != arg0 is the same as !(o == (arg0)).

    o != arg0 is the same as !(o == (arg0)).

    arg0

    the object to compare against this object for dis-equality.

    returns

    false if the receiver object is equivalent to the argument; true otherwise.

    attributes: final
    definition classes: Any
  3. def ## () : Int

    attributes: final
    definition classes: AnyRef → Any
  4. def $asInstanceOf [T0] () : T0

    attributes: final
    definition classes: AnyRef
  5. def $isInstanceOf [T0] () : Boolean

    attributes: final
    definition classes: AnyRef
  6. def ++ [B >: A, That] ( that : TraversableOnce[B] )(implicit bf : CanBuildFrom[Repr, B, That] ) : That

    definition classes: TraversableLike
  7. def ++: [B >: A, That] ( that : Traversable[B] )(implicit bf : CanBuildFrom[Repr, B, That] ) : That

    definition classes: TraversableLike
  8. def ++: [B >: A, That] ( that : TraversableOnce[B] )(implicit bf : CanBuildFrom[Repr, B, That] ) : That

    definition classes: TraversableLike
  9. def /: [B] ( z : B )( op : (B, A) ⇒ B ) : B

    definition classes: TraversableOnce
  10. def :\ [B] ( z : B )( op : (A, B) ⇒ B ) : B

    definition classes: TraversableOnce
  11. def == ( arg0 : AnyRef ) : Boolean

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

    o == arg0 is the same as if (o eq null) arg0 eq null else o.equals(arg0).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    attributes: final
    definition classes: AnyRef
  12. def == ( arg0 : Any ) : Boolean

    o == arg0 is the same as o.equals(arg0).

    o == arg0 is the same as o.equals(arg0).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    attributes: final
    definition classes: Any
  13. def addString ( b : StringBuilder ) : StringBuilder

    definition classes: TraversableOnce
  14. def addString ( b : StringBuilder , sep : String ) : StringBuilder

    definition classes: TraversableOnce
  15. def addString ( b : StringBuilder , start : String , sep : String , end : String ) : StringBuilder

    definition classes: TraversableOnce
  16. def asInstanceOf [T0] : T0

    This method is used to cast the receiver object to be of type T0.

    This method is used to cast the receiver object to be of type T0.

    Note that the success of a cast at runtime is modulo Scala's erasure semantics. Therefore the expression 1.asInstanceOf[String] will throw a ClassCastException at runtime, while the expression List(1).asInstanceOf[List[String]] will not. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested typed.

    returns

    the receiver object.

    attributes: final
    definition classes: Any
  17. def clone () : AnyRef

    This method creates and returns a copy of the receiver object.

    This method creates and returns a copy of the receiver object.

    The default implementation of the clone method is platform dependent.

    returns

    a copy of the receiver object.

    attributes: protected[lang]
    definition classes: AnyRef
    annotations: @throws()
  18. def collect [B, That] ( pf : PartialFunction[A, B] )(implicit bf : CanBuildFrom[Repr, B, That] ) : That

    definition classes: TraversableLike
  19. def collectFirst [B] ( pf : PartialFunction[A, B] ) : Option[B]

    definition classes: TraversableOnce
  20. def copyToArray [B >: A] ( xs : Array[B] , start : Int , len : Int ) : Unit

    definition classes: TraversableLike → TraversableOnce
  21. def copyToArray [B >: A] ( xs : Array[B] ) : Unit

    definition classes: TraversableOnce
  22. def copyToArray [B >: A] ( xs : Array[B] , start : Int ) : Unit

    definition classes: TraversableOnce
  23. def copyToBuffer [B >: A] ( dest : Buffer[B] ) : Unit

    definition classes: TraversableOnce
  24. def count ( p : (A) ⇒ Boolean ) : Int

    definition classes: TraversableOnce
  25. def drop ( n : Int ) : Repr

    definition classes: TraversableLike
  26. def dropWhile ( p : (A) ⇒ Boolean ) : Repr

    definition classes: TraversableLike
  27. def eq ( arg0 : AnyRef ) : Boolean

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

    This method is used to test whether the argument (arg0) is a reference to the receiver object (this).

    The eq method implements an [http://en.wikipedia.org/wiki/Equivalence_relation equivalence relation] on non-null instances of AnyRef: * It is reflexive: for any non-null instance x of type AnyRef, x.eq(x) returns true. * It is symmetric: for any non-null instances x and y of type AnyRef, x.eq(y) returns true if and only if y.eq(x) returns true. * It is transitive: for any non-null instances x, y, and z of type AnyRef if x.eq(y) returns true and y.eq(z) returns true, then x.eq(z) returns true.

    Additionally, the eq method has three other properties. * It is consistent: for any non-null instances x and y of type AnyRef, multiple invocations of x.eq(y) consistently returns true or consistently returns false. * For any non-null instance x of type AnyRef, x.eq(null) and null.eq(x) returns false. * null.eq(null) returns true.

    When overriding the equals or hashCode methods, it is important to ensure that their behavior is consistent with reference equality. Therefore, if two objects are references to each other (o1 eq o2), they should be equal to each other (o1 == o2) and they should hash to the same value (o1.hashCode == o2.hashCode).

    arg0

    the object to compare against this object for reference equality.

    returns

    true if the argument is a reference to the receiver object; false otherwise.

    attributes: final
    definition classes: AnyRef
  28. def equals ( arg0 : Any ) : Boolean

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

    This method is used to compare the receiver object (this) with the argument object (arg0) for equivalence.

    The default implementations of this method is an [http://en.wikipedia.org/wiki/Equivalence_relation equivalence relation]: * It is reflexive: for any instance x of type Any, x.equals(x) should return true. * It is symmetric: for any instances x and y of type Any, x.equals(y) should return true if and only if y.equals(x) returns true. * It is transitive: for any instances x, y, and z of type AnyRef if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.

    If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is often necessary to override hashCode to ensure that objects that are "equal" (o1.equals(o2) returns true) hash to the same scala.Int (o1.hashCode.equals(o2.hashCode)).

    arg0

    the object to compare against this object for equality.

    returns

    true if the receiver object is equivalent to the argument; false otherwise.

    definition classes: AnyRef → Any
  29. def exists ( p : (A) ⇒ Boolean ) : Boolean

    definition classes: TraversableLike → TraversableOnce
  30. def filter ( p : (A) ⇒ Boolean ) : Repr

    definition classes: TraversableLike
  31. def filterNot ( p : (A) ⇒ Boolean ) : Repr

    definition classes: TraversableLike
  32. def finalize () : Unit

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

    This method is called by the garbage collector on the receiver object when garbage collection determines that there are no more references to the object.

    The details of when and if the finalize method are invoked, as well as the interaction between finalize and non-local returns and exceptions, are all platform dependent.

    attributes: protected[lang]
    definition classes: AnyRef
    annotations: @throws()
  33. def find ( p : (A) ⇒ Boolean ) : Option[A]

    definition classes: TraversableLike → TraversableOnce
  34. def flatMap [B, That] ( f : (A) ⇒ TraversableOnce[B] )(implicit bf : CanBuildFrom[Repr, B, That] ) : That

    definition classes: TraversableLike → FilterMonadic
  35. def foldLeft [B] ( z : B )( op : (B, A) ⇒ B ) : B

    definition classes: TraversableOnce
  36. def foldRight [B] ( z : B )( op : (A, B) ⇒ B ) : B

    definition classes: TraversableOnce
  37. def forall ( p : (A) ⇒ Boolean ) : Boolean

    definition classes: TraversableLike → TraversableOnce
  38. def foreach [U] ( f : (A) ⇒ U ) : Unit

    attributes: abstract
    definition classes: TraversableLike → TraversableOnce → FilterMonadic
  39. def getClass () : java.lang.Class[_]

    Returns a representation that corresponds to the dynamic class of the receiver object.

    Returns a representation that corresponds to the dynamic class of the receiver object.

    The nature of the representation is platform dependent.

    returns

    a representation that corresponds to the dynamic class of the receiver object.

    attributes: final
    definition classes: AnyRef
  40. def groupBy [K] ( f : (A) ⇒ K ) : Map[K, Repr]

    definition classes: TraversableLike
  41. def hasDefiniteSize : Boolean

    definition classes: LongTraversableLike → TraversableLike → TraversableOnce
  42. def hashCode () : Int

    Returns a hash code value for the object.

    Returns a hash code value for the object.

    The default hashing algorithm is platform dependent.

    Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)) yet not be equal (o1.equals(o2) returns false). A degenerate implementation could always return 0. However, it is required that if two objects are equal (o1.equals(o2) returns true) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals method.

    returns

    the hash code value for the object.

    definition classes: AnyRef → Any
  43. def head : A

    definition classes: TraversableLike
  44. def headOption : Option[A]

    definition classes: TraversableLike
  45. def init : Repr

    definition classes: TraversableLike
  46. def inits : Iterator[Repr]

    definition classes: TraversableLike
  47. def isEmpty : Boolean

    definition classes: TraversableLike → TraversableOnce
  48. def isInstanceOf [T0] : Boolean

    This method is used to test whether the dynamic type of the receiver object is T0.

    This method is used to test whether the dynamic type of the receiver object is T0.

    Note that the test result of the test is modulo Scala's erasure semantics. Therefore the expression 1.isInstanceOf[String] will return false, while the expression List(1).isInstanceOf[List[String]] will return true. In the latter example, because the type argument is erased as part of compilation it is not possible to check whether the contents of the list are of the requested typed.

    returns

    true if the receiver object is an instance of erasure of type T0; false otherwise.

    attributes: final
    definition classes: Any
  49. def isTraversableAgain : Boolean

    attributes: final
    definition classes: TraversableLike → TraversableOnce
  50. def last : A

    definition classes: TraversableLike
  51. def lastOption : Option[A]

    definition classes: TraversableLike
  52. def lcount ( p : (A) ⇒ Boolean ) : Long

  53. def ldrop ( n : Long ) : Repr

    The long equivalent of Traversable.

    The long equivalent of Traversable.drop

  54. def limitFold [U] ( init : U )( op : (U, A) ⇒ FoldResult[U] ) : U

    A foldLeft operation that can be terminated without processing the entire collection.

    A foldLeft operation that can be terminated without processing the entire collection.

    Unlike a normal fold, the function passed to limitFold returns a FoldResult which both provides the value that is to be passed to the next stage of the fold as well as represents if the fold should continue or terminate.

    init

    the value to seed the operation with. IE the value that is passed as the accumulator for the first value of the fold operation

    op

    the operation that combines the current and previous versions. The input is the (acc,next) where acc is the result from the previous call and next is the next value in the collection to be processed. The return value of the op is Either Continue or End indicating if the process should continue to next element or terminate, returning the value contained in the result object

    returns

    the last value contained in the FoldResult which was returned by op

  55. def lsize : Long

    The long equivalent of Traversable.

    The long equivalent of Traversable.size

    NOT recommended for use since it might trigger a full traversal of the traversable

  56. def lslice ( from : Long , until : Long ) : Repr

    The long equivalent of Traversable.

    The long equivalent of Traversable.slice

  57. def lsplitAt ( n : Long ) : (Repr, Repr)

    The long equivalent of Traversable.

    The long equivalent of Traversable.splitAt

  58. def ltake ( n : Long ) : Repr

    The long equivalent of Traversable.

    The long equivalent of Traversable.take

  59. def lview ( from : Long , until : Long ) : LongTraversableView[A, Repr]

    The long equivalent of Traversable.

    The long equivalent of Traversable.view(from,to)

  60. def map [B, That] ( f : (A) ⇒ B )(implicit bf : CanBuildFrom[Repr, B, That] ) : That

    definition classes: TraversableLike → FilterMonadic
  61. def max [B >: A] (implicit cmp : Ordering[B] ) : A

    definition classes: TraversableOnce
  62. def maxBy [B] ( f : (A) ⇒ B )(implicit cmp : Ordering[B] ) : A

    definition classes: TraversableOnce
  63. def min [B >: A] (implicit cmp : Ordering[B] ) : A

    definition classes: TraversableOnce
  64. def minBy [B] ( f : (A) ⇒ B )(implicit cmp : Ordering[B] ) : A

    definition classes: TraversableOnce
  65. def mkString : String

    definition classes: TraversableOnce
  66. def mkString ( sep : String ) : String

    definition classes: TraversableOnce
  67. def mkString ( start : String , sep : String , end : String ) : String

    definition classes: TraversableOnce
  68. def ne ( arg0 : AnyRef ) : Boolean

    o.ne(arg0) is the same as !(o.eq(arg0)).

    o.ne(arg0) is the same as !(o.eq(arg0)).

    arg0

    the object to compare against this object for reference dis-equality.

    returns

    false if the argument is not a reference to the receiver object; true otherwise.

    attributes: final
    definition classes: AnyRef
  69. def newBuilder : Builder[A, Repr]

    attributes: protected[this] abstract
    definition classes: TraversableLike → HasNewBuilder
  70. def nonEmpty : Boolean

    definition classes: TraversableOnce
  71. def notify () : Unit

    Wakes up a single thread that is waiting on the receiver object's monitor.

    Wakes up a single thread that is waiting on the receiver object's monitor.

    attributes: final
    definition classes: AnyRef
  72. def notifyAll () : Unit

    Wakes up all threads that are waiting on the receiver object's monitor.

    Wakes up all threads that are waiting on the receiver object's monitor.

    attributes: final
    definition classes: AnyRef
  73. def par : ParIterable[A]

    definition classes: Parallelizable → Parallelizable
  74. def parCombiner : Combiner[A, ParIterable[A]]

    attributes: protected[this]
    definition classes: TraversableLike → Parallelizable
  75. def partition ( p : (A) ⇒ Boolean ) : (Repr, Repr)

    definition classes: TraversableLike
  76. def product [B >: A] (implicit num : Numeric[B] ) : B

    definition classes: TraversableOnce
  77. def reduceLeft [B >: A] ( op : (B, A) ⇒ B ) : B

    definition classes: TraversableOnce
  78. def reduceLeftOption [B >: A] ( op : (B, A) ⇒ B ) : Option[B]

    definition classes: TraversableOnce
  79. def reduceRight [B >: A] ( op : (A, B) ⇒ B ) : B

    definition classes: TraversableOnce
  80. def reduceRightOption [B >: A] ( op : (A, B) ⇒ B ) : Option[B]

    definition classes: TraversableOnce
  81. def repr : Repr

    definition classes: TraversableLike
  82. def reversed : List[A]

    attributes: protected[this]
    definition classes: TraversableOnce
  83. def scanLeft [B, That] ( z : B )( op : (B, A) ⇒ B )(implicit bf : CanBuildFrom[Repr, B, That] ) : That

    definition classes: TraversableLike
  84. def scanRight [B, That] ( z : B )( op : (A, B) ⇒ B )(implicit bf : CanBuildFrom[Repr, B, That] ) : That

    definition classes: TraversableLike
    annotations: @migration()
  85. def seq : TraversableOnce[A]

    definition classes: TraversableOnce
  86. def size : Int

    definition classes: TraversableOnce
  87. def slice ( from : Int , until : Int ) : Repr

    The long equivalent of count in Traversable.

    The long equivalent of count in Traversable.

    definition classes: LongTraversableLike → TraversableLike
  88. def span ( p : (A) ⇒ Boolean ) : (Repr, Repr)

    definition classes: TraversableLike
  89. def splitAt ( n : Int ) : (Repr, Repr)

    definition classes: TraversableLike
  90. def stringPrefix : String

    definition classes: TraversableLike
  91. def sum [B >: A] (implicit num : Numeric[B] ) : B

    definition classes: TraversableOnce
  92. def synchronized [T0] ( arg0 : ⇒ T0 ) : T0

    attributes: final
    definition classes: AnyRef
  93. def tail : Repr

    definition classes: TraversableLike
  94. def tails : Iterator[Repr]

    definition classes: TraversableLike
  95. def take ( n : Int ) : Repr

    definition classes: TraversableLike
  96. def takeWhile ( p : (A) ⇒ Boolean ) : Repr

    definition classes: TraversableLike
  97. def thisCollection : LongTraversable[A]

    attributes: protected[this]
    definition classes: LongTraversableLike → TraversableLike
  98. def toArray [B >: A] (implicit arg0 : ClassManifest[B] ) : Array[B]

    definition classes: LongTraversableLike → TraversableOnce
  99. def toBuffer [B >: A] : Buffer[B]

    definition classes: TraversableOnce
  100. def toCollection ( repr : Repr ) : LongTraversable[A]

    attributes: protected[this]
    definition classes: LongTraversableLike → TraversableLike
  101. def toIndexedSeq [B >: A] : IndexedSeq[B]

    definition classes: TraversableOnce
  102. def toIterable : Iterable[A]

    definition classes: TraversableOnce
  103. def toIterator : Iterator[A]

    definition classes: TraversableLike → TraversableOnce
  104. def toList : List[A]

    definition classes: TraversableOnce
  105. def toMap [T, U] (implicit ev : <:<[A, (T, U)] ) : Map[T, U]

    definition classes: TraversableOnce
  106. def toSeq : Seq[A]

    definition classes: TraversableOnce
  107. def toSet [B >: A] : Set[B]

    definition classes: TraversableOnce
  108. def toStream : Stream[A]

    definition classes: TraversableLike → TraversableOnce
  109. def toString () : String

    Returns a string representation of the object.

    Returns a string representation of the object.

    The default representation is platform dependent.

    returns

    a string representation of the object.

    definition classes: TraversableLike → AnyRef → Any
  110. def toTraversable : Traversable[A]

    definition classes: TraversableLike → TraversableOnce
  111. def view ( from : Int , until : Int ) : LongTraversableView[A, Repr]

    definition classes: LongTraversableLike → TraversableLike
  112. def view : LongTraversableView[A, Repr]

    definition classes: LongTraversableLike → TraversableLike
  113. def wait () : Unit

    attributes: final
    definition classes: AnyRef
    annotations: @throws()
  114. def wait ( arg0 : Long , arg1 : Int ) : Unit

    attributes: final
    definition classes: AnyRef
    annotations: @throws()
  115. def wait ( arg0 : Long ) : Unit

    attributes: final
    definition classes: AnyRef
    annotations: @throws()
  116. def withFilter ( p : (A) ⇒ Boolean ) : FilterMonadic[A, Repr]

    definition classes: TraversableLike → FilterMonadic

Inherited from TraversableLike[A, Repr]

Inherited from Parallelizable[A, ParIterable[A]]

Inherited from TraversableOnce[A]

Inherited from FilterMonadic[A, Repr]

Inherited from HasNewBuilder[A, Repr]

Inherited from AnyRef

Inherited from Any