Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 170 for Transform (0.04 seconds)

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

       * <p>If the input {@code Iterable} is known to be a {@code List} or other {@code Collection},
       * consider {@link Lists#transform} and {@link Collections2#transform}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@link Stream#map}
       */
      public static <F extends @Nullable Object, T extends @Nullable Object> Iterable<T> transform(
          Iterable<F> fromIterable, Function<? super F, ? extends T> function) {
        checkNotNull(fromIterable);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 16 18:35:28 GMT 2025
    - 43.8K bytes
    - Click Count (0)
  2. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

            artifactTypes.getByName("jar") {
                attributes.attribute(minified, java.lang.Boolean.FALSE)
            }
            /*
             * It would perhaps be better to do this more selectively instead of applying this transform so broadly and having
             * it just no-op in most cases.
             */
            registerTransform(Minify::class) {
                from.attribute(minified, false).attribute(artifactType, "jar")
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 25 16:18:05 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java

        @Inject
        GraphConflictResolver conflictResolver;
    
        // ----------------------------------------------------------------------------------------------------
        @Override
        public ClasspathContainer transform(MetadataGraph dirtyGraph, ArtifactScopeEnum scope, boolean resolve)
                throws MetadataGraphTransformationException {
            try {
                if (dirtyGraph == null || dirtyGraph.isEmpty()) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  4. .github/workflows/CheckBadMerge.groovy

            return getStdout("git show --format=%P --no-patch --no-show-signature $commit")
                .split(" ").collect { it.trim() }.grep { !it.isEmpty() }
        }
    
        @groovy.transform.ToString
        static class ExecResult {
            String stdout
            String stderr
            int returnCode
        }
    
        static ExecResult exec(String command) {
            Process process = command.execute()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jan 24 10:03:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  5. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/AbstractTable.java

        return new Values();
      }
    
      Iterator<V> valuesIterator() {
        return new TransformedIterator<Cell<R, C, V>, V>(cellSet().iterator()) {
          @Override
          @ParametricNullness
          V transform(Cell<R, C, V> cell) {
            return cell.getValue();
          }
        };
      }
    
      @GwtIncompatible("Spliterator")
      Spliterator<V> valuesSpliterator() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.legacy.resolver.transform;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.text.DateFormat;
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.GregorianCalendar;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

             * @param fieldName A description of the field being interpolated. The implementation may use this to
             *                  log stuff.
             * @return the interpolated value
             */
            String transform(String source, String fieldName);
        }
    
        @Nonnull
        static XmlReaderRequestBuilder builder() {
            return new XmlReaderRequestBuilder();
        }
    
        @NotThreadSafe
        class XmlReaderRequestBuilder {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:46:27 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  10. 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(
                    new Function<Integer, Integer>() {
                      @Override
                      public Integer apply(Integer input) {
                        return input + 1;
                      }
                    },
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top