Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 42 for factories (0.05 seconds)

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

  1. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

              FactoryMethodReturnsNullException {
        if (cls.isEnum()) {
          return;
        }
        List<? extends Invokable<?, ?>> factories = Lists.reverse(getFactories(TypeToken.of(cls)));
        if (factories.isEmpty()) {
          return;
        }
        int numberOfParameters = factories.get(0).getParameters().size();
        List<ParameterNotInstantiableException> paramErrors = new ArrayList<>();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

            MockitoAnnotations.initMocks(this);
    
            Map<String, ToolchainFactory> factories = new HashMap<>();
            factories.put("basic", toolchainFactoryBasicType);
            factories.put("rare", toolchainFactoryRareType);
    
            when(lookup.lookupMap(ToolchainFactory.class)).thenReturn(factories);
            when(lookup.lookupMap(org.apache.maven.toolchain.ToolchainFactory.class))
                    .thenReturn(Map.of());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 11K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientCreator.java

    /**
     * Creates and manages crawler clients for web crawling operations.
     * This class handles the registration and loading of crawler client factories and their associated clients.
     * <p>
     * The class maintains a mapping between regular expressions and component names, and manages a list
     * of crawler client factories with a configurable maximum size.
     * </p>
     *
     */
    public class CrawlerClientCreator {
        /**
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Sun Jul 06 02:13:03 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/internal/impl/TestApi.java

        @Test
        void testMetadataGeneratorFactory() throws ComponentLookupException {
            List<MetadataGeneratorFactory> factories = plexusContainer.lookupList(MetadataGeneratorFactory.class);
            assertNotNull(factories);
            factories.forEach(f -> System.out.println(f.getClass().getName()));
            assertEquals(3, factories.size());
        }
    
        @Test
        void testProjectDependencies() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java

            holder.addCommandRegistry(builtins);
    
            // gather commands
            Map<String, ShellCommandRegistryFactory> factories =
                    context.lookup.lookupMap(ShellCommandRegistryFactory.class);
            for (Map.Entry<String, ShellCommandRegistryFactory> entry : factories.entrySet()) {
                holder.addCommandRegistry(entry.getValue().createShellCommandRegistry(context));
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

      private lateinit var client: OkHttpClient
    
      @BeforeEach
      fun setUp() {
        // Sockets on some platforms can have large buffers that mean writes do not block when
        // required. These socket factories explicitly set the buffer sizes on sockets created.
        server = MockWebServer()
        server.serverSocketFactory =
          object : DelegatingServerSocketFactory(getDefault()) {
            @Throws(SocketException::class)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 18:33:48 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt

      fun setUp() {
        if (connectionType == H2) {
          platform.assumeHttp2Support()
        }
    
        // Sockets on some platforms can have large buffers that mean writes do not block when
        // required. These socket factories explicitly set the buffer sizes on sockets created.
        server = MockWebServer()
        server.serverSocketFactory =
          object : DelegatingServerSocketFactory(ServerSocketFactory.getDefault()) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *
       * <ul>
       *   <li>The visible constructor or visible static factory method with the most parameters is used
       *       to construct the sample instances. In case of tie, the candidate constructors or
       *       factories are tried one after another until one can be used to construct sample
       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
    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)
  9. android/guava/src/com/google/common/collect/Ordering.java

      // plus https://github.com/google/guava/issues/989
      public static <C extends Comparable> Ordering<C> natural() {
        return (Ordering<C>) NaturalOrdering.INSTANCE;
      }
    
      // Static factories
    
      /**
       * Returns an ordering based on an <i>existing</i> comparator instance. Note that it is
       * unnecessary to create a <i>new</i> anonymous inner class implementing {@code Comparator} just
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.5K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *
       * <ul>
       *   <li>The visible constructor or visible static factory method with the most parameters is used
       *       to construct the sample instances. In case of tie, the candidate constructors or
       *       factories are tried one after another until one can be used to construct sample
       *       instances.
       *   <li>For the constructor or static factory method used to construct instances, it's checked
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 17.9K bytes
    - Click Count (0)
Back to Top