Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 171 - 180 of 593 for factory (0.11 seconds)

  1. guava/src/com/google/common/collect/TopKSelector.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * An accumulator that selects the "top" {@code k} elements added to it, relative to a provided
     * comparator. "Top" can mean the greatest or the lowest elements, specified in the factory used to
     * create the {@code TopKSelector} instance.
     *
     * <p>If your input data is available as a {@link Stream}, prefer passing {@link
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Aug 31 13:15:26 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  2. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ExtensibleEnumProvider.java

         * that should be registered. The returned collection should contain all the enum values
         * that this provider wants to contribute.
         * <p>
         * The values returned by this method should be created using the appropriate factory methods
         * for the specific enum type, such as {@code language()}, {@code projectScope()}, or
         * {@code pathScope()}.
         *
         * @return a non-null collection of enum instances to register
         */
        @Nonnull
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Apr 03 13:33:59 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. README.md

    });
    
    // Configure content extraction
    container.singleton("tikaExtractor", TikaExtractor.class);
    container.singleton("extractorFactory", ExtractorFactory.class, factory -> {
        factory.addExtractor("text/html", container.getComponent("tikaExtractor"));
        factory.addExtractor("application/pdf", container.getComponent("tikaExtractor"));
    });
    
    Crawler crawler = container.getComponent("crawler");
    crawler.addUrl("https://example.com");
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Aug 31 05:32:52 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ImmutableCollection.java

     *       how the collection was created. Typically this is insertion order unless an explicit
     *       ordering is otherwise specified (e.g. {@link ImmutableSortedSet#naturalOrder}). See the
     *       appropriate factory method for details. View collections such as {@link
     *       ImmutableMultiset#elementSet} iterate in the same order as the parent, except as noted.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 18.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       how the collection was created. Typically this is insertion order unless an explicit
     *       ordering is otherwise specified (e.g. {@link ImmutableSortedSet#naturalOrder}). See the
     *       appropriate factory method for details. View collections such as {@link
     *       ImmutableMultiset#elementSet} iterate in the same order as the parent, except as noted.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/util/ErrorToWarnRewritePolicy.java

                        return event;
                    }
                    return new Log4jLogEvent.Builder(event).setLevel(Level.WARN).build();
                }
            }
            return event;
        }
    
        /**
         * Factory method to create an ErrorToWarnRewritePolicy instance.
         *
         * @param loggerNamePrefix comma-separated list of logger name prefixes
         * @return a new ErrorToWarnRewritePolicy instance
         */
        @PluginFactory
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/StandardTable.java

      final Map<R, Map<C, V>> backingMap;
      final Supplier<? extends Map<C, V>> factory;
    
      StandardTable(Map<R, Map<C, V>> backingMap, Supplier<? extends Map<C, V>> factory) {
        this.backingMap = backingMap;
        this.factory = factory;
      }
    
      // Accessors
    
      @Override
      public boolean contains(@Nullable Object rowKey, @Nullable Object columnKey) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 30.4K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

    import org.apache.maven.toolchain.model.ToolchainModel;
    import org.codehaus.plexus.util.xml.Xpp3Dom;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * JDK toolchain factory.
     * This is a <code>ToolchainFactory</code> Plexus component registered with
     * <code>jdk</code> hint.
     *
     * @since 2.0.9, renamed from <code>DefaultJavaToolchainFactory</code> in 3.2.4
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

            }
    
            RemoteRepository remoteRepo = RepositoryUtils.toRepo(deploymentRepository);
            /*
             * NOTE: This provides backward-compat with maven-deploy-plugin:2.4 which bypasses the repository factory when
             * using an alternative deployment location.
             */
            if (deploymentRepository instanceof DefaultArtifactRepository
                    && deploymentRepository.getAuthentication() == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/util/LogNotificationAppender.java

                }
            } catch (final Exception e) {
                // ComponentUtil not initialized yet
            }
            return minLevel;
        }
    
        /**
         * Factory method to create a LogNotificationAppender instance.
         *
         * @param name the appender name
         * @param minLevel the minimum log level string (defaults to ERROR)
         * @param filter the filter to apply
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 6K bytes
    - Click Count (0)
Back to Top