fn find_any<O>(self, operation: O) -> Find<Self, O>
    where
        O: Fn(&Self::Item) -> bool + Clone + Send + 'a,
    {
        Find::new(self, operation, FindMatch::Any)
    }
/// Searches for **some** item in the parallel iterator that
/// matches the given operation and returns it. This operation
/// is similar to [`find` on sequential iterators][find] but
/// the item returned may not be the **first** one in the parallel
/// sequence which matches, since we search the entire sequence in parallel.
///
/// Once a match is found, we will attempt to stop processing
/// the rest of the items in the iterator as soon as possible
/// (just as `find` stops iterating once a match is found).
///
/// [find]: https://doc.rust-lang.org/std/iter/trait.Iterator.html#method.find
///
/// # Examples
///
/// ```
/// use asparit::*;
///
/// let a = [1, 2, 3, 3];
///
/// assert_eq!(a.par_iter().find_any(|&&x| x == 3).exec(), Some(&3));
///
/// assert_eq!(a.par_iter().find_any(|&&x| x == 100).exec(), None);
/// ```
Searches for **some** item in the parallel iterator that
matches the given operation and returns it. This operation
is similar to [`find` on sequential iterators][find] but
the item returned may not be the **first** one in the parallel
sequence which matches, since we search the entire sequence in parallel.

Once a match is found, we will attempt to stop processing
the rest of the items in the iterator as soon as possible
(just as `find` stops iterating once a match is found).


Searches for ** some ** item in the parallel iterator that matches the given operation and returns it . This operation is similar to [ ` find ` on sequential iterators ] [ find ] but the item returned may not be the ** first ** one in the parallel sequence which matches since we search the entire sequence in parallel . Once a match is found we will attempt to stop processing the rest of the items in the iterator as soon as possible ( just as ` find ` stops iterating once a match is found ) .
fn find_any<O>(self, operation: O) -> Find<Self, O>
    where
        O: Fn(&Self::Item) -> bool + Clone + Send + 'a,
    {
        Find::new(self, operation, FindMatch::Any)
    }
fn find_any < O > ( self , operation : O ) -> Find < Self , O > where O : Fn ( & Self :: Item ) -> bool + Clone + Send + ' a , { Find :: new ( self , operation , FindMatch :: Any ) }
Searches for **some** item in the parallel iterator that
matches the given operation and returns it.
Searches for ** some ** item in the parallel iterator that matches the given operation and returns it .
self
operation
O
self
operation
O
examples
None