Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 192 for Factory (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        }
      }
    
      public void testDaemon_false() {
        ThreadFactory factory = builder.setDaemon(false).build();
        Thread thread = factory.newThread(monitoredRunnable);
        assertFalse(thread.isDaemon());
      }
    
      public void testDaemon_true() {
        ThreadFactory factory = builder.setDaemon(true).build();
        Thread thread = factory.newThread(monitoredRunnable);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 20:07:52 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            CrawlerPooledObjectFactory<TestComponent> factory2 = createFactory("singletonComponent", listener);
    
            // Each factory retains its own configuration
            assertEquals("testComponent", factory.getComponentName());
            assertNull(factory.getOnDestroyListener());
    
            assertEquals("singletonComponent", factory2.getComponentName());
            assertSame(listener, factory2.getOnDestroyListener());
        }
    
        /**
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Thu Nov 20 13:07:01 GMT 2025
    - 36.7K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java

        /**
         * Constructs a CrawlerClientFactoryWrapper with the specified factory.
         *
         * @param factory the underlying CrawlerClientFactory instance to delegate operations to
         */
        public CrawlerClientFactoryWrapper(final CrawlerClientFactory factory) {
            this.factory = factory;
        }
    
        /**
         * Returns the parent CrawlerClientFactory.
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 5.2K bytes
    - Click Count (10)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

      private val routePlanner = FakeRoutePlanner()
      private val factory = routePlanner.factory
      private val peer = MockHttp2Peer()
    
      /** The fake task runner prevents the cleanup runnable from being started.  */
      private val addressA = factory.newAddress("a")
      private val routeA1 = factory.newRoute(addressA)
      private val addressB = factory.newAddress("b")
      private val routeB1 = factory.newRoute(addressB)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  5. 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 Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       {@link NullPointerException}.
       *   <li>If there is any visible constructor or visible static factory method declared by the
       *       class, all visible instance methods will be checked too using the instance created by
       *       invoking the constructor or static factory method.
       *   <li>If the constructor or factory method used to construct instance takes a parameter that
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

          String name, ByteSinkFactory factory, String string, String desc) {
        byte[] bytes = string.getBytes(UTF_8);
        TestSuite suite = suiteForBytes(name, factory, desc, bytes);
        CharSinkFactory charSinkFactory = SourceSinkFactories.asCharSinkFactory(factory);
        suite.addTest(
            CharSinkTester.suiteForString(
                name + ".asCharSink[Charset]", charSinkFactory, string, desc));
        return suite;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/io/ByteSinkTester.java

          String name, ByteSinkFactory factory, String string, String desc) {
        byte[] bytes = string.getBytes(UTF_8);
        TestSuite suite = suiteForBytes(name, factory, desc, bytes);
        CharSinkFactory charSinkFactory = SourceSinkFactories.asCharSinkFactory(factory);
        suite.addTest(
            CharSinkTester.suiteForString(
                name + ".asCharSink[Charset]", charSinkFactory, string, desc));
        return suite;
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 4K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/xml/SAXParserFactoryUtil.java

         *
         * @param factory
         *            {@link SAXParserFactory}. Must not be {@literal null}.
         * @return A new instance of {@link SAXParser}.
         */
        public static SAXParser newSAXParser(final SAXParserFactory factory) {
            assertArgumentNotNull("factory", factory);
    
            try {
                return factory.newSAXParser();
            } catch (final ParserConfigurationException e) {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/xml/DocumentBuilderFactoryUtil.java

         */
        public static DocumentBuilderFactory newInstance(final boolean external) {
            final DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
            if (!external) {
                try {
                    factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_DTD, "");
                    factory.setAttribute(XMLConstants.ACCESS_EXTERNAL_SCHEMA, "");
                } catch (final Exception e) {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.9K bytes
    - Click Count (0)
Back to Top