Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for transformed (0.06 sec)

  1. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        EntryTransformer<String, Integer, String> transformer =
            new EntryTransformer<String, Integer, String>() {
              @Override
              public String transformEntry(String key, Integer value) {
                return (value >= 0) ? key : "no" + key;
              }
            };
        Multimap<String, String> transformed = Multimaps.transformEntries(multimap, transformer);
        assertThat(transformed.entries())
            .containsExactly(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> transform = transform(listIteratorOnlyList, SOME_FUNCTION);
        assertTrue(elementsEqual(transform, transform(randomAccessList, SOME_FUNCTION)));
      }
    
      private static class ListIterationOnlyList<E> extends ForwardingList<E> {
        private final List<E> realDelegate;
    
        private ListIterationOnlyList(List<E> realDelegate) {
          this.realDelegate = realDelegate;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> transform = transform(listIteratorOnlyList, SOME_FUNCTION);
        assertTrue(elementsEqual(transform, transform(randomAccessList, SOME_FUNCTION)));
      }
    
      private static class ListIterationOnlyList<E> extends ForwardingList<E> {
        private final List<E> realDelegate;
    
        private ListIterationOnlyList(List<E> realDelegate) {
          this.realDelegate = realDelegate;
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Tables.java

        // TODO(jlevy): Wrap factory to validate that the supplied maps are empty?
        return new StandardTable<>(backingMap, factory);
      }
    
      /**
       * Returns a view of a table where each value is transformed by a function. All other properties
       * of the table, such as iteration order, are left intact.
       *
       * <p>Changes in the underlying table are reflected in this view. Conversely, this view supports
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/CacheControl.kt

         * Unsatisfiable Request` response will be returned.
         */
        fun onlyIfCached() = commonOnlyIfCached()
    
        /** Don't accept a transformed response. */
        fun noTransform() = commonNoTransform()
    
        fun immutable() = commonImmutable()
    
        /**
         * Sets the maximum age of a cached response. If the cache response's age exceeds [maxAge], it
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:41:01 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. cmd/object-lambda-handlers.go

    		}
    		if apiErr.HTTPStatusCode == http.StatusOK {
    			return nil
    		}
    		return apiErr
    	}
    	return nil
    }
    
    // GetObjectLambdaHandler - GET Object with transformed data via lambda functions
    // ----------
    // This implementation of the GET operation applies lambda functions and returns the
    // response generated via the lambda functions. To use this API, you must have READ access
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Lists.java

       *
       * <p>If only a {@code Collection} or {@code Iterable} input is available, use {@link
       * Collections2#transform} or {@link Iterables#transform}.
       *
       * <p><b>Note:</b> serializing the returned list is implemented by serializing {@code fromList},
       * its contents, and {@code function} -- <i>not</i> by serializing the transformed values. This
       * can lead to surprising behavior, so serializing the returned list is <b>not recommended</b>.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        List<Integer> transformed =
            Lists.transform(
                list,
                new Function<String, Integer>() {
                  @Override
                  public Integer apply(String s) {
                    return Integer.valueOf(s);
                  }
                });
        assertTrue(
            removeIf(
                transformed,
                new Predicate<Integer>() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
  9. impl/maven-core/pom.xml

                  <!-- internal field removed -->
                  <exclude>org.apache.maven.graph.DefaultGraphBuilder#projectBuilder</exclude>
                  <!-- MavenPluginValidator has been transformed into an interface -->
                  <exclude>org.apache.maven.plugin.MavenPluginValidator</exclude>
                  <!-- Remove plexus logger -->
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 13:40:16 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/execution/MavenExecutionRequest.java

         * transformations on the remote repositories being used. For example if you replace existing repositories with
         * mirrors then it's easier to just replace the whole list with a new list of transformed repositories.
         *
         * @param repositories
         * @return This request, never {@code null}.
         */
        MavenExecutionRequest setRemoteRepositories(List<ArtifactRepository> repositories);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.4K bytes
    - Viewed (0)
Back to top