Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 214 for catcher (0.17 sec)

  1. guava-tests/test/com/google/common/eventbus/EventBusTest.java

        private final EventBus bus;
        private final List<StringCatcher> catchers;
    
        Registrator(EventBus bus, List<StringCatcher> catchers) {
          this.bus = bus;
          this.catchers = catchers;
        }
    
        @Override
        public void run() {
          StringCatcher catcher = new StringCatcher();
          bus.register(catcher);
          catchers.add(catcher);
        }
      }
    
      /**
       * A collector for DeadEvents.
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/eventbus/EventBusTest.java

        private final EventBus bus;
        private final List<StringCatcher> catchers;
    
        Registrator(EventBus bus, List<StringCatcher> catchers) {
          this.bus = bus;
          this.catchers = catchers;
        }
    
        @Override
        public void run() {
          StringCatcher catcher = new StringCatcher();
          bus.register(catcher);
          catchers.add(catcher);
        }
      }
    
      /**
       * A collector for DeadEvents.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/CharMatcher.java

      public abstract boolean matches(char c);
    
      // Non-static factories
    
      /** Returns a matcher that matches any character not matched by this matcher. */
      // @Override under Java 8 but not under Java 7
      @Override
      public CharMatcher negate() {
        return new Negated(this);
      }
    
      /**
       * Returns a matcher that matches any character matched by both this matcher and {@code other}.
       */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/CharMatcher.java

      public abstract boolean matches(char c);
    
      // Non-static factories
    
      /** Returns a matcher that matches any character not matched by this matcher. */
      // @Override under Java 8 but not under Java 7
      public CharMatcher negate() {
        return new Negated(this);
      }
    
      /**
       * Returns a matcher that matches any character matched by both this matcher and {@code other}.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertTrue(matcher.matches(s.charAt(0)));
        assertTrue(matcher.apply(s.charAt(0)));
        assertEquals(0, matcher.indexIn(s));
        assertEquals(0, matcher.indexIn(s, 0));
        assertEquals(-1, matcher.indexIn(s, 1));
        assertEquals(0, matcher.lastIndexIn(s));
        assertTrue(matcher.matchesAnyOf(s));
        assertTrue(matcher.matchesAllOf(s));
        assertFalse(matcher.matchesNoneOf(s));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/CharMatcherTest.java

        assertTrue(matcher.matches(s.charAt(0)));
        assertTrue(matcher.apply(s.charAt(0)));
        assertEquals(0, matcher.indexIn(s));
        assertEquals(0, matcher.indexIn(s, 0));
        assertEquals(-1, matcher.indexIn(s, 1));
        assertEquals(0, matcher.lastIndexIn(s));
        assertTrue(matcher.matchesAnyOf(s));
        assertTrue(matcher.matchesAllOf(s));
        assertFalse(matcher.matchesNoneOf(s));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Cache.kt

        // Give up because the cache cannot be written.
        try {
          editor?.abort()
        } catch (_: IOException) {
        }
      }
    
      /**
       * Initialize the cache. This will include reading the journal files from the storage and building
       * up the necessary in-memory cache information.
       *
       * The initialization time may vary depending on the journal file size and the current actual
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Splitter.java

        checkArgument(
            !separatorPattern.matcher("").matches(),
            "The pattern may not match the empty string: %s",
            separatorPattern);
    
        return new Splitter(
            new Strategy() {
              @Override
              public SplittingIterator iterator(final Splitter splitter, CharSequence toSplit) {
                final CommonMatcher matcher = separatorPattern.matcher(toSplit);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/util/PrunedTag.java

                final Matcher matcher = pattern.matcher(v.trim());
                if (matcher.matches()) {
                    final PrunedTag tag = new PrunedTag(matcher.group(1));
                    if (matcher.group(2) != null) {
                        final String attrPair = matcher.group(2).substring(1, matcher.group(2).length() - 1);
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/JdkPattern.java

      }
    
      private static final class JdkMatcher extends CommonMatcher {
        final Matcher matcher;
    
        JdkMatcher(Matcher matcher) {
          this.matcher = Preconditions.checkNotNull(matcher);
        }
    
        @Override
        public boolean matches() {
          return matcher.matches();
        }
    
        @Override
        public boolean find() {
          return matcher.find();
        }
    
        @Override
        public boolean find(int index) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 2.2K bytes
    - Viewed (0)
Back to top