Class

ap.util

CountIt

Related Doc: package util

Permalink

class CountIt extends Iterator[Int]

Simple iterator that enumerates the natural numbers, starting with 0

Linear Supertypes
Iterator[Int], TraversableOnce[Int], GenTraversableOnce[Int], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CountIt
  2. Iterator
  3. TraversableOnce
  4. GenTraversableOnce
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CountIt()

    Permalink

Type Members

  1. class GroupedIterator[B >: A] extends AbstractIterator[Seq[B]] with Iterator[Seq[B]]

    Permalink
    Definition Classes
    Iterator

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++[B >: Int](that: ⇒ GenTraversableOnce[B]): Iterator[B]

    Permalink
    Definition Classes
    Iterator
  4. def /:[B](z: B)(op: (B, Int) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  5. def :\[B](z: B)(op: (Int, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  6. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  7. def addString(b: StringBuilder): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  8. def addString(b: StringBuilder, sep: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  9. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  10. def aggregate[B](z: ⇒ B)(seqop: (B, Int) ⇒ B, combop: (B, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  11. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  12. def buffered: BufferedIterator[Int]

    Permalink
    Definition Classes
    Iterator
  13. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  14. def collect[B](pf: PartialFunction[Int, B]): Iterator[B]

    Permalink
    Definition Classes
    Iterator
    Annotations
    @migration
    Migration

    (Changed in version 2.8.0) collect has changed. The previous behavior can be reproduced with toSeq.

  15. def collectFirst[B](pf: PartialFunction[Int, B]): Option[B]

    Permalink
    Definition Classes
    TraversableOnce
  16. def contains(elem: Any): Boolean

    Permalink
    Definition Classes
    Iterator
  17. def copyToArray[B >: Int](xs: Array[B], start: Int, len: Int): Unit

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  18. def copyToArray[B >: Int](xs: Array[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  19. def copyToArray[B >: Int](xs: Array[B], start: Int): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  20. def copyToBuffer[B >: Int](dest: Buffer[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce
  21. def corresponds[B](that: GenTraversableOnce[B])(p: (Int, B) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    Iterator
  22. def count(p: (Int) ⇒ Boolean): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  23. def drop(n: Int): Iterator[Int]

    Permalink
    Definition Classes
    Iterator
  24. def dropWhile(p: (Int) ⇒ Boolean): Iterator[Int]

    Permalink
    Definition Classes
    Iterator
  25. def duplicate: (Iterator[Int], Iterator[Int])

    Permalink
    Definition Classes
    Iterator
  26. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  28. def exists(p: (Int) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  29. def filter(p: (Int) ⇒ Boolean): Iterator[Int]

    Permalink
    Definition Classes
    Iterator
  30. def filterNot(p: (Int) ⇒ Boolean): Iterator[Int]

    Permalink
    Definition Classes
    Iterator
  31. def find(p: (Int) ⇒ Boolean): Option[Int]

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  32. def flatMap[B](f: (Int) ⇒ GenTraversableOnce[B]): Iterator[B]

    Permalink
    Definition Classes
    Iterator
  33. def fold[A1 >: Int](z: A1)(op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  34. def foldLeft[B](z: B)(op: (B, Int) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  35. def foldRight[B](z: B)(op: (Int, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  36. def forall(p: (Int) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  37. def foreach[U](f: (Int) ⇒ U): Unit

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  38. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  39. def grouped[B >: Int](size: Int): GroupedIterator[B]

    Permalink
    Definition Classes
    Iterator
  40. def hasDefiniteSize: Boolean

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  41. def hasNext: Boolean

    Permalink
    Definition Classes
    CountIt → Iterator
  42. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  43. def indexOf[B >: Int](elem: B): Int

    Permalink
    Definition Classes
    Iterator
  44. def indexWhere(p: (Int) ⇒ Boolean): Int

    Permalink
    Definition Classes
    Iterator
  45. def isEmpty: Boolean

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  46. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  47. def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    Iterator → GenTraversableOnce
  48. def length: Int

    Permalink
    Definition Classes
    Iterator
  49. def map[B](f: (Int) ⇒ B): Iterator[B]

    Permalink
    Definition Classes
    Iterator
  50. def max[B >: Int](implicit cmp: Ordering[B]): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  51. def maxBy[B](f: (Int) ⇒ B)(implicit cmp: Ordering[B]): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  52. def min[B >: Int](implicit cmp: Ordering[B]): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  53. def minBy[B](f: (Int) ⇒ B)(implicit cmp: Ordering[B]): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  54. def mkString: String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  55. def mkString(sep: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  56. def mkString(start: String, sep: String, end: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  57. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  58. def next(): Int

    Permalink
    Definition Classes
    CountIt → Iterator
  59. def nonEmpty: Boolean

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  60. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  61. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  62. def padTo[A1 >: Int](len: Int, elem: A1): Iterator[A1]

    Permalink
    Definition Classes
    Iterator
  63. def partition(p: (Int) ⇒ Boolean): (Iterator[Int], Iterator[Int])

    Permalink
    Definition Classes
    Iterator
  64. def patch[B >: Int](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]

    Permalink
    Definition Classes
    Iterator
  65. def product[B >: Int](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  66. def reduce[A1 >: Int](op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  67. def reduceLeft[B >: Int](op: (B, Int) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce
  68. def reduceLeftOption[B >: Int](op: (B, Int) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  69. def reduceOption[A1 >: Int](op: (A1, A1) ⇒ A1): Option[A1]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  70. def reduceRight[B >: Int](op: (Int, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  71. def reduceRightOption[B >: Int](op: (Int, B) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  72. def reversed: List[Int]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  73. def sameElements(that: Iterator[_]): Boolean

    Permalink
    Definition Classes
    Iterator
  74. def scanLeft[B](z: B)(op: (B, Int) ⇒ B): Iterator[B]

    Permalink
    Definition Classes
    Iterator
  75. def scanRight[B](z: B)(op: (Int, B) ⇒ B): Iterator[B]

    Permalink
    Definition Classes
    Iterator
  76. def seq: Iterator[Int]

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  77. def size: Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  78. def slice(from: Int, until: Int): Iterator[Int]

    Permalink
    Definition Classes
    Iterator
  79. def sliding[B >: Int](size: Int, step: Int): GroupedIterator[B]

    Permalink
    Definition Classes
    Iterator
  80. def span(p: (Int) ⇒ Boolean): (Iterator[Int], Iterator[Int])

    Permalink
    Definition Classes
    Iterator
  81. def sum[B >: Int](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  82. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  83. def take(n: Int): Iterator[Int]

    Permalink
    Definition Classes
    Iterator
  84. def takeWhile(p: (Int) ⇒ Boolean): Iterator[Int]

    Permalink
    Definition Classes
    Iterator
  85. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Int, Col[Int]]): Col[Int]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  86. def toArray[B >: Int](implicit arg0: ClassTag[B]): Array[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  87. def toBuffer[B >: Int]: Buffer[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  88. def toIndexedSeq: IndexedSeq[Int]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  89. def toIterable: Iterable[Int]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  90. def toIterator: Iterator[Int]

    Permalink
    Definition Classes
    Iterator → GenTraversableOnce
  91. def toList: List[Int]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  92. def toMap[T, U](implicit ev: <:<[Int, (T, U)]): Map[T, U]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  93. def toSeq: Seq[Int]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  94. def toSet[B >: Int]: Set[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  95. def toStream: Stream[Int]

    Permalink
    Definition Classes
    Iterator → GenTraversableOnce
  96. def toString(): String

    Permalink
    Definition Classes
    Iterator → AnyRef → Any
  97. def toTraversable: Traversable[Int]

    Permalink
    Definition Classes
    Iterator → TraversableOnce → GenTraversableOnce
  98. def toVector: Vector[Int]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  99. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  101. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  102. def withFilter(p: (Int) ⇒ Boolean): Iterator[Int]

    Permalink
    Definition Classes
    Iterator
  103. def zip[B](that: Iterator[B]): Iterator[(Int, B)]

    Permalink
    Definition Classes
    Iterator
  104. def zipAll[B, A1 >: Int, B1 >: B](that: Iterator[B], thisElem: A1, thatElem: B1): Iterator[(A1, B1)]

    Permalink
    Definition Classes
    Iterator
  105. def zipWithIndex: Iterator[(Int, Int)]

    Permalink
    Definition Classes
    Iterator

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Iterator[Int]

Inherited from TraversableOnce[Int]

Inherited from GenTraversableOnce[Int]

Inherited from AnyRef

Inherited from Any

Ungrouped