Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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)
  2. 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)
  3. android/guava-tests/test/com/google/common/math/StatsTesting.java

        assertThat(transformation.inverse().isVertical()).isFalse();
        assertThat(transformation.transform(x1)).isWithin(ALLOWED_ERROR).of(y1);
        assertThat(transformation.transform(x1 + xDelta)).isWithin(ALLOWED_ERROR).of(y1 + yDelta);
        assertThat(transformation.inverse().transform(y1)).isWithin(ALLOWED_ERROR).of(x1);
        assertThat(transformation.inverse().transform(y1 + yDelta))
            .isWithin(ALLOWED_ERROR)
            .of(x1 + xDelta);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 22.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/MathTesting.java

        POSITIVE_INTEGER_CANDIDATES = intValues.build();
        NEGATIVE_INTEGER_CANDIDATES =
            ImmutableList.copyOf(
                Iterables.concat(
                    Iterables.transform(POSITIVE_INTEGER_CANDIDATES, NEGATE_INT),
                    ImmutableList.of(Integer.MIN_VALUE)));
        NONZERO_INTEGER_CANDIDATES =
            ImmutableList.copyOf(
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 11.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/StatsTesting.java

        assertThat(transformation.inverse().isVertical()).isFalse();
        assertThat(transformation.transform(x1)).isWithin(ALLOWED_ERROR).of(y1);
        assertThat(transformation.transform(x1 + xDelta)).isWithin(ALLOWED_ERROR).of(y1 + yDelta);
        assertThat(transformation.inverse().transform(y1)).isWithin(ALLOWED_ERROR).of(x1);
        assertThat(transformation.inverse().transform(y1 + yDelta))
            .isWithin(ALLOWED_ERROR)
            .of(x1 + xDelta);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 23.8K bytes
    - Viewed (0)
  6. android/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 May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 18:32:41 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  7. 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)
  8. android/guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

            Entry<String, String> entry = (Entry<String, String>) o;
            multimap.put(entry.getKey(), Ascii.toUpperCase(entry.getValue()));
          }
          return transform(multimap);
        }
    
        abstract M transform(Multimap<String, String> multimap);
    
        @SuppressWarnings("unchecked")
        @Override
        public Entry<String, String>[] createArray(int length) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

     *
     * <pre>{@code
     * ListenableFuture<Boolean> adminIsLoggedIn =
     *     FluentFuture.from(usersDatabase.getAdminUser())
     *         .transform(User::getId, directExecutor())
     *         .transform(ActivityService::isLoggedIn, threadPool)
     *         .catching(RpcException.class, e -> false, directExecutor());
     * }</pre>
     *
     * <h3>Alternatives</h3>
     *
     * <h4>Frameworks</h4>
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

            Model model = result.getRawModel();
            return transform(model, project);
        }
    
        protected Model buildNonPom(RepositorySystemSession session, MavenProject project, Path src)
                throws ModelBuilderException {
            ModelBuilderResult result = buildModel(session, project, src);
            Model model = result.getEffectiveModel();
            return transform(model, project);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top