# CountIt

### Related Doc: package util

#### 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

### Type Members

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

Definition Classes
Iterator

### Value Members

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Definition Classes
Iterator
40. #### def hasDefiniteSize: Boolean

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

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

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

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

Definition Classes
Iterator
45. #### def isEmpty: Boolean

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

Definition Classes
Any
47. #### def isTraversableAgain: Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Definition Classes
Iterator

### Deprecated Value Members

1. #### def finalize(): Unit

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