Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 871 - 880 of 2,095 for instanceof (0.27 seconds)

  1. src/main/java/org/codelibs/fess/app/web/admin/scheduler/AdminSchedulerAction.java

                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(ScheduledJobService.class).getScheduledJob(((EditForm) form).id);
                }
                break;
            default:
                break;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 21.8K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/dict/stemmeroverride/AdminDictStemmeroverrideAction.java

                final StemmerOverrideItem entity = new StemmerOverrideItem(0, StringUtil.EMPTY, StringUtil.EMPTY);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(StemmerOverrideService.class).getStemmerOverrideItem(form.dictId, ((EditForm) form).id);
                }
                break;
            default:
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CloseRequestTest.java

        @Test
        @DisplayName("Test request implements RequestWithFileId interface correctly")
        void testRequestWithFileIdInterface() {
            // Verify the class implements RequestWithFileId
            assertTrue(request instanceof jcifs.internal.smb2.RequestWithFileId);
    
            // Test interface method
            byte[] newFileId = new byte[16];
            Arrays.fill(newFileId, (byte) 0x42);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Ordering.java

     *         .onResultOf(getBarFunction)
     *         .nullsLast();
     * }
     *
     * Note that each chaining method returns a new ordering instance which is backed by the previous
     * instance, but has the chance to act on values <i>before</i> handing off to that backing instance.
     * As a result, it usually helps to read chained ordering expressions <i>backwards</i>. For example,
     * when {@code compare} is called on the above ordering:
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 39.4K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

        assertThrows(IndexOutOfBoundsException.class, () -> iia3.subArray(1, 4));
      }
    
      /*
       * Whenever an implementation uses `instanceof` on a parameter instance, the test has to know that
       * (so much for "black box") and try instances that both do and don't pass the check. The "don't"
       * half of that is more awkward to arrange...
       */
      private static <T> Iterable<T> iterable(Collection<T> collection) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/maintenance/AdminMaintenanceAction.java

         * @param id the diagnostic ID for organizing files in the ZIP
         */
        protected void writeFessConfig(final ZipOutputStream zos, final String id) {
            if (fessConfig instanceof SimpleImpl) {
                final Properties prop = new Properties();
                ((SimpleImpl) fessConfig).keySet().stream().forEach(k -> prop.setProperty(k, fessConfig.get(k)));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 23K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                }
                final Object trackTotalHitsValue = fessConfig.getQueryTrackTotalHitsValue();
                if (trackTotalHitsValue instanceof Boolean) {
                    searchRequestBuilder.setTrackTotalHits((Boolean) trackTotalHitsValue);
                } else if (trackTotalHitsValue instanceof Number) {
                    searchRequestBuilder.setTrackTotalHitsUpTo(((Number) trackTotalHitsValue).intValue());
                }
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
  8. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      final boolean graphIsMutable() {
        return graphAsMutableGraph != null;
      }
    
      @Before
      public final void init() {
        graph = createGraph();
        if (graph instanceof MutableGraph) {
          graphAsMutableGraph = (MutableGraph<Integer>) graph;
        }
      }
    
      @After
      public final void validateGraphState() {
        validateGraph(graph);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 07 15:57:03 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

        @DisplayName("Test inheritance from SmbComTransaction")
        void testInheritance() {
            netServerEnum2 = new NetServerEnum2(realConfig, "DOMAIN", NetServerEnum2.SV_TYPE_ALL);
    
            assertTrue(netServerEnum2 instanceof SmbComTransaction);
    
            // Test inherited getSubCommand method
            byte subCommand = netServerEnum2.getSubCommand();
            assertEquals(SmbComTransaction.NET_SERVER_ENUM2, subCommand);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  10. src/test/java/jcifs/config/DelegatingConfigurationTest.java

        }
    
        @Test
        @DisplayName("DelegatingConfiguration should implement Configuration interface")
        void testInterfaceImplementation() {
            // Then
            assertTrue(delegatingConfig instanceof Configuration, "DelegatingConfiguration should implement Configuration interface");
        }
    
        @Test
        @DisplayName("Delegation should work with different delegate implementations")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.7K bytes
    - Click Count (0)
Back to Top