scala.collection.immutable

object PagedSeq

[source: scala/collection/immutable/PagedSeq.scala]

object PagedSeq
extends AnyRef
The PagedSeq object defines a lazy implementations of a random access sequence.
Value Summary
final val UndeterminedEnd : Int
Method Summary
def fromFile (source : java.lang.String) : PagedSeq[Char]
Constructs a character sequence from a file with given name
def fromFile (source : java.io.File) : PagedSeq[Char]
Constructs a character sequence from an input file
def fromIterable [T](source : Iterable[T]) : PagedSeq[T]
Constructs a character sequence from a character iterable
def fromIterator [T](source : Iterator[T]) : PagedSeq[T]
Constructs a character sequence from a character iterator
def fromLines (source : Iterable[java.lang.String]) : PagedSeq[Char]
Constructs a 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 fromLines (source : Iterator[java.lang.String]) : PagedSeq[Char]
Constructs a 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 fromReader (source : java.io.Reader) : PagedSeq[Char]
Constructs a character sequence from an input reader
def fromSource (source : Source) : PagedSeq[Char]
Constructs a character sequence from a scala.io.Source value
def fromStrings (source : Iterable[java.lang.String]) : PagedSeq[Char]
Constructs a character sequence from a string iterable
def fromStrings (source : Iterator[java.lang.String]) : PagedSeq[Char]
Constructs a character sequence from a string iterator
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Value Details
final val UndeterminedEnd : Int

Method Details
def fromIterator[T](source : Iterator[T]) : PagedSeq[T]
Constructs a character sequence from a character iterator

def fromIterable[T](source : Iterable[T]) : PagedSeq[T]
Constructs a character sequence from a character iterable

def fromStrings(source : Iterator[java.lang.String]) : PagedSeq[Char]
Constructs a character sequence from a string iterator

def fromStrings(source : Iterable[java.lang.String]) : PagedSeq[Char]
Constructs a character sequence from a string iterable

def fromLines(source : Iterator[java.lang.String]) : PagedSeq[Char]
Constructs a 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[java.lang.String]) : PagedSeq[Char]
Constructs a 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 : java.io.Reader) : PagedSeq[Char]
Constructs a character sequence from an input reader

def fromFile(source : java.io.File) : PagedSeq[Char]
Constructs a character sequence from an input file

def fromFile(source : java.lang.String) : PagedSeq[Char]
Constructs a character sequence from a file with given name

def fromSource(source : Source) : PagedSeq[Char]
Constructs a character sequence from a scala.io.Source value