Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 571 for GET (5.7 sec)

  1. android/guava/src/com/google/common/cache/CacheLoader.java

       *
       * <p>This method should be overridden when bulk retrieval is significantly more efficient than
       * many individual lookups. Note that {@link LoadingCache#getAll} will defer to individual calls
       * to {@link LoadingCache#get} if this method is not overridden.
       *
       * @param keys the unique, non-null keys whose values should be loaded
       * @return a map from each key in {@code keys} to the value associated with that key; <b>may not
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 19 20:20:14 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

        this.entries = entries;
      }
    
      @Override
      public int size() {
        return entries.size();
      }
    
      @Override
      @CheckForNull
      public V get(@CheckForNull Object key) {
        return delegateMap.get(key);
      }
    
      @Override
      ImmutableSet<Entry<K, V>> createEntrySet() {
        return new ImmutableMapEntrySet.RegularEntrySet<>(this, entries);
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingSetMultimap.java

      @Override
      protected abstract SetMultimap<K, V> delegate();
    
      @Override
      public Set<Entry<K, V>> entries() {
        return delegate().entries();
      }
    
      @Override
      public Set<V> get(@ParametricNullness K key) {
        return delegate().get(key);
      }
    
      @CanIgnoreReturnValue
      @Override
      public Set<V> removeAll(@CheckForNull Object key) {
        return delegate().removeAll(key);
      }
    
      @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ForwardingSortedSetMultimap.java

      protected ForwardingSortedSetMultimap() {}
    
      @Override
      protected abstract SortedSetMultimap<K, V> delegate();
    
      @Override
      public SortedSet<V> get(@ParametricNullness K key) {
        return delegate().get(key);
      }
    
      @Override
      public SortedSet<V> removeAll(@CheckForNull Object key) {
        return delegate().removeAll(key);
      }
    
      @Override
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapKeySetTester.java

        int key0Count = multimap().get(k0()).size();
        assertEquals(key0Count > 0, multimap().keySet().remove(k0()));
        assertEquals(getNumElements() - key0Count, multimap().size());
        assertGet(k0());
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(SUPPORTS_ITERATOR_REMOVE)
      public void testKeySetIteratorRemove() {
        int key0Count = multimap().get(k0()).size();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMapValues.java

      }
    
      @Override
      public ImmutableList<V> asList() {
        final ImmutableList<Entry<K, V>> entryList = map.entrySet().asList();
        return new ImmutableList<V>() {
          @Override
          public V get(int index) {
            return entryList.get(index).getValue();
          }
    
          @Override
          boolean isPartialView() {
            return true;
          }
    
          @Override
          public int size() {
            return entryList.size();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/package-info.java

     *       {@linkplain SetMultimap#get collection of values} associated with a given key fulfills the
     *       {@link java.util.Set} contract.
     *   <dt>{@link SortedSetMultimap}
     *   <dd>An extension of {@link SetMultimap} for which the {@linkplain SortedSetMultimap#get
     *       collection values} associated with a given key is a {@link java.util.SortedSet}.
     *   <dt>{@link BiMap}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jul 06 16:29:45 GMT 2023
    - 5K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutIterableTester.java

        try {
          multimap().putAll(k3(), Lists.newArrayList(v3(), null));
          fail();
        } catch (NullPointerException expected) {
        }
    
        Collection<V> values = multimap().get(k3());
        if (values.size() == 0) {
          expectUnchanged();
          // Be extra thorough in case internal state was corrupted by the expected null.
          assertEquals(Lists.newArrayList(), Lists.newArrayList(values));
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 09 20:10:38 GMT 2018
    - 7.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/AbstractListTester.java

        if (getList().size() != expectedList.size()) {
          fail("size mismatch: " + reportContext(expectedList));
        }
        for (int i = 0; i < expectedList.size(); i++) {
          E expected = expectedList.get(i);
          E actual = getList().get(i);
          if (expected != actual && (expected == null || !expected.equals(actual))) {
            fail("mismatch at index " + i + ": " + reportContext(expectedList));
          }
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMapValues.java

      }
    
      @Override
      public ImmutableList<V> asList() {
        final ImmutableList<Entry<K, V>> entryList = map.entrySet().asList();
        return new ImmutableAsList<V>() {
          @Override
          public V get(int index) {
            return entryList.get(index).getValue();
          }
    
          @Override
          ImmutableCollection<V> delegateCollection() {
            return ImmutableMapValues.this;
          }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.6K bytes
    - Viewed (0)
Back to top