/** * Checks if the given Pattern should be considered as the same as * in a previous search. * <p> * This implementation compares the patterns' regex. * * @param pattern <code>Pattern</code> that we will compare with last request * @return if provided <code>Pattern</code> is the same as the stored from * the previous search attempt */ protected boolean isEqualPattern(Pattern pattern) { return pattern.pattern().equals(lastSearchResult.getRegEx()); }
/** * Checks if the given Pattern should be considered as the same as * in a previous search. * <p> * This implementation compares the patterns' regex. * * @param pattern <code>Pattern</code> that we will compare with last request * @return if provided <code>Pattern</code> is the same as the stored from * the previous search attempt */ protected boolean isEqualPattern(Pattern pattern) { return pattern.pattern().equals(lastSearchResult.getRegEx()); }
/** * Checks if the given Pattern should be considered as the same as * in a previous search. * <p> * This implementation compares the patterns' regex. * * @param pattern <code>Pattern</code> that we will compare with last request * @return if provided <code>Pattern</code> is the same as the stored from * the previous search attempt */ protected boolean isEqualPattern(Pattern pattern) { return pattern.pattern().equals(lastSearchResult.getRegEx()); }
/** * Checks if the given Pattern should be considered as the same as * in a previous search. * <p> * This implementation compares the patterns' regex. * * @param pattern <code>Pattern</code> that we will compare with last request * @return if provided <code>Pattern</code> is the same as the stored from * the previous search attempt */ protected boolean isEqualPattern(Pattern pattern) { return pattern.pattern().equals(lastSearchResult.getRegEx()); }
/** * Checks if the given Pattern should be considered as the same as * in a previous search. * <p> * This implementation compares the patterns' regex. * * @param pattern <code>Pattern</code> that we will compare with last request * @return if provided <code>Pattern</code> is the same as the stored from * the previous search attempt */ protected boolean isEqualPattern(Pattern pattern) { return pattern.pattern().equals(lastSearchResult.getRegEx()); }