Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for PASSED (0.16 sec)

  1. android/guava/src/com/google/common/base/Preconditions.java

       *
       * We still encourage people to use requireNonNull over checkNotNull for non-precondition checks.
       */
    
      /**
       * Ensures that an object reference passed as a parameter to the calling method is not null.
       *
       * @param reference an object reference
       * @return the non-null reference that was validated
       * @throws NullPointerException if {@code reference} is null
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * the discussion in the {@link #addListener} documentation. All its warnings about heavyweight
       * listeners are also applicable to heavyweight functions passed to this method.
       *
       * <p>This method is similar to {@link java.util.concurrent.CompletableFuture#exceptionally}. It
       * can also serve some of the use cases of {@link java.util.concurrent.CompletableFuture#handle}
    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)
  3. guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       * map does not support {@code setValue} on its entries, {@code put}, or {@code putAll}.
       *
       * <p>When passed a key that is present in the map, {@code asMap().get(Object)} has the same
       * behavior as {@link #get}, returning a live collection. When passed a key that is not present,
       * however, {@code asMap().get(Object)} returns {@code null} instead of an empty collection.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       * map does not support {@code setValue} on its entries, {@code put}, or {@code putAll}.
       *
       * <p>When passed a key that is present in the map, {@code asMap().get(Object)} has the same
       * behavior as {@link #get}, returning a live collection. When passed a key that is not present,
       * however, {@code asMap().get(Object)} returns {@code null} instead of an empty collection.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Suppliers.java

        }
      }
    
      /**
       * Returns a supplier that caches the instance supplied by the delegate and removes the cached
       * value after the specified time has passed. Subsequent calls to {@code get()} return the cached
       * value if the expiration time has not passed. After the expiration time, a new value is
       * retrieved, cached, and returned. See: <a
       * href="http://en.wikipedia.org/wiki/Memoization">memoization</a>
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

     * method equivalent to {@link
     * java.util.concurrent.locks.ReentrantLock#hasWaiters(java.util.concurrent.locks.Condition)},
     * except that the method parameter must accept whatever condition-like object is passed into {@code
     * callAndAssertWaits} by the test.
     *
     * @param <L> the type of the lock-like object to be used
     * @author Justin T. Sampson
     */
    public final class TestThread<L> extends Thread implements TearDown {
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/cache/RemovalCause.java

       * CacheBuilder#softValues}.
       */
      COLLECTED {
        @Override
        boolean wasEvicted() {
          return true;
        }
      },
    
      /**
       * The entry's expiration timestamp has passed. This can occur when using {@link
       * CacheBuilder#expireAfterWrite} or {@link CacheBuilder#expireAfterAccess}.
       */
      EXPIRED {
        @Override
        boolean wasEvicted() {
          return true;
        }
      },
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 2.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

       * IllegalArgumentException} if passed a {@code fromKey} less than an earlier {@code fromKey}.
       * However, this method doesn't throw an exception in that situation, but instead keeps the
       * original {@code fromKey}. Similarly, this method keeps the original {@code toKey}, instead of
       * throwing an exception, if passed a {@code toKey} greater than an earlier {@code toKey}.
       */
      @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/ExecutionListTest.java

        thread2.join();
        assertEquals(1, runCalled.get());
      }
    
      public void testAddAfterRun() throws Exception {
        // Run the previous test
        testRunOnPopulatedList();
    
        // If it passed, then verify an Add will be executed without calling run
        CountDownLatch countDownLatch = new CountDownLatch(1);
        list.add(new MockRunnable(countDownLatch), Executors.newCachedThreadPool());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 09 22:57:07 GMT 2022
    - 4.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/math/Quantiles.java

         *     indexes, and the values the corresponding quantile values. When iterating, entries in the
         *     map are ordered by quantile index in the same order they were passed to the {@code
         *     indexes} method.
         */
        public Map<Integer, Double> compute(Collection<? extends Number> dataset) {
          return computeInPlace(Doubles.toArray(dataset));
        }
    
        /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 29.9K bytes
    - Viewed (0)
Back to top