Trait/Object

xerial.larray

LIterator

Related Docs: object LIterator | package larray

Permalink

trait LIterator[+A] extends AnyRef

Iterator for LArray. It is a extension of scala.collection.Iterable and most of the code is derived from its implementation except that the index type is Long instead of Int.

Self Type
LIterator[A]
Source
LIterator.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LIterator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def hasNext: Boolean

    Permalink
  2. abstract def next(): A

    Permalink

Concrete 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 addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def buffered: BufferedLIterator[A]

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def collect[B](pf: PartialFunction[A, B]): LIterator[B]

    Permalink
  9. def contains(elem: Any): Boolean

    Permalink
  10. def drop(n: Long): LIterator[A]

    Permalink

    Advances this iterator past the first n elements, or the length of the iterator, whichever is smaller.

    Advances this iterator past the first n elements, or the length of the iterator, whichever is smaller.

    n

    the number of elements to drop

    returns

    an iterator which produces all values of the current iterator, except it omits the first n values.

  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def exists(p: (A) ⇒ Boolean): Boolean

    Permalink
  14. def filter(pred: (A) ⇒ Boolean): LIterator[A]

    Permalink
  15. def filterNot(p: (A) ⇒ Boolean): LIterator[A]

    Permalink
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def find(p: (A) ⇒ Boolean): Option[A]

    Permalink
  18. def flatMap[B](f: (A) ⇒ LIterator[B]): LIterator[B]

    Permalink
  19. def forall(pred: (A) ⇒ Boolean): Boolean

    Permalink
  20. def foreach[U](f: (A) ⇒ U): Unit

    Permalink
  21. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def indexOf[B >: A](elem: B): Long

    Permalink

    Returns the index of the first occurrence of the specified object in this iterable object.

    Returns the index of the first occurrence of the specified object in this iterable object.

    elem

    element to search for.

    returns

    the index of the first occurrence of elem in the values produced by this iterator, or -1 if such an element does not exist until the end of the iterator is reached.

  24. def indexWhere(p: (A) ⇒ Boolean): Long

    Permalink

    Returns the index of the first produced value satisfying a predicate, or -1.

    Returns the index of the first produced value satisfying a predicate, or -1.

    p

    the predicate to test values

    returns

    the index of the first produced value satisfying p, or -1 if such an element does not exist until the end of the iterator is reached.

  25. def isEmpty: Boolean

    Permalink

    Tests whether this iterator is empty.

    Tests whether this iterator is empty.

    returns

    true if hasNext is false, false otherwise.

  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. def map[B](f: (A) ⇒ B): LIterator[B]

    Permalink
  28. def mkString: String

    Permalink
  29. def mkString(sep: String): String

    Permalink
  30. def mkString(start: String, sep: String, end: String): String

    Permalink
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  34. def partition(p: (A) ⇒ Boolean): (LIterator[A], LIterator[A])

    Permalink

    Partitions this iterator in two iterators according to a predicate.

    Partitions this iterator in two iterators according to a predicate.

    p

    the predicate on which to partition

    returns

    a pair of iterators: the iterator that satisfies the predicate p and the iterator that does not. The relative order of the elements in the resulting iterators is the same as in the original iterator.

  35. def reduceLeft[B >: A](op: (B, A) ⇒ B): B

    Permalink
  36. def sameElements(that: LIterator[_]): Boolean

    Permalink
  37. def scanLeft[B](z: B)(op: (B, A) ⇒ B): LIterator[B]

    Permalink
  38. def size: Long

    Permalink
  39. def slice(from: Long, until: Long): LIterator[A]

    Permalink
  40. def span(p: (A) ⇒ Boolean): (LIterator[A], LIterator[A])

    Permalink

    Splits this Iterator into a prefix/suffix pair according to a predicate.

    Splits this Iterator into a prefix/suffix pair according to a predicate.

    p

    the test predicate

    returns

    a pair of Iterators consisting of the longest prefix of this whose elements all satisfy p, and the rest of the Iterator.

  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  42. def take(n: Long): LIterator[A]

    Permalink

    Selects first n values of this iterator.

    Selects first n values of this iterator.

    n

    the number of values to take

    returns

    an iterator producing only of the first n values of this iterator, or else the whole iterator, if it produces fewer than n values.

  43. def takeWhile(p: (A) ⇒ Boolean): LIterator[A]

    Permalink

    Takes longest prefix of values produced by this iterator that satisfy a predicate.

    Takes longest prefix of values produced by this iterator that satisfy a predicate.

    p

    The predicate used to test elements.

    returns

    An iterator returning the values produced by this iterator, until this iterator produces a value that does not satisfy the predicate p.

  44. def toArray[A1 >: A](implicit arg0: ClassTag[A1]): Array[A1]

    Permalink
  45. def toLArray[B >: A](implicit arg0: ClassTag[B]): LArray[B]

    Permalink
  46. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  47. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  50. def withFilter(p: (A) ⇒ Boolean): LIterator[A]

    Permalink
  51. def zip[B](that: LIterator[B]): LIterator[(A, B)]

    Permalink
  52. def zipAll[B, A1 >: A, B1 >: B](that: LIterator[B], thisElem: A1, thatElem: B1): LIterator[(A1, B1)]

    Permalink
  53. def zipWithIndex: LIterator[(A, Long)]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped