Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 for Transform (0.06 seconds)

  1. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        ClosingFuture<String> step1 =
            step0.transform(
                (DeferredCloser closer, String v) -> {
                  closer.eventuallyClose(closeable1, closingExecutor);
                  return "value 1";
                },
                executor);
        Waiter step2Waiter = new Waiter();
        ClosingFuture<String> step2 =
            step1.transform(
                step2Waiter.waitFor(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        ClosingFuture<String> step1 =
            step0.transform(
                (DeferredCloser closer, String v) -> {
                  closer.eventuallyClose(closeable1, closingExecutor);
                  return "value 1";
                },
                executor);
        Waiter step2Waiter = new Waiter();
        ClosingFuture<String> step2 =
            step1.transform(
                step2Waiter.waitFor(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 63K bytes
    - Click Count (0)
  3. 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})
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 64.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Multimaps.java

        }
    
        Collection<V2> transform(@ParametricNullness K key, Collection<V1> values) {
          Function<? super V1, V2> function = v1 -> transformer.transformEntry(key, v1);
          if (values instanceof List) {
            return Lists.transform((List<V1>) values, function);
          } else {
            return Collections2.transform(values, function);
          }
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Multimaps.java

        }
    
        Collection<V2> transform(@ParametricNullness K key, Collection<V1> values) {
          Function<? super V1, V2> function = v1 -> transformer.transformEntry(key, v1);
          if (values instanceof List) {
            return Lists.transform((List<V1>) values, function);
          } else {
            return Collections2.transform(values, function);
          }
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 86.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb/SmbSessionImpl.java

        }
    
        /**
         * Encrypt a message using the session's encryption context
         *
         * @param message the message to encrypt
         * @return encrypted message with transform header
         * @throws CIFSException if encryption fails or is not enabled
         */
        public byte[] encryptMessage(byte[] message) throws CIFSException {
            if (this.encryptionContext == null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 68.9K bytes
    - Click Count (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(Map.Entry<K, Collection<V>> entry) {
              return new ForwardingMapEntry<K, Collection<V>>() {
                @Override
                protected Map.Entry<K, Collection<V>> delegate() {
                  return entry;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 53K bytes
    - Click Count (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(Map.Entry<K, Collection<V>> entry) {
              return new ForwardingMapEntry<K, Collection<V>>() {
                @Override
                protected Map.Entry<K, Collection<V>> delegate() {
                  return entry;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (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);
          }
        };
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
  10. 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);
          }
        };
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 16 12:42:11 GMT 2025
    - 51.4K bytes
    - Click Count (0)
Back to Top