code: public MatcherPattern findMatcherPattern(int patternCode) {
          MatcherPattern result = null;
          for (MatcherPattern entry : this.matcherPatterns) {
              if (entry.getPatternCode() == patternCode) {
                  result = entry;
                  break;
              }
          }
          return result;
      }
docs: This will search the MatcherPattern that are registered based on the return code UriMatcher.
  @param patternCode
  UriMatcher code is returned
  @return Instance of the MatcherPattern class. if no match is found will return null.