Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for Are (0.28 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

        assertEquals(4, stats.missCount());
        assertEquals(4, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(3, stats.hitCount());
    
        // duplicate keys are ignored, and don't impact stats
        assertEquals(ImmutableMap.of(4, 4, 5, 5), cache.getAll(asList(4, 5)));
        stats = cache.stats();
        assertEquals(5, stats.missCount());
        assertEquals(5, stats.loadSuccessCount());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/TypeToken.java

    /**
     * A {@link Type} with generics.
     *
     * <p>Operations that are otherwise only available in {@link Class} are implemented to support
     * {@code Type}, for example {@link #isSubtypeOf}, {@link #isArray} and {@link #getComponentType}.
     * It also provides additional utilities such as {@link #getTypes}, {@link #resolveType}, etc.
     *
     * <p>There are three ways to get a {@code TypeToken} instance:
     *
     * <ul>
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Synchronized collection views. The returned synchronized collection views are serializable if the
     * backing collection and the mutex are serializable.
     *
     * <p>If {@code null} is passed as the {@code mutex} parameter to any of this class's top-level
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 53.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/SetsTest.java

        try {
          Sets.subSet(set, Range.closed(4, 8));
          fail("IllegalArgumentException expected");
        } catch (IllegalArgumentException expected) {
        }
    
        // These results are all incorrect, but there's no way (short of iterating over the result)
        // to verify that with an arbitrary ordering or comparator.
        assertEquals(ImmutableSortedSet.of(2, 4), Sets.subSet(set, Range.atLeast(4)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/Futures.java

       * the output future list. (Such races are impossible to solve without global synchronization of
       * all future completions. And they should have little practical impact.)
       *
       * <p>Cancelling a delegate future propagates to input futures once all the delegates complete,
       * either from cancellation or because an input future has completed. If N futures are passed in,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/CharMatcher.java

    /**
     * Determines a true or false value for any Java {@code char} value, just as {@link Predicate} does
     * for any {@link Object}. Also offers basic text processing methods based on this function.
     * Implementations are strongly encouraged to be side-effect-free and immutable.
     *
     * <p>Throughout the documentation of this class, the phrase "matching character" is used to mean
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Preconditions.java

     * standard JDK exceptions such as {@link java.util.NoSuchElementException} or {@link
     * UnsupportedOperationException} in the situations they are intended for.
     *
     * <h3>Non-preconditions</h3>
     *
     * <p>It is of course possible to use the methods of this class to check for invalid conditions
     * which are <i>not the caller's fault</i>. Doing so is <b>not recommended</b> because it is
     * misleading to future readers of the code and of stack traces. See <a
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/MapsTest.java

        }
        assertWithMessage("table size after adding " + size + " elements")
            .that(bucketsOf(map1))
            .isEqualTo(initialBuckets);
    
        /*
         * Something slightly different happens when the entries are added all at
         * once; make sure that passes too.
         */
        map2.putAll(map1);
        assertWithMessage("table size after adding " + size + " elements")
            .that(bucketsOf(map1))
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MapsTest.java

        }
        assertWithMessage("table size after adding " + size + " elements")
            .that(bucketsOf(map1))
            .isEqualTo(initialBuckets);
    
        /*
         * Something slightly different happens when the entries are added all at
         * once; make sure that passes too.
         */
        map2.putAll(map1);
        assertWithMessage("table size after adding " + size + " elements")
            .that(bucketsOf(map1))
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Iterators.java

            }
            return endOfData();
          }
        };
      }
    
      /**
       * Returns a view of {@code unfiltered} containing all elements that are of the type {@code
       * desiredType}.
       */
      @SuppressWarnings("unchecked") // can cast to <T> because non-Ts are removed
      @GwtIncompatible // Class.isInstance
      public static <T> UnmodifiableIterator<T> filter(Iterator<?> unfiltered, Class<T> desiredType) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
Back to top