Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 763 for science (0.53 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java

      public void testRemove_nullKeyQueriesUnsupported() {
        try {
          assertFalse(getMap().remove(null, v3()));
        } catch (NullPointerException tolerated) {
          // since the operation would be a no-op, the exception is not required
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_VALUE_QUERIES)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java

      public void testRemove_nullKeyQueriesUnsupported() {
        try {
          assertFalse(getMap().remove(null, v3()));
        } catch (NullPointerException tolerated) {
          // since the operation would be a no-op, the exception is not required
        }
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_VALUE_QUERIES)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Joiner.java

         *
         * @since 10.0
         */
        public String join(Iterable<? extends Entry<?, ?>> entries) {
          return join(entries.iterator());
        }
    
        /**
         * Returns a string containing the string representation of each entry in {@code entries}, using
         * the previously configured separator and key-value separator.
         *
         * @since 11.0
         */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 15:16:19 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

      /**
       * Returns a {@code Collector} that accumulates the input elements into a new {@code
       * ImmutableRangeMap}. As in {@link Builder}, overlapping ranges are not permitted.
       *
       * @since 33.2.0 (available since 23.1 in guava-jre)
       */
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      public static <T extends @Nullable Object, K extends Comparable<? super K>, V>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheLoader.java

     * LoadingCache<Key, Graph> cache = CacheBuilder.newBuilder().build(loader);
     * }
     *
     * <p>Since this example doesn't support reloading or bulk loading, it can also be specified much
     * more simply:
     *
     * {@snippet :
     * CacheLoader<Key, Graph> loader = CacheLoader.from(key -> createExpensiveGraph(key));
     * }
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    public abstract class CacheLoader<K, V> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

    import java.util.function.Supplier;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tester for {@code Spliterator} implementations.
     *
     * @since 33.4.0 (but since 21.0 in the JRE flavor)
     */
    @GwtCompatible
    @NullMarked
    @IgnoreJRERequirement // Users will use this only if they're already using Spliterator.
    public final class SpliteratorTester<E extends @Nullable Object> {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:07:06 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

    import java.util.function.Supplier;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tester for {@code Spliterator} implementations.
     *
     * @since 21.0 (but only since 33.4.0 in the Android flavor)
     */
    @GwtCompatible
    @NullMarked
    public final class SpliteratorTester<E extends @Nullable Object> {
      /** Return type from "contains the following elements" assertions. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingSet.java

       * this implementation.
       *
       * @since 7.0
       */
      protected boolean standardEquals(@Nullable Object object) {
        return Sets.equalsImpl(this, object);
      }
    
      /**
       * A sensible definition of {@link #hashCode} in terms of {@link #iterator}. If you override
       * {@link #iterator}, you may wish to override {@link #equals} to forward to this implementation.
       *
       * @since 7.0
       */
      protected int standardHashCode() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/io/Files.java

       * Returns a predicate that returns the result of {@link File#isDirectory} on input files.
       *
       * @since 15.0
       */
      public static Predicate<File> isDirectory() {
        return FilePredicate.IS_DIRECTORY;
      }
    
      /**
       * Returns a predicate that returns the result of {@link File#isFile} on input files.
       *
       * @since 15.0
       */
      public static Predicate<File> isFile() {
        return FilePredicate.IS_FILE;
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/PrimitiveSink.java

       * running on the equivalent input. For cross-language compatibility, use {@link #putString},
       * usually with a charset of UTF-8. For other use cases, use {@code putUnencodedChars}.
       *
       * @since 15.0 (since 11.0 as putString(CharSequence))
       */
      @CanIgnoreReturnValue
      PrimitiveSink putUnencodedChars(CharSequence charSequence);
    
      /**
       * Puts a string into this sink using the given charset.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top