Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 278 for Hevery (0.17 sec)

  1. android/guava-tests/test/com/google/common/hash/BloomFilterTest.java

                  // positive).
                  bloomFilter.put(key);
                  // False negative should *never* happen.
                  assertThat(bloomFilter.mightContain(key)).isTrue();
    
                  // If this check ever fails, that means we need to either bump the
                  // number of expected insertions or don't run the test for so long.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * be clearly documented.
     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
     * <i>return</i> iterables should make every attempt to return ones of the robust variety.
     *
     * <p>This testing utility is not thread-safe.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/MapInterfaceTest.java

      private void assertEntrySetNotContainsString(Set<Entry<K, V>> entrySet) {
        // Very unlikely that a buggy collection would ever return true. It might accidentally throw.
        assertFalse(entrySet.contains("foo"));
      }
    
      /**
       * Override this to check invariants which should hold true for a particular implementation, but
       * which are not generally applicable to every instance of Map.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 45.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/DiscreteDomain.java

       * value for which {@link Comparable#compareTo(Object)} never returns a positive value for any
       * input of type {@code C}.
       *
       * <p>The default implementation throws {@code NoSuchElementException}.
       *
       * @return the minimum value of type {@code C}; never null
       * @throws NoSuchElementException if the type has no (practical) minimum value; for example,
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterables.java

          return Collections2.safeContains(collection, element);
        }
        return Iterators.contains(iterable.iterator(), element);
      }
    
      /**
       * Removes, from an iterable, every element that belongs to the provided collection.
       *
       * <p>This method calls {@link Collection#removeAll} if {@code iterable} is a collection, and
       * {@link Iterators#removeAll} otherwise.
       *
    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)
  6. android/guava/src/com/google/common/base/Suppliers.java

        @SuppressWarnings("UnnecessaryLambda") // Must be a fixed singleton object
        private static final Supplier<Void> SUCCESSFULLY_COMPUTED =
            () -> {
              throw new IllegalStateException(); // Should never get called.
            };
    
        private volatile Supplier<T> delegate;
        // "value" does not need to be volatile; visibility piggy-backs on volatile read of "delegate".
        @CheckForNull private T value;
    
    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)
  7. android/guava/src/com/google/common/util/concurrent/ImmediateFuture.java

          // ListenableFuture's contract is that it will not throw unchecked exceptions, so log the bad
          // runnable and/or executor and swallow it.
          log.get()
              .log(
                  Level.SEVERE,
                  "RuntimeException while executing runnable "
                      + listener
                      + " with executor "
                      + executor,
                  e);
        }
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 3.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

    import java.util.stream.Collector;
    import java.util.stream.Collectors;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A {@link NavigableMap} whose contents will never change, with many other important properties
     * detailed at {@link ImmutableCollection}.
     *
     * <p><b>Warning:</b> as with any sorted collection, you are strongly advised not to use a {@link
    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/src/com/google/common/base/Joiner.java

         * that users *can* pass null arguments to Joiner, we annotate it as if it always tolerates null
         * inputs, rather than as if it never tolerates them.
         *
         * We rely on checkers to implement special cases to catch dangerous calls to join(), etc. based
         * on what they know about the particular Joiner instances the calls are performed on.
         *
    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)
  10. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

      /*
       * We access this field racily but safely. For discussion of a similar situation, see the comments
       * on the fields of TimeoutFuture. This field is slightly different from the fields discussed
       * there: cancel() never reads this field, only writes to it. That makes the race here completely
       * harmless, rather than just 99.99% harmless.
       */
      @CheckForNull @LazyInit private List<@Nullable Present<V>> values;
    
      CollectionFuture(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top