Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 621 - 630 of 2,100 for instanceof (0.44 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

                return new PathSource(path.resolve(relative));
            }
    
            @Override
            public boolean equals(Object o) {
                return o == this || o instanceof PathSource that && Objects.equals(path, that.path);
            }
    
            @Override
            public int hashCode() {
                return Objects.hash(path);
            }
    
            @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        GcFinalization.awaitClear(loaderRef);
      }
    
      private URL[] getClassPathUrls() {
        ClassLoader classLoader = getClass().getClassLoader();
        return classLoader instanceof URLClassLoader
            ? ((URLClassLoader) classLoader).getURLs()
            : parseJavaClassPath().toArray(new URL[0]);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 26 02:41:17 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/app/service/FailureUrlService.java

         */
        public FailureUrl store(final CrawlingConfig crawlingConfig, final String errorName, final String url, final Throwable e) {
            if (e instanceof ContainerNotAvailableException) {
                return null;
            }
    
            final FailureUrlBhv bhv = ComponentUtil.getComponent(FailureUrlBhv.class);
            final FailureUrl failureUrl = bhv.selectEntity(cb -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactoryRequest.java

                @Override
                public String getType() {
                    return type;
                }
    
                @Override
                public boolean equals(Object o) {
                    return o instanceof DefaultArtifactFactoryRequest that
                            && Objects.equals(groupId, that.groupId)
                            && Objects.equals(artifactId, that.artifactId)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                    return content;
                }
            }
    
            if (responseData.getMetaDataMap().get(Extractor.class.getSimpleName()) instanceof TikaExtractor) {
                return content;
            }
    
            final int maxAlphanumTermSize = getMaxAlphanumTermSize();
            final int maxSymbolTermSize = getMaxSymbolTermSize();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            super.tearDown(testInfo);
        }
    
        @Test
        public void test_constructor() {
            // Test that constructor creates an instance
            ScriptExecutor executor = new ScriptExecutor();
            assertNotNull(executor);
            assertTrue(executor instanceof JobExecutor);
        }
    
        @Test
        public void test_execute_withValidScriptType() {
            // Setup test script engine
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.5K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

                        return true;
                    }
    
                    @Override
                    public boolean equals(Object obj) {
                        return obj instanceof AlwaysTrueFilter;
                    }
    
                    @Override
                    public int hashCode() {
                        return AlwaysTrueFilter.class.hashCode();
                    }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 23K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

            Object logger = loggerField.get(null); // static field
    
            // Verify logger is not null
            assertNotNull(logger);
    
            // Verify logger is of the expected type
            assertTrue(logger instanceof org.apache.logging.log4j.Logger);
        }
    
        // Test concurrent execution of hook method
        @Test
        public void test_hook_concurrentExecution() throws Exception {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/AbstractBiMap.java

        }
    
        @Override
        public boolean remove(@Nullable Object object) {
          /*
           * `o instanceof Entry` is guaranteed by `contains`, but we check it here to satisfy our
           * nullness checker.
           */
          if (!esDelegate.contains(object) || !(object instanceof Entry)) {
            return false;
          }
    
          Entry<?, ?> entry = (Entry<?, ?>) object;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java

            } catch (final Exception e) {
                logger.warn("Failed to get active instances.", e);
            }
            return instances;
        }
    
        /**
         * Checks whether the specified instance is currently active.
         *
         * @param targetInstanceId the instance ID to check.
         * @return {@code true} if the instance is active.
         */
        public boolean isInstanceActive(final String targetInstanceId) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 33.3K bytes
    - Click Count (0)
Back to Top