strawman
.
collections
.
CollectionStrawMan6
Iterator
Related Docs:
object Iterator
|
package CollectionStrawMan6
trait
Iterator
[
+A
]
extends
IterableOnce
[
A
]
A core Iterator class
Self Type
Iterator
[
A
]
Linear Supertypes
IterableOnce
[
A
],
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
Iterator
IterableOnce
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Abstract Value Members
abstract
def
hasNext
:
Boolean
abstract
def
next
()
:
A
Concrete Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
def
++
[
B >:
A
]
(
xs:
IterableOnce
[
B
]
)
:
Iterator
[
B
]
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
drop
(
n:
Int
)
:
Iterator
[
A
]
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
filter
(
p: (
A
) ⇒
Boolean
)
:
Iterator
[
A
]
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
def
flatMap
[
B
]
(
f: (
A
) ⇒
IterableOnce
[
B
]
)
:
Iterator
[
B
]
def
foldLeft
[
B
]
(
z:
B
)
(
op: (
B
,
A
) ⇒
B
)
:
B
def
foldRight
[
B
]
(
z:
B
)
(
op: (
A
,
B
) ⇒
B
)
:
B
def
foreach
(
f: (
A
) ⇒
Unit
)
:
Unit
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
indexWhere
(
p: (
A
) ⇒
Boolean
)
:
Int
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
iterator
:
Iterator
[
A
]
Definition Classes
Iterator
→
IterableOnce
def
length
:
Int
def
map
[
B
]
(
f: (
A
) ⇒
B
)
:
Iterator
[
B
]
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
take
(
n:
Int
)
:
Iterator
[
A
]
def
toString
()
:
String
Definition Classes
AnyRef → Any
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
zip
[
B
]
(
that:
IterableOnce
[
B
]
)
:
Iterator
[(
A
,
B
)]
Inherited from
IterableOnce
[
A
]
Inherited from
AnyRef
Inherited from
Any
Ungrouped
A core Iterator class