Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 102 for transform (0.17 sec)

  1. maven-compat/src/test/java/org/apache/maven/repository/metadata/DefaultClasspathTransformationTestType.java

        void testCompileClasspathTransform() throws Exception {
            ClasspathContainer res;
    
            res = transform.transform(graph, ArtifactScopeEnum.compile, false);
    
            assertNotNull(res, "null classpath container after compile transform");
            assertNotNull(res.getClasspath(), "null classpath after compile transform");
            assertEquals(3, res.getClasspath().size(), "compile classpath should have 3 entries");
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

        }
        Set<List<Optional<?>>> cartesianProduct = Sets.cartesianProduct(optionalSets);
        return Iterables.transform(
            cartesianProduct,
            new Function<List<Optional<?>>, List<Object>>() {
              @Override
              public List<Object> apply(List<Optional<?>> objs) {
                return Lists.transform(objs, OPTIONAL_TO_NULLABLE);
              }
            });
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> transform = Lists.transform(listIteratorOnlyList, SOME_FUNCTION);
        assertTrue(
            Iterables.elementsEqual(transform, Lists.transform(randomAccessList, SOME_FUNCTION)));
      }
    
      private static class ListIterationOnlyList<E> extends ForwardingList<E> {
        private final List<E> realDelegate;
    
        private ListIterationOnlyList(List<E> realDelegate) {
          this.realDelegate = realDelegate;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  4. 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 Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

            output.cancel(false);
            throw new MyRuntimeException();
          }
        }
        Transformer transformer = new Transformer();
        SettableFuture<Object> input = SettableFuture.create();
    
        ListenableFuture<Object> output = transform(input, transformer, directExecutor());
        transformer.output = output;
    
        input.set("foo");
        assertTrue(output.isCancelled());
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  6. maven-compat/src/test/java/org/apache/maven/artifact/transform/TransformationManagerTest.java

     * under the License.
     */
    package org.apache.maven.artifact.transform;
    
    import javax.inject.Inject;
    
    import java.util.List;
    
    import org.apache.maven.repository.legacy.resolver.transform.ArtifactTransformation;
    import org.apache.maven.repository.legacy.resolver.transform.ArtifactTransformationManager;
    import org.apache.maven.repository.legacy.resolver.transform.LatestArtifactTransformation;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> transform = Lists.transform(listIteratorOnlyList, SOME_FUNCTION);
        assertTrue(
            Iterables.elementsEqual(transform, Lists.transform(randomAccessList, SOME_FUNCTION)));
      }
    
      private static class ListIterationOnlyList<E> extends ForwardingList<E> {
        private final List<E> realDelegate;
    
        private ListIterationOnlyList(List<E> realDelegate) {
          this.realDelegate = realDelegate;
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  8. 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)
  9. guava-tests/test/com/google/common/cache/CacheBuilderFactory.java

        }
        Set<List<Optional<?>>> cartesianProduct = Sets.cartesianProduct(optionalSets);
        return Iterables.transform(
            cartesianProduct,
            new Function<List<Optional<?>>, List<Object>>() {
              @Override
              public List<Object> apply(List<Optional<?>> objs) {
                return Lists.transform(objs, OPTIONAL_TO_NULLABLE);
              }
            });
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  10. 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)
Back to top