PagedSeq

scala.util.parsing.input.PagedSeq
See thePagedSeq companion class
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

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
PagedSeq.type

Members list

Value members

Concrete methods

def fromFile(source: File): PagedSeq[Char]

Constructs a paged character sequence from an input file

Constructs a paged character sequence from an input file

Attributes

def fromFile(source: String): PagedSeq[Char]

Constructs a paged character sequence from a file with given name

Constructs a paged character sequence from a file with given name

Attributes

def fromIterable[T : ClassTag](source: Iterable[T]): PagedSeq[T]

Constructs a paged sequence from an iterable

Constructs a paged sequence from an iterable

Attributes

def fromIterator[T : ClassTag](source: Iterator[T]): PagedSeq[T]

Constructs a paged sequence from an iterator

Constructs a paged sequence from an iterator

Attributes

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.

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.

Attributes

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.

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.

Attributes

def fromReader(source: Reader): PagedSeq[Char]

Constructs a paged character sequence from an input reader

Constructs a paged character sequence from an input reader

Attributes

def fromSource(source: Source): PagedSeq[Char]

Constructs a paged character sequence from a scala.io.Source value

Constructs a paged character sequence from a scala.io.Source value

Attributes

Constructs a paged character sequence from a string iterator

Constructs a paged character sequence from a string iterator

Attributes

Constructs a paged character sequence from a string iterable

Constructs a paged character sequence from a string iterable

Attributes

Concrete fields

final val UndeterminedEnd: 2147483647