fn cmp<X>(self, other: X) -> Cmp<Self, X::Iter>
    where
        X: IntoParallelIterator<'a, Item = Self::Item>,
        X::Iter: IndexedParallelIterator<'a>,
        Self::Item: Ord,
    {
        Cmp::new(self, other.into_par_iter())
    }
/// Lexicographically compares the elements of this `ParallelIterator` with those of
/// another.
///
/// # Examples
///
/// ```
/// use asparit::*;
/// use std::cmp::Ordering::*;
///
/// let x = vec![1, 2, 3];
/// assert_eq!(x.par_iter().cmp(&vec![1, 3, 0]).exec(), Less);
/// assert_eq!(x.par_iter().cmp(&vec![1, 2, 3]).exec(), Equal);
/// assert_eq!(x.par_iter().cmp(&vec![1, 2]).exec(), Greater);
/// ```
Lexicographically compares the elements of this `ParallelIterator` with those of
another.
Lexicographically compares the elements of this ` ParallelIterator ` with those of another .
fn cmp<X>(self, other: X) -> Cmp<Self, X::Iter>
    where
        X: IntoParallelIterator<'a, Item = Self::Item>,
        X::Iter: IndexedParallelIterator<'a>,
        Self::Item: Ord,
    {
        Cmp::new(self, other.into_par_iter())
    }
fn cmp < X > ( self , other : X ) -> Cmp < Self , X :: Iter > where X : IntoParallelIterator < ' a , Item = Self :: Item > , X :: Iter : IndexedParallelIterator < ' a > , Self :: Item : Ord , { Cmp :: new ( self , other . into_par_iter ( ) ) }
Lexicographically compares the elements of this `ParallelIterator` with those of
another.
Lexicographically compares the elements of this ` ParallelIterator ` with those of another .
self
other
X
self
other
X
examples
None