Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 414 for after (0.13 sec)

  1. android/guava/src/com/google/common/collect/EmptyImmutableListMultimap.java

       * of common.collect a second time with the results of the first compilation on the classpath. Or
       * just back this out once we stop doing that (which we'll do after our internal GWT setup
       * changes).
       */
      @Override
      public ImmutableMap<Object, Collection<Object>> asMap() {
        return super.asMap();
      }
    
      private Object readResolve() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 18 16:48:17 GMT 2022
    - 1.7K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java

        try {
          getQueue().offer(null);
          fail("offer(null) should throw");
        } catch (NullPointerException expected) {
        }
        expectUnchanged();
        expectNullMissingWhenNullUnsupported("Should not contain null after unsupported offer(null)");
      }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/ListRemoveTester.java

        int firstIndex = getList().indexOf(duplicate);
        int initialSize = getList().size();
        assertTrue("remove(present) should return true", getList().remove(duplicate));
        assertTrue(
            "After remove(duplicate), a list should still contain the duplicate element",
            getList().contains(duplicate));
        assertFalse(
            "remove(duplicate) should remove the first instance of the "
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 2.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        assertFalse("Capable of acquiring an additional permit", r.tryAcquire());
        stopwatch.sleepMillis(Integer.MAX_VALUE);
        assertFalse("Capable of acquiring an additional permit after sleeping", r.tryAcquire());
      }
    
      public void testSimpleRateUpdate() {
        RateLimiter limiter = RateLimiter.create(5.0, 5, SECONDS);
        assertEquals(5.0, limiter.getRate());
        limiter.setRate(10.0);
    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)
  5. android/guava/src/com/google/common/cache/LoadingCache.java

       *
       * <p>Caches loaded by a {@link CacheLoader} will call {@link CacheLoader#load} to load new values
       * into the cache. Newly loaded values are added to the cache using {@code
       * Cache.asMap().putIfAbsent} after loading has completed; if another value was associated with
       * {@code key} while the new value was loading then a removal notification will be sent for the
       * new value.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Aug 06 17:12:03 GMT 2022
    - 8.3K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapPutIfAbsentTester.java

          fail("putIfAbsent(null, value) should throw");
        } catch (NullPointerException expected) {
        }
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported putIfAbsent(null, value)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutIfAbsent_nullValueUnsupported() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/testers/MapPutIfAbsentTester.java

          fail("putIfAbsent(null, value) should throw");
        } catch (NullPointerException expected) {
        }
        expectUnchanged();
        expectNullKeyMissingWhenNullKeysUnsupported(
            "Should not contain null key after unsupported putIfAbsent(null, value)");
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutIfAbsent_nullValueUnsupportedAndKeyAbsent() {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 18:17:52 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/LinkedListMultimap.java

          checkForConcurrentModification();
          checkState(current != null, "no calls to next() since the last call to remove()");
          if (current != next) { // after call to next()
            previous = current.previous;
            nextIndex--;
          } else { // after call to previous()
            next = current.next;
          }
          removeNode(current);
          current = null;
          expectedModCount = modCount;
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 27.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        for (int i = 0; i < ITERATIONS; i++) {
          long before = map.get(key);
          long result = map.addAndGet(key, addend);
          long after = map.get(key);
          assertEquals(before + addend, after);
          assertEquals(after, result);
          addend = after;
        }
        assertEquals(1, map.size());
        assertTrue(!map.isEmpty());
        assertTrue(map.containsKey(key));
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Joiner.java

       */
      @CanIgnoreReturnValue
      public final <A extends Appendable> A appendTo(A appendable, @Nullable Object[] parts)
          throws IOException {
        @SuppressWarnings("nullness") // TODO: b/316358623 - Remove suppression after fixing checker
        List<?> partsList = Arrays.<@Nullable Object>asList(parts);
        return appendTo(appendable, partsList);
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 18.6K bytes
    - Viewed (0)
Back to top