Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 551 - 560 of 623 for iterables (0.06 seconds)

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

              @Override
              public Object load(Object key) throws Exception {
                return new Object();
              }
    
              @Override
              public Map<Object, Object> loadAll(Iterable<?> keys) throws Exception {
                Map<Object, Object> result = new HashMap<>();
                for (Object key : keys) {
                  Object value = new Object();
                  result.put(key, value);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Multimap.java

       * }
       *
       * <p>In particular, this is a no-op if {@code values} is empty.
       *
       * @return {@code true} if the multimap changed
       */
      @CanIgnoreReturnValue
      boolean putAll(@ParametricNullness K key, Iterable<? extends V> values);
    
      /**
       * Stores all key-value pairs of {@code multimap} in this multimap, in the order returned by
       * {@code multimap.entries()}.
       *
       * @return {@code true} if the multimap changed
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

              @Override
              public Object load(Object key) throws Exception {
                return new Object();
              }
    
              @Override
              public Map<Object, Object> loadAll(Iterable<?> keys) throws Exception {
                Map<Object, Object> result = new HashMap<>();
                for (Object key : keys) {
                  Object value = new Object();
                  result.put(key, value);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  4. guava/src/com/google/common/cache/LoadingCache.java

       *     values
       * @throws ExecutionError if an error was thrown while loading the values
       * @since 11.0
       */
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this
      ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException;
    
      /**
       * @deprecated Provided to satisfy the {@code Function} interface; use {@link #get} or {@link
       *     #getUnchecked} instead.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  5. docs/ja/docs/tutorial/server-sent-events.md

    ///
    
    ### 非 async の *path operation 関数* { #non-async-path-operation-functions }
    
    通常の `def` 関数(`async` なし)も使用でき、同様に `yield` を使えます。
    
    イベントループをブロックしないよう、FastAPI が正しく実行されるように調整します。
    
    この場合は関数が async ではないため、適切な戻り値の型は `Iterable[Item]` です:
    
    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[28:31] hl[29] *}
    
    ### 戻り値の型なし { #no-return-type }
    
    戻り値の型を省略することもできます。FastAPI は [`jsonable_encoder`](./encoder.md) を使ってデータを変換し、送信します。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 5.8K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        }
    
        final Iterable<Method> getStaticMethods(Class<?> cls) {
          ImmutableList.Builder<Method> builder = ImmutableList.builder();
          for (Method method : getVisibleMethods(cls)) {
            if (Invokable.from(method).isStatic()) {
              builder.add(method);
            }
          }
          return builder.build();
        }
    
        final Iterable<Method> getInstanceMethods(Class<?> cls) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/query-params-str-validations.md

    Avec `data.items()` nous obtenons un <dfn title="Quelque chose que l’on peut itérer avec une boucle for, comme une liste, un set, etc.">objet itérable</dfn> avec des tuples contenant la clé et la valeur pour chaque élément du dictionnaire.
    
    Nous convertissons cet objet itérable en une `list` propre avec `list(data.items())`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 19K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java

                return 0;
            }
    
            @Override
            public int getFileIndex() {
                return 0;
            }
        }
    
        @Test
        @DisplayName("Happy path: iterates and adapts entries without filter")
        void happyPath_noFilter_returnsAdaptedResources() throws Exception {
            // Arrange: two valid entries
            setupParentForUrlCreation();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/EnumBiMapTest.java

        @SuppressWarnings("unchecked")
        @Override
        public Entry<Country, Currency>[] createArray(int length) {
          return (Entry<Country, Currency>[]) new Entry<?, ?>[length];
        }
    
        @Override
        public Iterable<Entry<Country, Currency>> order(List<Entry<Country, Currency>> insertionOrder) {
          return orderEntriesByKey(insertionOrder);
        }
    
        @Override
        public Country[] createKeyArray(int length) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 11.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/cache/LoadingCache.java

       *     values
       * @throws ExecutionError if an error was thrown while loading the values
       * @since 11.0
       */
      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this
      ImmutableMap<K, V> getAll(Iterable<? extends K> keys) throws ExecutionException;
    
      /**
       * @deprecated Provided to satisfy the {@code Function} interface; use {@link #get} or {@link
       *     #getUnchecked} instead.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 12:40:22 GMT 2026
    - 8.5K bytes
    - Click Count (0)
Back to Top