Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 1,313 for instanceof (0.2 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. guava-tests/test/com/google/common/base/FunctionsTest.java

        private int value;
    
        @Override
        public Integer get() {
          return ++value;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof CountingSupplier) {
            return this.value == ((CountingSupplier) obj).value;
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return value;
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/SuggestJobTest.java

                lastCommandList = new ArrayList<>(cmdList);
    
                if (exception instanceof RuntimeException) {
                    throw (RuntimeException) exception;
                } else if (exception instanceof InterruptedException) {
                    Thread.currentThread().interrupt();
                    throw new RuntimeException(exception);
                }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 31.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/net/InetAddresses.java

        try {
          InetAddress address = InetAddress.getByAddress(addr);
          if (scope == null) {
            return address;
          }
          checkArgument(
              address instanceof Inet6Address, "Unexpected state, scope should only appear for ipv6");
          Inet6Address v6Address = (Inet6Address) address;
          int interfaceIndex = tryParseDecimal(scope, 0, scope.length());
          if (interfaceIndex != -1) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  4. 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)
  5. 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)
  6. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/AdminDataconfigAction.java

                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(DataConfigService.class).getDataConfig(((EditForm) form).id);
                }
                break;
            default:
                break;
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 21K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

            case CrudMode.CREATE:
                final StopwordsItem entity = new StopwordsItem(0, StringUtil.EMPTY);
                return OptionalEntity.of(entity);
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(StopwordsService.class).getStopwordsItem(form.dictId, ((EditForm) form).id);
                }
                break;
            default:
                break;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/curl/CurlResponseTest.java

            CurlResponse response = new CurlResponse();
    
            try {
                response.getContentAsStream();
                fail("Expected CurlException");
            } catch (Exception e) {
                assertTrue(e instanceof CurlException);
                assertTrue(e.getMessage().contains("The content does not exist"));
            }
        }
    
        @Test
        public void testGetContentAsStreamWithContentException() {
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 17.7K bytes
    - Click Count (0)
  9. 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)
  10. 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)
Back to Top