Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 593 for factory (0.17 seconds)

  1. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/GitInfoPlugin.java

    class GitInfoPlugin implements Plugin<Project> {
    
        private ProviderFactory factory;
        private ObjectFactory objectFactory;
    
        private Provider<String> revision;
        private Property<GitInfo> gitInfo;
    
        @Inject
        public GitInfoPlugin(ProviderFactory factory, ObjectFactory objectFactory) {
            this.factory = factory;
            this.objectFactory = objectFactory;
        }
    
        @Override
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.9K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/ingest/IngestFactoryTest.java

    public class IngestFactoryTest extends UnitFessTestCase {
    
        @Test
        public void test_add_1() {
            IngestFactory factory = new IngestFactory();
            factory.add(new TestIngester(1));
            factory.add(new TestIngester(2));
            factory.add(new TestIngester(3));
            Ingester[] ingesters = factory.getIngesters();
            assertEquals(1, ingesters[0].getPriority());
            assertEquals(2, ingesters[1].getPriority());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/curl/CurlTest.java

            // ## Test that each factory method call returns a new instance ##
    
            // ## Act ##
            final CurlRequest request1 = Curl.get("http://example.com");
            final CurlRequest request2 = Curl.get("http://example.com");
    
            // ## Assert ##
            assertNotNull(request1);
            assertNotNull(request2);
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/ingest/IngestFactory.java

     */
    package org.codelibs.fess.ingest;
    
    import java.util.Arrays;
    
    import org.apache.logging.log4j.LogManager;
    import org.apache.logging.log4j.Logger;
    
    /**
     * Factory class for managing and organizing document ingesters.
     * The factory maintains a sorted collection of ingesters based on their priority
     * and provides methods to add new ingesters and retrieve the current collection.
     *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/smb2/rdma/RdmaProviderFactory.java

    /**
     * Factory for creating RDMA provider instances.
     *
     * This factory attempts to select the best available RDMA provider
     * based on system capabilities and configuration preferences.
     */
    public class RdmaProviderFactory {
    
        /**
         * Private constructor to prevent instantiation
         */
        private RdmaProviderFactory() {
            // Factory class - not instantiable
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/CollectSpliterators.java

        final Factory<InElementT, OutSpliteratorT> factory;
        int characteristics;
        long estimatedSize;
    
        FlatMapSpliterator(
            @Nullable OutSpliteratorT prefix,
            Spliterator<InElementT> from,
            Function<? super InElementT, @Nullable OutSpliteratorT> function,
            Factory<InElementT, OutSpliteratorT> factory,
            int characteristics,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 19.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/CollectSpliterators.java

        final Factory<InElementT, OutSpliteratorT> factory;
        int characteristics;
        long estimatedSize;
    
        FlatMapSpliterator(
            @Nullable OutSpliteratorT prefix,
            Spliterator<InElementT> from,
            Function<? super InElementT, @Nullable OutSpliteratorT> function,
            Factory<InElementT, OutSpliteratorT> factory,
            int characteristics,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

       * }
       *
       * CycleDetectingLockFactory.WithExplicitOrdering<MyLockOrder> factory =
       *     CycleDetectingLockFactory.newInstanceWithExplicitOrdering(Policies.THROW);
       *
       * Lock lock1 = factory.newReentrantLock(MyLockOrder.FIRST);
       * Lock lock2 = factory.newReentrantLock(MyLockOrder.SECOND);
       * Lock lock3 = factory.newReentrantLock(MyLockOrder.THIRD);
       *
       * lock1.lock();
       * lock3.lock();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 36K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/io/SourceSinkTester.java

              .buildOrThrow();
    
      protected final F factory;
      protected final T data;
      protected final T expected;
    
      private final String suiteName;
      private final String caseDesc;
    
      SourceSinkTester(F factory, T data, String suiteName, String caseDesc, Method method) {
        super(method.getName());
        this.factory = checkNotNull(factory);
        this.data = checkNotNull(data);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/io/TraversalUtil.java

         * @param factory
         *            The {@link Traverser} factory for the protocol. Must not be {@literal null}.
         */
        public static void addTraverserFactory(final String protocol, final TraverserFactory factory) {
            assertArgumentNotEmpty("protocol", protocol);
            assertArgumentNotNull("factory", factory);
    
            traverserFactories.put(protocol, factory);
        }
    
        /**
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 18.6K bytes
    - Click Count (0)
Back to Top