Scalax
|
|
scalax/data/OrdIterableExtras.scala
]
class
OrdIterableExtras[A](i : scala.Iterable[A], implicit
ord : Ord[A])
extends
AnyRefMethod Summary | |
def
|
max
: A
Returns the maximum element. Throws NoSuchElementException if there are none.
|
def
|
min
: A
Returns the minimum element. Throws NoSuchElementException if there are none.
|
Methods inherited from AnyRef | |
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
Methods inherited from Any | |
==, !=, isInstanceOf, asInstanceOf |
Method Details |
def
max : A
def
min : A
Scalax
|
|