scala.Stream
trait Definite

[source: `scala/Stream.scala`]

`` `trait` Definite[+A]
  `extends` Stream[A]`with` () => Stream[A]

  a stream with a definite size

Method Summary
`override def` | apply : Definite[A]
`override def` | hasDefiniteSize : Boolean returns true iff this collection has a bound size. Many APIs in this trait will not work on collections of unbound sizes.
`override def` | toString : java.lang.String Converts stream to string

Methods inherited from Stream
head (abstract), tail (abstract), addDefinedElems (abstract), force, length, lengthCompare, append, elements, init, last, apply, take, drop, takeWhile, dropWhile, map, foreach, filter, forall, exists, foldLeft, foldRight, flatMap, toStream, reverse, copyToArray, zip, zipWithIndex, print, print

Methods inherited from Projection
projection

Methods inherited from Seq
size, isEmpty, concat, lastOption, headOption, ++, isDefinedAt, lastIndexOf, slice, contains, subseq, toArray, equalsWith, startsWith, endsWith, indexOf, containsSlice

Methods inherited from Collection
stringPrefix

Methods inherited from Iterable
partition, find, findIndexOf, indexOf, /:, :\, reduceLeft, reduceRight, copyToBuffer, sameElements, toList, mkString, mkString, mkString, addString, addString

Methods inherited from PartialFunction
orElse, andThen

Methods inherited from Function1
compose

Methods inherited from AnyRef
getClass, hashCode, equals, clone, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized

Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf

Method Details

`override` `def` hasDefiniteSize : Boolean

  returns true iff this collection has a bound size. Many APIs in this trait will not work on collections of unbound sizes.

Overrides
  Stream.hasDefiniteSize

`override` `def` apply : Definite[A]

Overrides
  Function0.apply

`override` `def` toString : java.lang.String

  Converts stream to string

Overrides
  Stream.toString, Function0.toString