Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 345 for transforms (0.05 seconds)

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

    package com.google.common.collect;
    
    import static com.google.common.base.Preconditions.checkArgument;
    import static com.google.common.base.Preconditions.checkNotNull;
    import static com.google.common.collect.Iterables.transform;
    import static com.google.common.collect.Iterators.mergeSorted;
    import static java.util.Objects.requireNonNull;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 18 15:05:43 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/graph/BaseGraph.java

       * EndpointPair<N>} objects (that is, a {@code Network<N, EndpointPair<N>>}). The resulting {@code
       * Network}'s edge-oriented methods (such as {@code inEdges()}) will return views transformed from
       * the corresponding node-oriented methods (such as {@code predecessors()}).
       *
       * <p>This capability facilitates writing implementations of <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Nov 11 17:11:16 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

        assertThat(f.get()).isEqualTo(CustomRuntimeException.class);
      }
    
      public void testTransform() throws Exception {
        FluentFuture<Integer> f =
            FluentFuture.from(immediateFuture(1)).transform(i -> i + 1, directExecutor());
        assertThat(f.get()).isEqualTo(2);
      }
    
      public void testTransformAsync() throws Exception {
        FluentFuture<Integer> f =
            FluentFuture.from(immediateFuture(1))
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  4. compat/maven-settings/pom.xml

                </goals>
                <phase>generate-sources</phase>
                <configuration>
                  <templates>
                    <template>merger.vm</template>
                    <template>transformer.vm</template>
                    <template>reader-stax.vm</template>
                    <template>writer-stax.vm</template>
                  </templates>
                  <params combine.children="append">
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Jun 29 22:37:39 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  5. src/test/java/jcifs/SmbTransportPoolTest.java

                transportPool.removeTransport(null);
    
                // Then
                verify(transportPool).removeTransport(null);
            }
    
            @Test
            @DisplayName("Should remove multiple transports")
            void testRemoveMultipleTransports() {
                // Given
                SmbTransport transport2 = mock(SmbTransport.class);
                doNothing().when(transportPool).removeTransport(any());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 22.6K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/cache/CacheReferencesTest.java

      }
    
      private Iterable<LoadingCache<Key, String>> caches() {
        CacheBuilderFactory factory = factoryWithAllKeyStrengths();
        return Iterables.transform(
            factory.buildAllPermutations(), builder -> builder.build(KEY_TO_STRING_LOADER));
      }
    
      public void testContainsKeyAndValue() {
        for (LoadingCache<Key, String> cache : caches()) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  7. 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, value -> value.replaceAll("[\\r\\n]", ""));
    
        for (int chunk : CHUNK_SIZES) {
          chunk = max(1, min(chunk, input.length()));
          assertEquals(expectProcess, bufferHelper(input, chunk));
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 19:26:39 GMT 2026
    - 4.7K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/collect/Collections2Test.java

                      list.add((element == null) ? null : "q" + element);
                    }
                    return Collections2.transform(
                        list, from -> isNullOrEmpty(from) ? null : from.substring(1));
                  }
                })
            .named("Collections2.transform")
            .withFeatures(
                CollectionFeature.REMOVE_OPERATIONS,
                CollectionFeature.ALLOWS_NULL_VALUES,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/FluentIterableTest.java

          return Integer.valueOf(from);
        }
      }
    
      public void testTransformWith() {
        List<String> input = asList("1", "2", "3");
        Iterable<Integer> iterable = FluentIterable.from(input).transform(new IntegerValueOfFunction());
    
        assertEquals(asList(1, 2, 3), Lists.newArrayList(iterable));
        assertCanIterateAgain(iterable);
        assertThat(iterable.toString()).isEqualTo("[1, 2, 3]");
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
  10. api/maven-api-model/src/main/java/org/apache/maven/api/model/ModelObjectProcessor.java

     * <ul>
     *   <li>Pool identical objects to reduce memory footprint</li>
     *   <li>Intern objects for faster equality comparisons</li>
     *   <li>Apply custom optimization strategies</li>
     *   <li>Transform or modify objects during building</li>
     * </ul>
     *
     * <p>Implementations are discovered via the Java ServiceLoader mechanism and should
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 4.3K bytes
    - Click Count (0)
Back to Top