fn max(self) -> Max<Self>
    where
        Self::Item: Ord,
    {
        Max::new(self)
    }
/// Computes the maximum of all the items in the iterator. If the
/// iterator is empty, `None` is returned; otherwise, `Some(max)`
/// is returned.
///
/// Note that the order in which the items will be reduced is not
/// specified, so if the `Ord` impl is not truly associative, then
/// the results are not deterministic.
///
/// Basically equivalent to `self.reduce_with(|a, b| cmp::max(a, b))`.
///
/// # Examples
///
/// ```
/// use asparit::*;
///
/// let a = [45, 74, 32];
///
/// assert_eq!(a.par_iter().max().exec(), Some(&74));
///
/// let b: [i32; 0] = [];
///
/// assert_eq!(b.par_iter().max().exec(), None);
/// ```
Computes the maximum of all the items in the iterator. If the
iterator is empty, `None` is returned; otherwise, `Some(max)`
is returned.

Note that the order in which the items will be reduced is not
specified, so if the `Ord` impl is not truly associative, then
the results are not deterministic.


Computes the maximum of all the items in the iterator . If the iterator is empty ` None ` is returned ; otherwise ` Some ( max ) ` is returned . Note that the order in which the items will be reduced is not specified so if the ` Ord ` impl is not truly associative then the results are not deterministic .
fn max(self) -> Max<Self>
    where
        Self::Item: Ord,
    {
        Max::new(self)
    }
fn max ( self ) -> Max < Self > where Self :: Item : Ord , { Max :: new ( self ) }
Computes the maximum of all the items in the iterator.
Computes the maximum of all the items in the iterator .
self
self
examples
None