Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 1,891 for instanceOf (0.12 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/toolchain/DefaultToolchain.java

        public boolean equals(Object obj) {
            if (obj == null) {
                return false;
            }
    
            if (this == obj) {
                return true;
            }
    
            if (obj instanceof DefaultToolchain other) {
                if (!Objects.equals(type, other.type)) {
                    return false;
                }
    
                Properties thisProvides = this.getModel().getProvides();
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/boostdoc/AdminBoostdocAction.java

                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(BoostDocumentRuleService.class).getBoostDocumentRule(((EditForm) form).id);
                }
                break;
            default:
                break;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

                    entity.setId(Base64.getUrlEncoder().encodeToString(form.name.getBytes(Constants.CHARSET_UTF_8)));
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(RoleService.class).getRole(((EditForm) form).id);
                }
                break;
            default:
                break;
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans/nt/SmbComNtCancelTest.java

                // When & Then
                InvocationTargetException exception = assertThrows(InvocationTargetException.class, () -> constructor.newInstance(null, 1));
                assertTrue(exception.getCause() instanceof NullPointerException);
            }
    
            @Test
            @DisplayName("Should work with different PID configuration")
            void testWithDifferentPidConfiguration() throws Exception {
                // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

             * flag tries to detect which use case applies to make both plugins happy.
             */
            realLocalRepo = (layout instanceof DefaultRepositoryLayout) && "local".equals(delegate.getId());
        }
    
        @Override
        public LocalRepository getRepository() {
            return repo;
        }
    
        @Override
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableBiMap.java

       *     key
       * @throws NullPointerException if any key or value in {@code map} is null
       */
      public static <K, V> ImmutableBiMap<K, V> copyOf(Map<? extends K, ? extends V> map) {
        if (map instanceof ImmutableBiMap) {
          @SuppressWarnings("unchecked") // safe since map is not writable
          ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map;
          // TODO(lowasser): if we need to make a copy of a BiMap because the
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

       * @throws NullPointerException if any key or value in {@code map} is null
       * @throws ClassCastException if any value is not an instance of the type specified by its key
       */
      public static <B, S extends B> ImmutableClassToInstanceMap<B> copyOf(
          Map<? extends Class<? extends S>, ? extends S> map) {
        if (map instanceof ImmutableClassToInstanceMap) {
          @SuppressWarnings("rawtypes") // JDT-based J2KT Java frontend does not permit the direct cast
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbSession.java

                sessionSetup(request, response);
                if (response != null && response.received) {
                    return;
                }
    
                if (request instanceof final SmbComTreeConnectAndX tcax) {
                    if (netbiosName != null && tcax.path.endsWith("\\IPC$")) {
                        /* Some pipes may require that the hostname in the tree connect
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/multichannel/ChannelManagerTest.java

                fail("Should throw exception when no channels available");
            } catch (Exception e) {
                // Expected - no channels available
                assertTrue(e instanceof ChannelLoadBalancer.NoAvailableChannelException);
            }
        }
    
        @Test
        void testRemoveChannel() throws UnknownHostException {
            InetAddress addr = InetAddress.getByName("192.168.1.100");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ComparatorsTest.java

          this.value = value;
        }
    
        @Override
        public int hashCode() {
          return value.hashCode();
        }
    
        @Override
        public boolean equals(@Nullable Object o) {
          return (o instanceof Foo) && ((Foo) o).value.equals(value);
        }
    
        @Override
        public int compareTo(Foo other) {
          return value.compareTo(other.value);
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 6.4K bytes
    - Viewed (0)
Back to top