Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for Clauss (0.5 sec)

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

        assertThrows(InvalidCacheLoadException.class, () -> cache.get(new Object()));
        stats = cache.stats();
        assertEquals(1, stats.missCount());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(1, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        assertThrows(InvalidCacheLoadException.class, () -> cache.getUnchecked(new Object()));
        stats = cache.stats();
    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. guava-tests/test/com/google/common/collect/SetsTest.java

      public void testNullPointerExceptions() {
        new NullPointerTester()
            .setDefault(Enum.class, SomeEnum.A)
            .setDefault(Class.class, SomeEnum.class) // for newEnumSet
            .testAllPublicStaticMethods(Sets.class);
      }
    
      public void testNewSetFromMap() {
        Set<Integer> set = Sets.newSetFromMap(new HashMap<Integer, Boolean>());
        set.addAll(SOME_COLLECTION);
    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)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public class IteratorsTest extends TestCase {
    
      @J2ktIncompatible
      @GwtIncompatible // suite
      public static Test suite() {
        TestSuite suite = new TestSuite(IteratorsTest.class.getSimpleName());
        suite.addTest(testsForRemoveAllAndRetainAll());
        suite.addTestSuite(IteratorsTest.class);
        return suite;
      }
    
      @SuppressWarnings("DoNotCall")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

     *
     * @author Jared Levy
     * @author Louis Wasserman
     * @since 2.0 (implements {@code NavigableMap} since 12.0)
     */
    @GwtCompatible(serializable = true, emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class ImmutableSortedMap<K, V> extends ImmutableMap<K, V>
        implements NavigableMap<K, V> {
      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableSortedMap} whose
    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)
  5. android/guava/src/com/google/common/base/Preconditions.java

     * if/throw idiom instead.
     *
     * <p>Depending on your message arguments, memory may be allocated for boxing and varargs array
     * creation. However, the methods of this class have a large number of overloads that prevent such
     * allocations in many common cases.
     *
     * <p>The message string is not formatted unless the exception will be thrown, so the cost of the
    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)
  6. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

                Interface12.class,
                Interface1.class,
                Interface2.class,
                Class1.class,
                Object.class);
        makeUnmodifiable(types.interfaces().rawTypes())
            .containsExactly(
                Interface3.class,
                Interface12.class,
                Interface1.class,
                Interface2.class,
                Iterable.class);
        makeUnmodifiable(types.classes().rawTypes())
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        }
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> ClosingCallable<V> waitFor(ClosingCallable<V> closingCallable) {
          return waitFor(closingCallable, ClosingCallable.class);
        }
    
        @SuppressWarnings("unchecked") // proxy for a generic class
        <V> AsyncClosingCallable<V> waitFor(AsyncClosingCallable<V> asyncClosingCallable) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/CharMatcher.java

     * 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
     * "any {@code char} value {@code c} for which {@code this.matches(c)} returns {@code true}".
     *
     * <p><b>Warning:</b> This class deals only with {@code char} values, that is, <a
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

        }
      }
    
      final class KeyIterator extends HashIterator<K> {
    
        @Override
        public K next() {
          return nextEntry().getKey();
        }
      }
    
      final class ValueIterator extends HashIterator<V> {
    
        @Override
        public V next() {
          return nextEntry().getValue();
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

     * @author Chris Povirk
     * @since 2.0
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    public final class Sets {
      private Sets() {}
    
      /**
       * {@link AbstractSet} substitute without the potentially-quadratic {@code removeAll}
       * implementation.
       */
      abstract static class ImprovedAbstractSet<E extends @Nullable Object> extends AbstractSet<E> {
        @Override
        public boolean removeAll(Collection<?> c) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
Back to top