scala

object Iterable

[source: scala/Iterable.scala]

object Iterable
extends AnyRef
Various utilities for instances of Iterable.
Author
Matthias Zenger
Version
1.1, 04/02/2004
Value Summary
val empty : Iterable[Nothing]
The empty iterable object
Method Summary
def max [A](seq : Iterable[A])(implicit view$1 : (A) => Ordered[A]) : A
The maximum element of a non-empty sequence of ordered elements
def min [A](seq : Iterable[A])(implicit view$0 : (A) => Ordered[A]) : A
The minimum element of a non-empty sequence of ordered elements
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Class Summary
trait Projection [+A] extends Iterable[A]
A non-strict projection of an iterable.
Value Details
val empty : Iterable[Nothing]
The empty iterable object

Method Details
def min[A](seq : Iterable[A])(implicit view$0 : (A) => Ordered[A]) : A
The minimum element of a non-empty sequence of ordered elements

def max[A](seq : Iterable[A])(implicit view$1 : (A) => Ordered[A]) : A
The maximum element of a non-empty sequence of ordered elements