|
Scala 2
|
object
Iterator
extends
java.lang.Object with
ScalaObjectIterator
object provides various functions for
creating specialized iterators.Constructor Summary | |
def
this
|
Def Summary | |
def
empty
[ a ]
: <refinement>
|
|
def
from
( lo : scala.Int )
: Iterator
Create an iterator with elements en+1 = en + 1
where e0 = lo .
|
|
def
from
( lo : scala.Int , step : Function1 )
: Iterator
Create an iterator with elements en+1 = step(en)
where e0 = lo .
|
|
def
from
( lo : scala.Int , step : scala.Int )
: Iterator
Create an iterator with elements en+1 = en + step
where e0 = lo .
|
|
def
fromArray
[ a ]
( xs : Array )
: Iterator
|
|
def
fromArray
[ a ]
( xs : Array , start : scala.Int , length : scala.Int )
: Iterator
|
|
def
fromCaseClass
( n : CaseClass )
: Iterator
|
|
def
fromString
( str : java.lang.String )
: Iterator
|
|
def
fromValues
[ a ]
( xs : scala.<repeated> )
: Iterator
|
|
def
range
( lo : scala.Int , end : scala.Int )
: Iterator
Create an iterator with elements en+1 = en + 1
where e0 = lo
and ei < end .
|
|
def
range
( lo : scala.Int , end : scala.Int , step : Function1 )
: Iterator
Create an iterator with elements en+1 = step(en)
where e0 = lo
and ei < end .
|
|
def
range
( lo : scala.Int , end : scala.Int , step : scala.Int )
: Iterator
Create an iterator with elements en+1 = en + step
where e0 = lo
and ei < end .
|
|
def
single
[ a ]
( x : a )
: <refinement>
|
Constructor Detail |
def
this
Def Detail |
def
empty
[ a ] : <refinement>
def
from
( lo : scala.Int ) : Iterator
en+1 = en + 1
where e0 = lo
.lo
.def
from
( lo : scala.Int , step : Function1 ) : Iterator
en+1 = step(en)
where e0 = lo
.lo
.def
from
( lo : scala.Int , step : scala.Int ) : Iterator
en+1 = en + step
where e0 = lo
.lo
.def
fromArray
[ a ]( xs : Array ) : Iterator
def
fromArray
[ a ]( xs : Array , start : scala.Int , length : scala.Int ) : Iterator
def
fromCaseClass
( n : CaseClass ) : Iterator
def
fromString
( str : java.lang.String ) : Iterator
def
fromValues
[ a ]( xs : scala.<repeated> ) : Iterator
def
range
( lo : scala.Int , end : scala.Int ) : Iterator
en+1 = en + 1
where e0 = lo
and ei < end
.def
range
( lo : scala.Int , end : scala.Int , step : Function1 ) : Iterator
en+1 = step(en)
where e0 = lo
and ei < end
.def
range
( lo : scala.Int , end : scala.Int , step : scala.Int ) : Iterator
en+1 = en + step
where e0 = lo
and ei < end
.def
single
[ a ]( x : a ) : <refinement>