PagedSeq

object PagedSeq
The PagedSeq object defines a lazy implementations of
a random access sequence.
Provides utility methods that return instances of PagedSeq[Char].
fromIterator and fromIterable provide generalised instances of PagedSeq
Companion
class
class Object
trait Matchable
class Any

Value members

Methods

def fromIterator[T](source: Iterator[T])(evidence$3: ClassTag[T]): PagedSeq[T]
Constructs a paged sequence from an iterator
def fromIterable[T](source: Iterable[T])(evidence$4: ClassTag[T]): PagedSeq[T]
Constructs a paged sequence from an iterable
def fromStrings(source: Iterator[String]): PagedSeq[Char]
Constructs a paged character sequence from a string iterator
def fromStrings(source: Iterable[String]): PagedSeq[Char]
Constructs a paged character sequence from a string iterable
def fromLines(source: Iterator[String]): PagedSeq[Char]
Constructs a paged character sequence from a line iterator
Lines do not contain trailing \n characters; The method inserts
a line separator \n between any two lines in the sequence.
def fromLines(source: Iterable[String]): PagedSeq[Char]
Constructs a paged character sequence from a line iterable
Lines do not contain trailing \n characters; The method inserts
a line separator \n between any two lines in the sequence.
def fromReader(source: Reader): PagedSeq[Char]
Constructs a paged character sequence from an input reader
def fromFile(source: File): PagedSeq[Char]
Constructs a paged character sequence from an input file
def fromFile(source: String): PagedSeq[Char]
Constructs a paged character sequence from a file with given name
def fromSource(source: Source): PagedSeq[Char]
Constructs a paged character sequence from a scala.io.Source value

Fields

final val UndeterminedEnd: 2147483647