Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Transform (0.12 sec)

  1. 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})
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  2. 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})
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Multimaps.java

        }
    
        Collection<V2> transform(@ParametricNullness K key, Collection<V1> values) {
          Function<? super V1, V2> function = Maps.asValueToValueFunction(transformer, key);
          if (values instanceof List) {
            return Lists.transform((List<V1>) values, function);
          } else {
            return Collections2.transform(values, function);
          }
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertFalse(iterator.hasNext());
      }
    
      public void testTransform() {
        Iterator<String> input = asList("1", "2", "3").iterator();
        Iterator<Integer> result =
            Iterators.transform(
                input,
                new Function<String, Integer>() {
                  @Override
                  public Integer apply(String from) {
                    return Integer.valueOf(from);
                  }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertFalse(iterator.hasNext());
      }
    
      public void testTransform() {
        Iterator<String> input = asList("1", "2", "3").iterator();
        Iterator<Integer> result =
            Iterators.transform(
                input,
                new Function<String, Integer>() {
                  @Override
                  public Integer apply(String from) {
                    return Integer.valueOf(from);
                  }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            try {
                Model model = readFileModel(request, problems);
    
                try {
                    if (transformer != null && context != null) {
                        transformer.transform(pomFile, context, model);
                    }
                } catch (TransformerException e) {
                    problems.add(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Synchronized.java

          // Must be manually synchronized.
          return new TransformedIterator<Map.Entry<K, Collection<V>>, Map.Entry<K, Collection<V>>>(
              super.iterator()) {
            @Override
            Map.Entry<K, Collection<V>> transform(final Map.Entry<K, Collection<V>> entry) {
              return new ForwardingMapEntry<K, Collection<V>>() {
                @Override
                protected Map.Entry<K, Collection<V>> delegate() {
                  return entry;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Synchronized.java

          // Must be manually synchronized.
          return new TransformedIterator<Map.Entry<K, Collection<V>>, Map.Entry<K, Collection<V>>>(
              super.iterator()) {
            @Override
            Map.Entry<K, Collection<V>> transform(final Map.Entry<K, Collection<V>> entry) {
              return new ForwardingMapEntry<K, Collection<V>>() {
                @Override
                protected Map.Entry<K, Collection<V>> delegate() {
                  return entry;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterators.java

       * element.
       */
      public static <F extends @Nullable Object, T extends @Nullable Object> Iterator<T> transform(
          Iterator<F> fromIterator, Function<? super F, ? extends T> function) {
        checkNotNull(function);
        return new TransformedIterator<F, T>(fromIterator) {
          @ParametricNullness
          @Override
          T transform(@ParametricNullness F from) {
            return function.apply(from);
          }
        };
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_3x.md

        challenge.
     *  Fix: Use the proxy authenticator when authenticating HTTP proxies. This
        regression was introduced in OkHttp 3.0.
     *  Fix: Fail fast if network interceptors transform the response body such that
        closing it doesn't also close the underlying stream. We had a bug where
        OkHttp would attempt to reuse a connection but couldn't because it was still
        held by a prior request.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top