public void setMatcher ( final Matcher matcher ) { Assert . notNull ( matcher , "The Matcher used to match elements in the collection during the search operation by this Searcher ({0}) cannot be null!" , getClass ( ) . getName ( ) ) ; this . matcher = matcher ; }
Sets the Matcher used to match and find the desired element or elements in the collection .