Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 831 - 840 of 2,095 for instanceof (0.07 seconds)

  1. src/main/java/jcifs/smb/Kerb5Authenticator.java

         *
         * @see jcifs.smb.NtlmPasswordAuthenticator#equals(java.lang.Object)
         */
        @Override
        public boolean equals(Object other) {
            // this method is called from SmbSession
            if (other instanceof Kerb5Authenticator) {
                return Objects.equals(this.getSubject(), ((Kerb5Authenticator) other).getSubject());
            }
    
            return false;
        }
    
        /**
         * {@inheritDoc}
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 13.2K bytes
    - Click Count (0)
  2. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            return artifactMap;
        }
    
        @Override
        public boolean equals(Object object) {
            if (this == object) {
                return true;
            }
    
            return object instanceof PluginDescriptor pluginDescriptor && getId().equals(pluginDescriptor.getId());
        }
    
        @Override
        public int hashCode() {
            return 10 + getId().hashCode();
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/SortedLists.java

          KeyAbsentBehavior absentBehavior) {
        checkNotNull(comparator);
        checkNotNull(list);
        checkNotNull(presentBehavior);
        checkNotNull(absentBehavior);
        if (!(list instanceof RandomAccess)) {
          list = new ArrayList<>(list);
        }
        // TODO(lowasser): benchmark when it's best to do a linear search
    
        int lower = 0;
        int upper = list.size() - 1;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponseTest.java

            @DisplayName("Should initialize DfsReferralResponseBuffer")
            void testDfsResponseBufferInitialization() {
                assertNotNull(response.getDfsResponse());
                assertTrue(response.getDfsResponse() instanceof DfsReferralResponseBuffer);
            }
    
            @Test
            @DisplayName("Should throw NullPointerException with null configuration")
            void testConstructorWithNullConfig() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.4K 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/test/java/org/codelibs/curl/io/IOIntegrationTest.java

            req.execute(response -> fail("Should not succeed"), e -> receivedException.set(e));
    
            // ## Assert ##
            assertNotNull(receivedException.get());
            assertTrue(receivedException.get() instanceof CurlException);
            assertTrue(receivedException.get().getMessage().contains("Failed to access"));
        }
    
        // --- URL parameter concatenation tests ---
    
        /**
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 12:00:34 GMT 2026
    - 44.1K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

      public void testValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertThat(map.values() instanceof Set).isFalse();
        assertThat(map.values().removeAll(ImmutableSet.of("bar"))).isTrue();
        assertThat(map).hasSize(1);
      }
    
      public void testCopyEntry_computing() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/cache/LocalCacheTest.java

      public void testValues() {
        LocalCache<Object, Object> map = makeLocalCache(createCacheBuilder());
        map.put("foo", "bar");
        map.put("baz", "bar");
        map.put("quux", "quux");
        assertThat(map.values() instanceof Set).isFalse();
        assertThat(map.values().removeAll(ImmutableSet.of("bar"))).isTrue();
        assertThat(map).hasSize(1);
      }
    
      public void testComputeIfAbsent_removalListener() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 116.4K bytes
    - Click Count (0)
  9. src/main/java/jcifs/netbios/NbtAddress.java

         * is based on the integer IP address and not the string representation.
         */
    
        @Override
        public boolean equals(final Object obj) {
            return obj instanceof NbtAddress && ((NbtAddress) obj).address == this.address;
        }
    
        /**
         * Returns the {@link java.lang.String} representaion of this address.
         */
    
        @Override
        public String toString() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  10. 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)
Back to Top