Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 521 - 530 of 2,436 for instanceOf (0.06 seconds)

  1. src/test/java/org/codelibs/fess/job/IndexExportJobTest.java

            assertTrue(indexExportJob.createFormatter("HTML") instanceof HtmlIndexExportFormatter);
            assertTrue(indexExportJob.createFormatter("Json") instanceof JsonIndexExportFormatter);
            assertTrue(indexExportJob.createFormatter("JSON") instanceof JsonIndexExportFormatter);
        }
    
        @Test
        public void test_createFormatter_unsupported() {
            try {
                indexExportJob.createFormatter("xml");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 09:08:38 GMT 2026
    - 66.1K bytes
    - Click Count (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

            return result;
        }
    
        @Override
        public boolean equals(Object other) {
            if (this == other) {
                return true;
            }
    
            if (other instanceof Restriction restriction) {
                if (lowerBound != null) {
                    if (!lowerBound.equals(restriction.lowerBound)) {
                        return false;
                    }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/skip/Skip.java

                skipNode.set("skip", skipChild);
            }
        }
    
    
        @Override
        public void transformTest(ObjectNode parent) {
            if (testName.isBlank() == false) {
                assert parent.get(testName) instanceof ArrayNode;
                addSkip((ArrayNode) parent.get(testName));
            }
        }
    
        @Override
        public String getKeyToFind() {
            return testName;
        }
    
        @Input
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 4K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ReverseOrdering.java

      public int hashCode() {
        return -forwardOrder.hashCode();
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ReverseOrdering) {
          ReverseOrdering<?> that = (ReverseOrdering<?>) object;
          return this.forwardOrder.equals(that.forwardOrder);
        }
        return false;
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb/SmbAuthExceptionTest.java

            SmbAuthException ex = new SmbAuthException(errCode);
    
            // Assert: type, message derived from code, status mapping, and no cause
            assertNotNull(ex);
            assertTrue(ex instanceof SmbException);
            assertEquals(SmbException.getMessageByCode(errCode), ex.getMessage(), "message should reflect error code mapping");
            assertEquals(expectedStatus, ex.getNtStatus(), "status should map based on code");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/DefaultArtifactHandlerManager.java

            this.typeRegistry = requireNonNull(typeRegistry, "null typeRegistry");
            this.allHandlers = new ConcurrentHashMap<>();
        }
    
        @Override
        public void onEvent(Object event) {
            if (event instanceof ExecutionEvent executionEvent) {
                if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) {
                    allHandlers.clear();
                }
            }
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

        public void deleteSearchLog(final Object e) {
            if (e instanceof final ClickLog clickLog) {
                clickLogBhv.delete(clickLog);
            } else if (e instanceof final FavoriteLog favoriteLog) {
                favoriteLogBhv.delete(favoriteLog);
            } else if (e instanceof final UserInfo userInfo) {
                userInfoBhv.delete(userInfo);
            } else if (e instanceof final SearchLog searchLog) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 32.7K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableSetMultimap.java

         * we always return a new instance with a null valueComparator, as we already do if the input is
         * empty or a partial view?
         *
         * Related: Should methods that do accept a comparator (like fromMapEntries, or like this one if
         * we were to choose to *preserve* an input comparator) return not the generic empty of()
         * instance but instead an empty ImmutableSetMultimap instance with the requested
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 19 22:57:35 GMT 2026
    - 26.1K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ImmutableEnumMap.java

        return delegate.get(key);
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object == this) {
          return true;
        }
        if (object instanceof ImmutableEnumMap) {
          object = ((ImmutableEnumMap<?, ?>) object).delegate;
        }
        return delegate.equals(object);
      }
    
      @Override
      UnmodifiableIterator<Entry<K, V>> entryIterator() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                } catch (final SmbAuthException sae) {
                    throw sae;
                } catch (final SmbException se) {
                    fp = 0L;
                }
            }
            if (file instanceof SmbNamedPipe && file.unc.startsWith("\\pipe\\")) {
                file.unc = file.unc.substring(5);
                file.send(new TransWaitNamedPipe("\\pipe" + file.unc), new TransWaitNamedPipeResponse());
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11K bytes
    - Click Count (0)
Back to Top