Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for manchem (0.14 sec)

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

        assertTrue(toTest, toTest.matches(".*\\{field1\\=Hello\\}"));
      }
    
      public void testToStringLenient_oneIntegerField() {
        String toTest =
            MoreObjects.toStringHelper(new TestClass()).add("field1", Integer.valueOf(42)).toString();
        assertTrue(toTest, toTest.matches(".*\\{field1\\=42\\}"));
      }
    
      public void testToStringLenient_nullInteger() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:24:55 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Multisets.java

       * of each element is the <i>maximum</i> of its counts in the two backing multisets. The iteration
       * order of the returned multiset matches that of the element set of {@code multiset1} followed by
       * the members of the element set of {@code multiset2} that are not contained in {@code
       * multiset1}, with repeated occurrences of the same element appearing consecutively.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 41.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * #transform}.
       *
       * @param exceptionType the exception type that triggers use of {@code fallback}. The exception
       *     type is matched against the input's exception. "The input's exception" means the cause of
       *     the {@link ExecutionException} thrown by {@code input.get()} or, if {@code get()} throws a
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Iterables.java

       * given predicate, if such an element exists.
       *
       * <p><b>Warning:</b> avoid using a {@code predicate} that matches {@code null}. If {@code null}
       * is matched in {@code iterable}, a NullPointerException will be thrown.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(predicate).findFirst()}
       *
       * @since 11.0
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 19:38:27 GMT 2024
    - 42.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

            "R0.34, R0.28, R0.25, R0.25", // #5
            "U4.25", // #6
            "R0.00, R0.72, R0.66, R0.59, R0.53, R0.47, R0.41", // #7
            "R0.34, R0.28, R0.25, R0.25"); // #7 (cont.), note, this matches #5
      }
    
      public void testWarmUpAndUpdateWithColdFactor() {
        RateLimiter limiter = RateLimiter.create(5.0, 4000, MILLISECONDS, 10.0, stopwatch);
        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // #1
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 21.6K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          }
          statsCounter.recordEviction();
          return removal;
        }
      }
    
      /**
       * Any updates to LocalCache.Strength used in CacheBuilder need to be matched in this class for
       * compilation purposes.
       */
      enum Strength {
        /*
         * TODO(kevinb): If we strongly reference the value and aren't loading, we needn't wrap the
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/TypeResolver.java

       *
       * <p>While resolving a type variable from a {@code var -> type} map, we don't care whether the
       * type variable's bound has been partially resolved. As long as the type variable "identity"
       * matches.
       *
       * <p>On the other hand, if for example we are resolving {@code List<A extends B>} to {@code
       * List<A extends String>}, we need to compare that {@code <A extends B>} is unequal to {@code <A
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 24.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java

          public String toString() {
            return string;
          }
        };
      }
    
      @Generates
      CharMatcher generateCharMatcher() {
        return new CharMatcher() {
          @Override
          public boolean matches(char c) {
            return false;
          }
    
          final String string = paramString(CharMatcher.class, generateInt());
    
          @Override
          public String toString() {
            return string;
          }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 28K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Ascii.java

     *
     * <ul>
     *   <!-- TODO(kevinb): how can we make this not produce a warning when building gwt javadoc? -->
     *   <li>{@link Charsets#US_ASCII} specifies the {@code Charset} of ASCII characters.
     *   <li>{@link CharMatcher#ascii} matches ASCII characters and provides text processing methods
     *       which operate only on the ASCII characters of a string.
     * </ul>
     *
     * @author Catherine Berry
     * @author Gregory Kick
     * @since 7.0
     */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jul 19 15:43:07 GMT 2021
    - 21.6K bytes
    - Viewed (0)
  10. 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);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 27 13:27:08 GMT 2024
    - 41.3K bytes
    - Viewed (0)
Back to top