Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 116 for transform (0.15 sec)

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

                  "html",
                  "io",
                  "math",
                  "net",
                  "primitives",
                  "reflect",
                  "util.concurrent",
                  "xml")
              .transform("com.google.common."::concat)
              .toSet();
    
      public void testClassesHaveOverrides() throws Exception {
        for (ClassInfo info : ClassPath.from(getClass().getClassLoader()).getAllClasses()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

        super.tearDown();
      }
    
      public void testFrom() throws Exception {
        ClosingFuture<String> closingFuture =
            ClosingFuture.from(executor.submit(Callables.returning(closeable1)))
                .transform(
                    new ClosingFunction<TestCloseable, String>() {
                      @Override
                      public String apply(DeferredCloser closer, TestCloseable v) throws Exception {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/graph/DirectedGraphConnections.java

        if (orderedNodeConnections == null) {
          resultWithDoubleSelfLoop =
              Iterators.concat(
                  Iterators.transform(
                      predecessors().iterator(),
                      (N predecessor) -> EndpointPair.ordered(predecessor, thisNode)),
                  Iterators.transform(
                      successors().iterator(),
                      (N successor) -> EndpointPair.ordered(thisNode, successor)));
        } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 18K bytes
    - Viewed (0)
  4. futures/listenablefuture1/src/com/google/common/util/concurrent/ListenableFuture.java

     * asynchronous operations. You can chain them together manually with calls to methods like {@link
     * Futures#transform(ListenableFuture, com.google.common.base.Function, Executor) Futures.transform}
     * (or {@link FluentFuture#transform(com.google.common.base.Function, Executor)
     * FluentFuture.transform}), but you will often find it easier to use a framework. Frameworks
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:13:41 GMT 2023
    - 8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Collections2.java

       *
       * <p>When a live view is <i>not</i> needed, it may be faster to copy the transformed collection
       * and use the copy.
       *
       * <p>If the input {@code Collection} is known to be a {@code List}, consider {@link
       * Lists#transform}. If only an {@code Iterable} is available, use {@link Iterables#transform}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link java.util.stream.Stream#map Stream.map}.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  6. 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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

            int[] taskDeltas = future.get();
            for (int i = 0; i < deltas.length; i++) {
              deltas[i] += taskDeltas[i];
            }
          }
    
          List<Integer> actualCounts =
              Lists.transform(
                  keys,
                  new Function<String, Integer>() {
                    @Override
                    public Integer apply(String key) {
                      return multiset.count(key);
                    }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 5.8K 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/io/LineBufferTest.java

      private static void bufferHelper(String input, String... expect) throws IOException {
    
        List<String> expectProcess = Arrays.asList(expect);
        List<String> expectRead =
            Lists.transform(
                expectProcess,
                new Function<String, String>() {
                  @Override
                  public String apply(String value) {
                    return value.replaceAll("[\\r\\n]", "");
                  }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 4.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/TransformedListIterator.java

      }
    
      @Override
      public final boolean hasPrevious() {
        return backingIterator().hasPrevious();
      }
    
      @Override
      @ParametricNullness
      public final T previous() {
        return transform(backingIterator().previous());
      }
    
      @Override
      public final int nextIndex() {
        return backingIterator().nextIndex();
      }
    
      @Override
      public final int previousIndex() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Nov 21 21:43:01 GMT 2023
    - 2.1K bytes
    - Viewed (0)
Back to top