Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 77 for transformed (0.06 seconds)

  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(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  2. 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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 35.4K bytes
    - Click Count (0)
  3. 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>.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 42.6K bytes
    - Click Count (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
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/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
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 10K bytes
    - Click Count (0)
  6. 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>() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 45.6K bytes
    - Click Count (0)
  7. 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 -->
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 26 10:37:56 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

     */
    class Response internal constructor(
      /**
       * The request that initiated this HTTP response. This is not necessarily the same request issued
       * by the application:
       *
       * * It may be transformed by the user's interceptors. For example, an application interceptor
       *   may add headers like `User-Agent`.
       * * It may be the request generated in response to an HTTP redirect or authentication
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jul 28 14:39:28 GMT 2025
    - 18.1K bytes
    - Click Count (0)
  9. 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);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 18.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/Optional.java

       * <p><b>Java 9 users:</b> some use cases can be written with calls to {@code optional.stream()}.
       *
       * @since 11.0
       */
      public abstract Set<T> asSet();
    
      /**
       * If the instance is present, it is transformed with the given {@link Function}; otherwise,
       * {@link Optional#absent} is returned.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> this method is similar to Java 8's {@code
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 15.4K bytes
    - Click Count (0)
Back to Top