Scala Library
|
|
scala/collection/Traversable.scala
]
class
ComparableTraversableOps[A](self : Traversable[A], cmp : Ordering[A])
extends
AnyRefMethod Summary | |
def
|
max
: A
Returns the maximal element of the wrapped iterable `self` with respect to the given ordering `cmp`
|
def
|
min
: A
Returns the minimal element of the wrapped iterable `self` with respect to the given ordering `cmp`
|
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
min : A
def
max : A
Scala Library
|
|