Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 773 for transform (0.19 sec)

  1. android/guava/src/com/google/common/collect/Multimaps.java

            ListMultimap<K, V1> fromMultimap, EntryTransformer<? super K, ? super V1, V2> transformer) {
          super(fromMultimap, transformer);
        }
    
        @Override
        List<V2> transform(@ParametricNullness K key, Collection<V1> values) {
          return Lists.transform((List<V1>) values, Maps.asValueToValueFunction(transformer, key));
        }
    
        @Override
        public List<V2> get(@ParametricNullness K key) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 86.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java

    package com.google.common.util.concurrent;
    
    import static com.google.common.util.concurrent.Futures.transform;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    
    import com.google.common.base.Function;
    import java.lang.reflect.UndeclaredThrowableException;
    
    /**
     * Unit tests for {@link Futures#transform(ListenableFuture, Function, Executor)}.
     *
     * @author Nishant Thakkar
     */
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 28 16:27:15 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/CacheControlJvmTest.kt

            .maxStale(2, TimeUnit.SECONDS)
            .minFresh(3, TimeUnit.SECONDS)
            .onlyIfCached()
            .noTransform()
            .immutable()
            .build()
        assertThat(cacheControl.toString()).isEqualTo(
          "no-cache, no-store, max-age=1, max-stale=2, min-fresh=3, only-if-cached, " +
            "no-transform, immutable",
        )
        assertThat(cacheControl.noCache).isTrue()
        assertThat(cacheControl.noStore).isTrue()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/-CacheControlCommon.kt

            if (minFreshSeconds != -1) append("min-fresh=").append(minFreshSeconds).append(", ")
            if (onlyIfCached) append("only-if-cached, ")
            if (noTransform) append("no-transform, ")
            if (immutable) append("immutable, ")
            if (isEmpty()) return ""
            deleteRange(length - 2, length)
          }
        headerValue = result
      }
      return result
    }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/FauxveridesTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Lists.transform;
    import static com.google.common.collect.Sets.difference;
    import static com.google.common.collect.Sets.newHashSet;
    import static java.lang.reflect.Modifier.isPublic;
    import static java.lang.reflect.Modifier.isStatic;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/FauxveridesTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static com.google.common.collect.Lists.transform;
    import static com.google.common.collect.Sets.difference;
    import static com.google.common.collect.Sets.newHashSet;
    import static java.lang.reflect.Modifier.isPublic;
    import static java.lang.reflect.Modifier.isStatic;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Oct 31 16:03:42 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            Model model = result.getRawModel();
            return transform(model, project);
        }
    
        protected Model buildNonPom(RepositorySystemSession session, MavenProject project, Path src)
                throws ModelBuilderException {
            ModelBuilderResult result = buildModel(session, project, src);
            Model model = result.getEffectiveModel();
            return transform(model, project);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

       *
       * @param input The future to transform
       * @param function A function to transform the result of the input future to the result of the
       *     output future
       * @param executor Executor to run the function in.
       * @return A future that holds result of the function (if the input succeeded) or the original
       *     input's failure (if not)
       * @since 19.0 (in 11.0 as {@code transform})
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      public void testTransform_absent() {
        assertEquals(Optional.absent(), Optional.absent().transform(Functions.identity()));
        assertEquals(Optional.absent(), Optional.absent().transform(Functions.toStringFunction()));
      }
    
      public void testTransform_presentIdentity() {
        assertEquals(Optional.of("a"), Optional.of("a").transform(Functions.identity()));
      }
    
      public void testTransform_presentToString() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

        }
    
        @Override
        public void resolveTypes(Transformer<String, String> transformer) {
            super.resolveTypes(transformer);
            if (superClassName != null) {
                superClassName = transformer.transform(superClassName);
            }
            for (int i = 0; i < interfaceNames.size(); i++) {
                interfaceNames.set(i, transformer.transform(interfaceNames.get(i)));
            }
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 10.1K bytes
    - Viewed (0)
Back to top