Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for Matcher (0.04 sec)

  1. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertFalse(matcher.apply(s.charAt(0)));
        assertEquals(-1, matcher.indexIn(s));
        assertEquals(-1, matcher.indexIn(s, 0));
        assertEquals(-1, matcher.indexIn(s, 1));
        assertEquals(-1, matcher.lastIndexIn(s));
        assertFalse(matcher.matchesAnyOf(s));
        assertFalse(matcher.matchesAllOf(s));
        assertTrue(matcher.matchesNoneOf(s));
    
        assertSame(s, matcher.removeFrom(s));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertFalse(matcher.matches(s.charAt(0)));
        assertFalse(matcher.apply(s.charAt(0)));
        assertFalse(matcher.test(s.charAt(0)));
        assertEquals(-1, matcher.indexIn(s));
        assertEquals(-1, matcher.indexIn(s, 0));
        assertEquals(-1, matcher.indexIn(s, 1));
        assertEquals(-1, matcher.lastIndexIn(s));
        assertFalse(matcher.matchesAnyOf(s));
        assertFalse(matcher.matchesAllOf(s));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/CharMatcher.java

        return new Negated(this);
      }
    
      /**
       * Returns a matcher that matches any character matched by both this matcher and {@code other}.
       */
      public CharMatcher and(CharMatcher other) {
        return new And(this, other);
      }
    
      /**
       * Returns a matcher that matches any character matched by either this matcher or {@code other}.
       */
      public CharMatcher or(CharMatcher other) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 53.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/BenchmarkHelpers.java

        public final CharMatcher matcher;
        public final String matchingChars;
    
        SampleMatcherConfig(String matchingChars) {
          this(CharMatcher.anyOf(matchingChars), matchingChars);
        }
    
        SampleMatcherConfig(CharMatcher matcher, String matchingChars) {
          this.matcher = matcher;
          this.matchingChars = matchingChars;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            int lineNum = 0;
            for (final String line : values) {
                final Matcher matcher = pattern.matcher(line);
                if (matcher.matches()) {
                    if (lineNum == 0) {
                        lineNum = Integer.parseInt(matcher.group(1));
                        list.clear();
                    }
                    list.add(matcher.group(2));
                } else {
                    list.add(line);
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        Pattern pattern = Pattern.compile("Multiple entries with same key: four=(.*) and four=(.*)");
        assertThat(expected).hasMessageThat().matches(pattern);
        Matcher matcher = pattern.matcher(expected.getMessage());
        assertThat(matcher.matches()).isTrue();
        assertThat(matcher.group(1)).isNotEqualTo(matcher.group(2));
      }
    
      public void testOf() {
        assertMapEquals(ImmutableMap.of("one", 1), "one", 1);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Platform.java

     */
    @GwtCompatible
    final class Platform {
      private static final PatternCompiler patternCompiler = loadPatternCompiler();
    
      private Platform() {}
    
      static CharMatcher precomputeCharMatcher(CharMatcher matcher) {
        return matcher.precomputedInternal();
      }
    
      static <T extends Enum<T>> Optional<T> getEnumIfPresent(Class<T> enumClass, String value) {
        WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                    return null;
                }
                final Matcher matcher = Pattern.compile(pattern, Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE).matcher(value);
                final StringBuffer buf = new StringBuffer(value.length() + 100);
                while (matcher.find()) {
                    matcher.appendReplacement(buf, Matcher.quoteReplacement(highlightTagPre + matcher.group(0) + highlightTagPost));
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 52.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/PluginHelper.java

            final List<Artifact> list = new ArrayList<>();
            final String repoContent = getRepositoryContent(url);
            final Matcher matcher = Pattern.compile("href=\"[^\"]*(" + artifactType.getId() + "[a-zA-Z0-9\\-]+)/?\"").matcher(repoContent);
            while (matcher.find()) {
                final String name = matcher.group(1);
                if (isExcludedName(artifactType, name)) {
                    continue;
                }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Predicates.java

       * Returns a predicate that evaluates to {@code true} if the {@code CharSequence} being tested
       * contains any match for the given regular expression pattern. The test used is equivalent to
       * {@code Pattern.compile(pattern).matcher(arg).find()}
       *
       * @throws IllegalArgumentException if the pattern is invalid
       * @since 3.0
       */
      @GwtIncompatible // Only used by other GWT-incompatible code.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top