public void setPattern ( byte [ ] pattern ) { pattern_ = Arrays . copyOf ( pattern , pattern . length ) ; borders_ = new int [ pattern_ . length + 1 ] ; preProcess ( ) ; }
Sets a new pattern for this StreamSearcher to use .