Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for getAll (0.18 sec)

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

        assertEquals(0, stats.hitCount());
    
        assertEquals(ImmutableMap.of(), cache.getAll(ImmutableList.<Integer>of()));
        assertEquals(0, stats.missCount());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        assertEquals(ImmutableMap.of(1, 1), cache.getAll(asList(1)));
        stats = cache.stats();
        assertEquals(1, stats.missCount());
    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/cache/CacheLoadingTest.java

        assertEquals(0, stats.hitCount());
    
        assertEquals(ImmutableMap.of(), cache.getAll(ImmutableList.<Integer>of()));
        assertEquals(0, stats.missCount());
        assertEquals(0, stats.loadSuccessCount());
        assertEquals(0, stats.loadExceptionCount());
        assertEquals(0, stats.hitCount());
    
        assertEquals(ImmutableMap.of(1, 1), cache.getAll(asList(1)));
        stats = cache.stats();
        assertEquals(1, stats.missCount());
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          }
        }
    
        @Override
        public final V apply(K key) {
          return getUnchecked(key);
        }
    
        @Override
        public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException {
          Map<K, V> map = new HashMap<K, V>();
          for (K key : keys) {
            map.put(key, localCache.getOrLoad(key));
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/LocalCache.java

        @Override
        public V getUnchecked(K key) {
          return autoDelegate.getUnchecked(key);
        }
    
        @Override
        public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException {
          return autoDelegate.getAll(keys);
        }
    
        @Override
        public V apply(K key) {
          return autoDelegate.apply(key);
        }
    
        @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

        @Override
        public V getUnchecked(K key) {
          return autoDelegate.getUnchecked(key);
        }
    
        @Override
        public ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException {
          return autoDelegate.getAll(keys);
        }
    
        @Override
        public V apply(K key) {
          return autoDelegate.apply(key);
        }
    
        @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Throwables.java

      /** Access to some fancy internal JVM internals. */
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      @CheckForNull
      private static final Object jla = getJLA();
    
      /**
       * The "getStackTraceElementMethod" method, only available on some JDKs so we use reflection to
       * find it when available. When this is null, use the slow way.
       */
      @J2ktIncompatible
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Throwables.java

      /** Access to some fancy internal JVM internals. */
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      @CheckForNull
      private static final Object jla = getJLA();
    
      /**
       * The "getStackTraceElementMethod" method, only available on some JDKs so we use reflection to
       * find it when available. When this is null, use the slow way.
       */
      @J2ktIncompatible
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Mar 06 15:38:58 GMT 2024
    - 20.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/DenseImmutableTable.java

      }
    
      @Override
      public int size() {
        return cellRowIndices.length;
      }
    
      @Override
      Cell<R, C, V> getCell(int index) {
        int rowIndex = cellRowIndices[index];
        int columnIndex = cellColumnIndices[index];
        R rowKey = rowKeySet().asList().get(rowIndex);
        C columnKey = columnKeySet().asList().get(columnIndex);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 10K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/UnannotatedJavaClass.java

     */
    
    package com.google.common.base;
    
    /** Class containing an unannotated Java method for use from {@code OptionalExtensionsTest}. */
    final class UnannotatedJavaClass {
      static Object getNull() {
        return null;
      }
    
      private UnannotatedJavaClass() {}
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Aug 02 17:05:25 GMT 2023
    - 854 bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/RegularImmutableTable.java

     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    abstract class RegularImmutableTable<R, C, V> extends ImmutableTable<R, C, V> {
      RegularImmutableTable() {}
    
      abstract Cell<R, C, V> getCell(int iterationIndex);
    
      @Override
      final ImmutableSet<Cell<R, C, V>> createCellSet() {
        return isEmpty() ? ImmutableSet.<Cell<R, C, V>>of() : new CellSet();
      }
    
      @WeakOuter
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 7.1K bytes
    - Viewed (0)
Back to top