Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 219 for beer (0.28 sec)

  1. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

        stack.addTearDown(tearDownOne);
    
        final Callback callback =
            new Callback() {
              @Override
              public void run() {
                assertEquals(
                    "tearDownTwo should have been run before tearDownOne", false, tearDownOne.ran);
              }
            };
    
        final SimpleTearDown tearDownTwo = new SimpleTearDown(callback);
        stack.addTearDown(tearDownTwo);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * set (including {@linkplain #setFuture set asynchronously}). When a call to this method returns,
       * the {@code Future} is guaranteed to be {@linkplain #isDone done} <b>only if</b> the call was
       * accepted (in which case it returns {@code true}). If it returns {@code false}, the {@code
       * Future} may have previously been set asynchronously, in which case its result may not be known
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        }
    
        for (int i = 0; i < 10; i++) {
          loader.reset();
          assertEquals(Integer.valueOf(VALUE_PREFIX + i), cache.getUnchecked(KEY_PREFIX + i));
          assertFalse("Creator should not have been called @#" + i, loader.wasCalled());
        }
    
        CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker);
    
        assertEquals("Map must be empty by now", 0, cache.size());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Aug 05 17:21:46 GMT 2022
    - 18.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/RemovalListener.java

      /**
       * Notifies the listener that a removal occurred at some point in the past.
       *
       * <p>This does not always signify that the key is now absent from the cache, as it may have
       * already been re-added.
       */
      // Technically should accept RemovalNotification<? extends K, ? extends V>, but because
      // RemovalNotification is guaranteed covariant, let's make users' lives simpler.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/package-info.java

     *   <li>{@link Verify}
     * </ul>
     *
     * <h3>The rest</h3>
     *
     * This package also contains some classes with niche use cases (e.g., {@link Utf8} and {@link
     * Defaults}), as well as a number of classes that have been superseded by additions to the JDK.
     */
    @CheckReturnValue
    @ParametersAreNonnullByDefault
    package com.google.common.base;
    
    import com.google.errorprone.annotations.CheckReturnValue;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Jun 26 16:48:06 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSet.java

              /*
               * requireNonNull is safe because we ensure that the first `distinct` elements have been
               * populated.
               */
              return of(requireNonNull(dedupedElements[0]));
            default:
              /*
               * The suppression is safe because we ensure that the first `distinct` elements have been
               * populated.
               */
              @SuppressWarnings("nullness")
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 35.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Stopwatch.java

      }
    
      Stopwatch(Ticker ticker) {
        this.ticker = checkNotNull(ticker, "ticker");
      }
    
      /**
       * Returns {@code true} if {@link #start()} has been called on this stopwatch, and {@link #stop()}
       * has not been called since the last call to {@code start()}.
       */
      public boolean isRunning() {
        return isRunning;
      }
    
      /**
       * Starts the stopwatch.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  8. LICENSE

          designated in writing by the copyright owner as "Not a Contribution."
    
          "Contributor" shall mean Licensor and any individual or Legal Entity
          on behalf of whom a Contribution has been received by Licensor and
          subsequently incorporated within the Work.
    
       2. Grant of Copyright License. Subject to the terms and conditions of
          this License, each Contributor hereby grants to You a perpetual,
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 22 18:59:39 GMT 2023
    - 11.1K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/graph/NetworkMutationTest.java

            assertThat(network.removeNode(nodeList.get(i))).isTrue();
          }
    
          assertThat(network.nodes()).hasSize(NUM_NODES - numNodesToRemove);
          // Number of edges remaining is unknown (node's incident edges have been removed).
          AbstractNetworkTest.validateNetwork(network);
    
          for (int i = numNodesToRemove; i < NUM_NODES; ++i) {
            assertThat(network.removeNode(nodeList.get(i))).isTrue();
          }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 10 19:42:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/escape/CharEscaperBuilder.java

        for (char c : cs) {
          addEscape(c, r);
        }
        return this;
      }
    
      /**
       * Convert this builder into an array of char[]s where the maximum index is the value of the
       * highest character that has been seen. The array will be sparse in the sense that any unseen
       * index will default to null.
       *
       * @return a "sparse" array that holds the replacement mappings.
       */
      public char[] @Nullable [] toArray() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 4K bytes
    - Viewed (0)
Back to top