Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 551 - 560 of 1,610 for instanceof (0.06 seconds)

  1. src/test/java/org/codelibs/fess/entity/FessUserTest.java

                    new String[] { "perm1", "perm2" });
    
            // Verify the interface extends Serializable
            assertTrue(user instanceof java.io.Serializable);
        }
    
        @Test
        public void test_allFieldsCombination() {
            // Test with all fields populated
            String name = "complexUser";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/primitives/UnsignedLong.java

      }
    
      @Override
      public int hashCode() {
        return Long.hashCode(value);
      }
    
      @Override
      public boolean equals(@Nullable Object obj) {
        if (obj instanceof UnsignedLong) {
          UnsignedLong other = (UnsignedLong) obj;
          return value == other.value;
        }
        return false;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jun 04 13:03:16 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

                return 0;
            }
    
            @Override
            public boolean equals(Object o) {
                if (o == this) {
                    return true;
                }
                if (o == null || !(o instanceof MyKey)) {
                    return false;
                }
                return _key.equals(((MyKey) o)._key);
            }
        }
    
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 10.7K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/entity/ChatMessage.java

            }
    
            private static String toStringOrNull(final Object value) {
                if (value == null) {
                    return null;
                }
                if (value instanceof String) {
                    return (String) value;
                }
                return value.toString();
            }
    
            /**
             * Gets the source index.
             *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 04:52:31 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(WebAuthenticationService.class).getWebAuthentication(((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
    - 19.7K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/accesstoken/AdminAccesstokenAction.java

                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(AccessTokenService.class).getAccessToken(((EditForm) form).id);
                }
                break;
            default:
                break;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

            // Verify that serialVersionUID is defined
            assertTrue(fessEnv instanceof java.io.Serializable);
    
            // Test that the SimpleImpl class can be instantiated
            FessEnv.SimpleImpl newInstance = new FessEnv.SimpleImpl();
            assertNotNull(newInstance);
    
            // Verify default values work for new instance
            assertEquals("warm", newInstance.getLastaDiSmartDeployMode());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 15.6K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

              /*
               * We avoid reflecting on NullMarked because its @Target(..., MODULE) causes problems
               * under JDK 8.
               */
              if (!(a instanceof NullMarked)
                  && a.annotationType().isAnnotationPresent(TesterAnnotation.class)) {
                annotations.add(a);
              }
            }
            annotations = unmodifiableList(annotations);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 12.4K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

        for (int i = 1; i < 0x10000; i++) {
          builder.put(i, 0, "foo");
          builder.put(0, i, "bar");
        }
        assertTrue(builder.buildOrThrow() instanceof SparseImmutableTable);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/base/FessSearchAction.java

            final HttpSession session = request.getSession(false);
            if (session != null) {
                final Object resultsPerPage = session.getAttribute(Constants.RESULTS_PER_PAGE);
                if (resultsPerPage instanceof Integer) {
                    form.num = (Integer) resultsPerPage;
                }
            }
    
            // label
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 18 04:42:56 GMT 2026
    - 14K bytes
    - Click Count (0)
Back to Top